Home Forums Free Themes WEN Associate Boxes at bottom of excerpt?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1241
    leeswilson
    Participant

    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.

    #1243
    wensolutions
    Keymaster

    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,

    #1259
    leeswilson
    Participant

    Why are the “Leave A Comment” boxes showing if I’ve disabled comments?

    #1263
    wensolutions
    Keymaster

    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,

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.