How to display text on category page (only on the first page)
-
Hey Guys,
i need some help displaying a text only on the first page of my categories.
Example URL First Page, where my text should be displayed:
https://www.sitename.com/category/cat1Examples for other URL’s wehre the text should NOT be displayed.
https://www.sitename.com/category/cat1/page/2
https://www.sitename.com/category/cat1/page/3
https://www.sitename.com/category/cat1/page/…I tried several things like
-> is_category ( ‘cat1’ )
but that does not work. The text shows up at the cat1 main page, and the …cat1/page/1+ pages.I know there is a very simple way to reach the targeted scenario but i dont know how.
If anybody could give me a hint how to exclude the other pages, it would be great!
- The topic ‘How to display text on category page (only on the first page)’ is closed to new replies.