Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2504

    Hi,

    In the Amplify theme index.php there is a div with a class of “content_right”. Within that div are “latest blog”, “latest comments” & “most popular links”.

    How can I stop a particular Category of post from showing up in the latest blog list?

    Any help is much appreciated.

    #38240

    Hey,

    You need to edit the query paramaters in functions.php. Open it up and find this code (around line 275):

    $query = 'showposts='.$this->showposts;

    Change it to:

    $query = 'showposts='.$this->showposts;
    $query .= '&cat=-1';

    which will exclude posts in the category with the ID of 1. Bear in mind that if you added the categories with the ID’s of 1 and 2 to a post, it would still show up (because Category 2 is not excluded).

    James

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Amplify – How to remove a catogry from latest blog’ is closed to new replies.