I have removed subcategory from category pages and displaying trending now there

Posted in: Newsmag
Post count: 43

I have removed subcategory from category pages and displaying trending now there. When i’m going on second page then trending now is also displayed how to remove it and make it like latest articles in home page. http://www.screencast.com/t/DlDtdLe1I3 http://www.screencast.com/t/GAmk7Kqm

Post count: 6600

Hi,

Here is how the big grid is set to be displayed only on the first page: http://screencast.com/t/EETAj8Q7vioF
You can use the same method and add a condition for the ticker to be displayed only on the first page.

Thanks

Post count: 43

I can understand but i don’t know where to add form trending now ticker. Please provide me the place where i have to add this.

Thank You & Have a Nice Day!

Post count: 6600

Hi,

You need this for the ticker so you have to add it where the code for the ticker is in the page-category-big-grid.php file.

Thanks

Post count: 7909

Hi,

You can add condition for the ticker to be displayed only on the first page like this: http://screencast.com/t/c7rJEjRz

if($paged < 2) { echo do_shortcode('[td_block_trending_now limit="5"]'); }

Thanks!

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