John Davidson

php - HOw to remove the comments section from WP Job Manager Resumes?

0 comments
Message:


I'm using WP Job Manager plugin with the resumes extension.
The problem I am having is that on the bottom of the resumes pages there is a "comments" section which I do not want there. Please see: https://prnt.sc/10g7c2m


Under the WordPress settings>discussion menu, the checkbox for "Allow people to submit comments on new posts" is unchecked. Pls see: https://prnt.sc/10g78rf


I am also using the super socializer plugin and I have unchecked the "enable social commenting" checkbox, pls see: https://prnt.sc/10g7ctp


I have also deleted code in functions.php file which may have been causing this but the comments section is still there.


Does anybody know what may be causing this and how I can get rid of it pls?


Thank you,



My Answer:
To remove the comments section from WP Job Manager Resumes, you can try the following steps:

1. Go to your WordPress dashboard and navigate to the WP Job Manager settings.
2. Look for an option related to comments or discussion settings for resumes.
3. Disable or turn off any options that allow comments on resumes.
4. Save your changes and refresh the resumes page to see if the comments section has been removed.

If the above steps do not work, you can try adding the following code to your theme's functions.php file to disable comments on resumes:

php
function remove_comments_from_resumes() {
remove_post_type_support( 'resume', 'comments' );
}
add_action( 'init', 'remove_comments_from_resumes' );


This code will remove the comments support for the 'resume' post type, which should remove the comments section from the resumes pages.

After adding the code, refresh the resumes page to see if the comments section has been removed. If you are still facing issues, you may need to reach out to the WP Job Manager support team for further assistance.

Rate this post

5 of 5 based on 4804 votes

Comments




© 2024 Hayatsk.info - Personal Blogs Platform. All Rights Reserved.
Create blog  |  Privacy Policy  |  Terms & Conditions  |  Contact Us