Category pages or archives? If you’re a little more specific you will probably get multiple ideas, but in general, if you’ve got a loop you can use one of the two following functions:
<?php the_excerpt(); ?>
will show the custom or default excerpt for the post<?php the_content('Read More »'); ?>
will show the full post with a “Read More” link employed if you’ve used<!-- more-->
in your post to show only part of the post on aggregate templates
If you are looking for simple functions for your templates to display content, you should probably read up on the WordPress codex.
Related Posts:
- WordPress Multisite – global categories
- Get posts from sites in Multisite?
- Retrieve Product category ‘NAME’ by product category ID – WooCommerce?
- Can’t custom taxonomies have same terms (slugs) as categories?
- Using wp_category_checklist in a widget
- Filter front page posts by category
- How to get the url to tag & category base set by the user?
- Exclude one category from get_the_term_list
- WordPress remove separator from last item in wp_list_categories
- Filter categories using tags
- Need help adding custom field to category
- How to Include the Parent and Child Category in the Permalink if the Post is Added to Both
- How to display a list of categories
- Root level category, tag, author and archive pages to work
- Number of posts in page – set per category and exclude sidebar
- Create single.php for specific category by category id
- is_category in pre_get_posts results in php notices
- Use get_term_children to get the sub category of a parent category for the current post
- How to make all posts in a category “unsticky”?
- How do I get the total number of categories in a list of search results?
- Get a variable from object in array [closed]
- How to stop wordpress from showing the selected category on top of others in the category selection?
- advanced custom field Show field in special categry page [closed]
- Exclude Child Categories Using wp_list_categories
- a-z list, categories and sub categories in loop
- Category slug $_SERVER[‘REQUEST_URI’];
- wp_dropdown_categories and custom taxonomy + custom post type
- How do I get a list of all categories that a given user has written blog posts for?
- Arrange posts by date in front page
- Linking products to categories
- How to remove “Category : …”
- “Categories” on my front page [closed]
- Warning: sizeof (): Parameter must be an array or an object that implements Countable, On products pages
- Add “page-a” slug to category link if user visit category link from “page-a”
- create a page which displays a list of categories title+ short description?
- How to call custom category field data in theme?
- Query Posts Exclude Entire Category
- Hide woocommerce category name from specific pages
- select parent category first then child
- WordPress category widget only show categories with children
- How to exclude children categories of parent category
- Menus don’t work after 4.4 [closed]
- Custom post and category template pagination problem
- Multiple category selection in post, shows less important category in breadcrumb
- I want to display the all the posts that are inside a certain subcategory
- How to list all categories in three divs dynamically based on the quatity of categories?
- Grouping categories by genre
- how to “not” display new posts with a specific category on the main page?
- Category template with pagination returns 404 on next pages
- Display custom taxonomy attached to the post on post single page
- How to display numbered pages in a category
- How can I add an “ALL CATEGORIES” entry in wp_dropdown_categories?
- show all WordPress categories in a page
- Ive got a term (get_term_by) but now I want to filter it by a category it is in?
- Get and show all of the available categories
- how to remove the default title of Categories widget
- Recent post by custom select query
- Having a template per category? Bad for server overhead?
- Add custom code at start and end of all posts in a category
- How to get posts by category at /%category%/ url?
- Group search results by category
- Custom row actions on a specific category
- WordPress monthly archive category specific
- Show multiple categories in query using redux framework variable
- Add multiple orderby with pre get posts
- new WP_Query issues
- Is custom menu name and category name linked in wordpress?
- Related Post by category, but not current category child
- Displaying posts of given category
- Location Based Permalink
- get list of category from a specific post with get_term()
- How to show given products only using product id array from specific category page in woocommerce
- Ordering terms whilst in loop
- How to remove an item from a custom Walker_Nav_Menu
- Pass WordPress variable to the next page
- display number of posts by category Shortcode
- How can I list all slugs categories?
- Remove base category gives 404 error
- Woocommerce product catalog, products with different description
- How can I add metaboxs to Admin Bar?
- How to add Pagination to foreach loop to page
- get_terms sort order with child categories of varying depth
- Split posts into 2 separate streams
- Getting Post Tags From Certain Categories
- How to get posts from many categories using WP_Query
- WordPress pagination not working because of subcategory
- Category slug in in loop always the same?
- Displaying posts by year
- How to get the post of category
- Logic for Nearby places with post and categories
- Display categories and their IDs
- WordPress a template for subcategories fo a given category, but not for root category
- Image menu showing categories in page
- Is it possible to know which category page the post was linked from?
- Category Archives: Show posts categorized in parent category only
- Customize category query in widget
- Page permalink rewrite
- Broken category styling
- Trying to WP_Query a category
- Woocommerce Force the category choice before creating new product? [duplicate]