• Resolved jackhuangstar

    (@jackhuangstar)


    Hi, in the default recent post widget, the comments display.

    I want to remove it.

    But I can’t find the template file for this widget.

    Could you please tell me where is the code locates? Thanks.

    Jack

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • AddWeb Solution

    (@addweb-solution-pvt-ltd)

    Hello jackhuangstar,

    Follow below steps.

    1. Login as admin and go to theme customizer from dashboard or from admin topbar.

    Screen Shot

    2. Navigate to Blog option.

    Screen Shot

    3. Navigate to Single Post option.

    Screen Shot

    4. Go to Elements Positioning and click on eye icon in Releted Posts option to disable to showing related posts.

    Screen Shot

    Hope this will helps you.

    Thanks.

    Theme Author oceanwp

    (@oceanwp)

    Hello @addweb-solution-pvt-ltd, I think what Jack mean is to remove the comments in the Recent Post widget ??

    Hi @jackhuangstar, try this css code:

    .oceanwp-recent-posts .recent-posts-info .sep, .oceanwp-recent-posts .recent-posts-comments {
        display: none;
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘recent post widget php file’ is closed to new replies.