# Help with displaying all post categories on my blog page?

**URL:** https://forum.pinegrow.com/t/help-with-displaying-all-post-categories-on-my-blog-page/7957
**Category:** WordPress
**Tags:** wordpress
**Created:** [April 24, 2023, 2:29am UTC](https://forum.pinegrow.com/t/help-with-displaying-all-post-categories-on-my-blog-page/7957 "2023-04-24T02:29:13Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![bharrigan](https://avatars.discourse-cdn.com/v4/letter/b/f07891/32.png) [@bharrigan](https://forum.pinegrow.com/u/bharrigan)
#### Post date: [April 24, 2023, 2:29am UTC](https://forum.pinegrow.com/t/help-with-displaying-all-post-categories-on-my-blog-page/7957/1 "2023-04-24T02:29:13Z")

</div>

I realize this is likely a very basic question, and I apologize for that. I’m very new and am trying to teach myself everything (with a tremendous help from Adam Lowe’s youtube videos).

I’m trying to display all of the parent categories for my blog posts on the home.php page. The following code, however, will only display the categories for the posts appearing _on that page_. The page is set up to display 6 posts. If I click on the next page, I will see brand new categories at the top for the categories of the posts appearing on that page. I want _all_ categories to display, but can’t figure it out.

Here’s the relevant code for the category buttons I’m trying to create at the top of the page. It’s wrapped in an anchor, which I replaced with two dots for the purpose of displaying it without the formatting getting screwed up:

\<… href=“#” class=“btn btn-outline-primary” data-pg-name=“Category Button” cms-tags=“category” cms-tags-display=“this”\>{term\_name}\</…\>

I used the “Post Tags & Categories - Smart” wordpress action to create this.

---

<div class="post-metadata">

### Author: ![jonroc](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/jonroc/32/2805_2.png) [@jonroc](https://forum.pinegrow.com/u/jonroc)
#### Post date: [April 24, 2023, 3:07pm UTC](https://forum.pinegrow.com/t/help-with-displaying-all-post-categories-on-my-blog-page/7957/2 "2023-04-24T15:07:53Z")

</div>

Hello!

Try to use “Site Tags & Categories” instead of “Post Tags & Categories”.  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/d/d4f7cef13d2b0c140f0078df1033afc0c4e5b901.png)

Best regards,
