badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Showing only certain categor(y/ies) in blogpost pages

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4991
    imsal
    Participant

    If I understand correctly there is no way to restrict the post categories in pages using one of the blog templates (Blog Image Medium, Blog Image Large etc.). I guess a work around would be to create menu item to one of the categories, which would display posts only belonging to that category. My question is what template does it use, the page that comes up when you make a link to a category? I would very like it to be Blog Image Medium, but I don’t which one it is using.

    #5097
    Sanjip Shah
    Participant

    @imsal The function responsible to show the category is attitude_theloop_for_archive. Find this function and copy this function in the functions.php file of the child theme and make you changes there. This is the best approach.

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