You can you just simply put this code into your singl.php
foreach((get_the_category()) as $category)
{
echo $category->cat_name . ' ';
}
Related Posts:
- Using wp_category_checklist in a widget
- How to remove the parentheses from the category widget
- How to create a widgetized sidebar for every category dynamically?
- Customizing Default Categories Widget
- Display all posts with same title
- I want to create a posts widget and be able to select categories
- How to have Multiple Archives Widgets, one archive widget per category (in a different page)?
- Categories lose hierarchy order once assigned to post
- Add Icons to the Product Category Sidebar Widget WooCommerce
- How to display widgets inside a page content without a plugin?
- How do you categorize pages?
- WordPress category widget only show categories with children
- Customize WordPress widget – Product Category
- Post Count for Categories, however not to calculate a total
- How do I make the category sidebar widget (stock) display the total # of posts including those in subcategories?
- Categories widget show empty?
- Is it possible to remove from default category widget?
- how to remove the default title of Categories widget
- How to show 5 posts from specific category on related page?
- display a widget on specific category and its sub categories
- Multiple selection for wordpress widget
- How to not display subcategories in Recent Posts widget area?
- How to Sync Menu, Widgets and other masters from Main Website to its Sub Site
- Tags Instead of Category
- How to hide widget from certain category
- Last x Posted Categories?
- WordPress category filters as subcategories
- exclude certain categories form archive widget
- Conditional widget for theme template file
- Add filter for specific category only
- Exclude a category from block editor’s category widget
- How to Change Sort Order of default WordPress Catgory Widgets?
- How to add an “All” category to the tag cloud?
- Custom file with special code of category widget
- in_category(‘category-sluga’) returns true for Archive page of Category ‘category-slugb’
- Problem with single posts not showing correct category sidebar
- How To Disable Category Hierarchy In Categories Widget?
- single category widget with conditional terms
- Customize category query in widget
- Hook when category is added to post
- get_categories for custom post type with a specific custom taxonomy attached
- Exclude categories from Loop, queries, widgets, post navigation
- how to use a different domain/subdomain for authors/catagories on single site?
- WordPress 1 domain multiple blogs
- One WordPress Install, Two Categories. Each Category Gets a Domain
- Name of last category level for a post
- How to add style to category link?
- WordPress Ordering Problem. How to fix ordering 1-10-100 issue?
- how to show posts of category random by session
- Filtering search results
- WooCommerce change category url and product base
- How can we get Catergory / Term Creator
- Seperate WordPress catagories into sepeat list on seperate pages
- Redirect category to first available child post
- How to get product count with respect to categories in WooComerce
- Display WordPress Parent Categories Only?
- Assign automatically and manually modify category
- previous/next_post_link in the same sub-category?
- get_categories() returns “Uncategorised”
- How to show WordPress parent and child category using a different template?
- How can I get categories IDs if multiple categories requested via URI?
- display posts from specific category on a page , in thematic child theme?
- Latest comments from each category?
- custom post type category link redirects to index
- Categorie parents and childs displayed
- Can Categories be used to hack a Multisite-like setup w/ a single MySql db?
- Why do I have stray bullet from
- Display random categories
- Link To Child Category For A Post
- List a maximum of ‘x’ product categories with qty of ‘y’ in each column
- Post Query not working
- How can i change what one category displays?
- How do I change the category permalink structure?
- How to remove the tilte “category:category name”?
- How to display post in custom file not in archive file?
- why category__and and category__in wont work togather?
- Setting the Primary Category for a Post Based on Context
- Show the number of the post
- Automatically adding tags and categories into Post Excerpt for searching
- Allow Custom Role to edit a custom post type category
- How to check parent & child category
- Shop Category Pages missing s
- How can I display categories on different pages
- custom browse by
- Use different file includes for single.php
- How to get related category/categories in WordPress archive page
- Conditions for single post
- Pages with posts filtered by category
- how to get number of posts in a category on a specific date
- How to add all categories into an array and extract the categories names and use it with a custom meta box
- Query posts that have all the specified tags
- How can I show page per category in wordpress? (Yes, category by page!)
- WooCommerce Product Search Error
- Why does my category page display “posted on…” when all I want it to do is display categories?
- Post list category plugin alphabetical order [closed]
- Remove “All categories” from searchbar dropdown
- Get categories by title descendant
- Hide categories from authors
- Update/change category of a post when it’s been inactive for a certain number of days
- wordpress category rewrite rule with pagination