- This topic has 3 replies, 2 voices, and was last updated 8 years, 9 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forums › Free Themes › WEN Associate › Boxes at bottom of excerpt?
There are these boxes at the bottom of the excerpts on my home page (http://nettrafficacademy.com). They list the category of the post and one says “comments.” I’d like to remove them. Would someone please tell me how to do that? Thanks.
Hello @leeswilson,
I have seen your screenshot and there is way to remove those boxes of category and comment you are taking about.
But you need to create child theme for that. To know how to create child theme reference link can be: https://codex.wordpress.org/Child_Themes
After successfully creating and activating child theme.Now you need to add below code in child theme’s functions.php file.
function wen_associate_entry_footer() {
edit_post_link( __( 'Edit', 'wen-associate' ), '<span class="edit-link">', '</span>' );
}
Hope this solves your issue.
Regards,
Why are the “Leave A Comment” boxes showing if I’ve disabled comments?
Hello @leeswilson,
Hope your are doing well.
Actually, “Leave a comment” box can be disabled by the backend for individual posts. For that, just uncheck the checkbox that says “Allow comments” in the post edit screen and it will disable comments for that particular post. However, if you want to disable ‘categories’ name as well as ‘Leave a comment’ for all of the posts then you can do as suggested above and that is : create a child theme, activate it and just put the above codes in ‘functions.php’ of the child theme.
Best regards,
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |