get_query_var('paged')
will show you pagination information. The code below will show only on first page of archive
if(get_query_var('paged') == 1){
//run extra code
}
Related Posts:
- Use template of parent category for single post sub-categories
- How only display all post related to category
- Different template for posts of all subcategories of category
- How can I hide tags on a child-category page, if that tag has not been used?
- How do I stop the loop from repeating in my category template?
- Give posts a particular template based on the assigned category
- Need help with hiding an image within a post in a category
- Display the first post’s comments of category in comments.php template
- how to style an individual page in a category [duplicate]
- excerpt in template for specific page
- Including categories in search results
- Post/Page Preview Template
- Count how many posts in category
- Custom Single Post By Category
- Convert custom fields to post categories
- Query posts from current year
- Forcing oembeds to top of post
- Show One Category on Post
- custom single.php not working
- Do I use custom post type or something else?
- What Defines What Category A Post Picks (if in multiple)
- Limit function to specific post category
- Show all post titles
- Add Category name to Post Title (h1)
- Posts are not showing up on particular category
- How to display related posts by subcategory and not parent category
- Edit custom post type admin menu link
- How to display WordPress archive into three columns [closed]
- Get mixed category random posts
- Using wp_list_categories like the the_category (showing just current categories of a post)
- Should I use posts or pages in this scenario?
- Using custom post template
- What is the filter or hook to add admin controls to posts on the front end?
- How to allow users to post only in certain category and hide elements from edit page?
- Switch to page template when using post permalink
- Genesis + Ajax + Jquery | Failling to call action
- Need help with category listing!
- Prepending %category% onto default posts fails
- List all categories with featured image from post?
- Get Page ID of blog homepage
- How to make the first post in the loop be styled like a “new / featured” post?
- How can you display all sibling categories to a post?
- Category page when using static front page
- How to create a “latest news” page showing a list of posts from blog category
- how to hide empty fields of post category description?
- why str_replace targeting pages instead just targeting post?
- How to have more than one page for your posts if you have 8 posts but can store max 4 on a page
- Extract wordpress posts content and category content
- All categories displays the same posts
- Having pages after specifying post_type post
- How to set a certain Custom Template to a Single Blog Post
- Get latest post from categories
- Conditional css for custom post type
- List all native posts in template page?
- Sidebar on single.php not showing up
- How to Featured content with images in home page?
- How to show a featured image inside a post in only 1 single category
- posts going to 2 pages/categories only show up in 1
- Highlighting Current Category in the Archive and Feeds page
- Get current taxonomy and display query accordingly
- Geting error in post and category [closed]
- Display most recent posts in category with Twenty Ten theme widget
- Display a specific category in a focused area of my site
- Post not using taxonomy template
- Does having category name in permalinks affect SEO when having a post in multiple categories?
- How to 301 redirect from url with post id to permalink with post name (slug)?
- Create/Set Category as Title of Post
- How to display related post from same category in single.php
- Save All Post Permalink From A Specific Category into a .txt file
- show image gallery in archives or category page
- Page with Category Returning 1
- How to Display Most View Post in the template file?
- get current index of post content in category page
- Allow registering user to select post category when signing up to blog
- Get 5 most recent categories
- Dynamically load posts based on category
- Get Categories & Posts With Type Article
- Use special template for the first post in the loop
- Set multi posts random categories and tags
- Add new post only in assigned category
- Changing the Category for all posts of an Author
- How to change post template via url?
- Admin Post List Only Show One Category
- Add category attribute to custom recent post shortcode
- Same sidebar in all posts as in the category
- How do I list categories and the common categories for posts beneath those categories?
- Latest Posts not in the right order
- Retrieve latest post by multiple categories with ID
- How to Include a common category in a custom Category Search
- How to display only one post on first category page and rest on next pages?
- Redirecting posts in WordPress to a specific page
- Viewing category won’t show up Custom post type posts
- Show Title/Date/Excerpt of first post & only Title for rest in Query [duplicate]
- Listing category and its posts one by one
- Print out one of 2 post category [closed]
- How to get if category has posts?
- Show some texts in posts belonging to Specific category
- Sort Posts Alphabetically Based on Specific Category (Divi)
- I have a website issue I am trying to resolve
- How to sort posts alphabetically based on a specific parent category