You mean you want to make a page and show posts of your fashion category in it?
Sure, it’s easy. Assuming that the ID of your fashion category is 123, you can try this:
$args = array(
'posts_per_page' => 10,
'cat' => '123',
);
$fashion_query = new WP_Query($args);
if ( $fashion_query->have_posts() ) {
while ( $fashion_query->have_posts() ) : the_post();
the_content();
endwhile;
}
wp_reset_query();
Make a PHP file of a page you like, then copy the code above wherever you want in your page template.
Related Posts:
- Can I hide a specific post from latest posts page?
- How to show post(excerpt) from specific category on wp page?
- Can I divide the pages into categories?
- Should I use posts or pages in this scenario?
- post categories
- Post categories to pages
- How to create a “latest news” page showing a list of posts from blog category
- Having pages after specifying post_type post
- Are post, page and category IDs unique to each other?
- posts going to 2 pages/categories only show up in 1
- How can I add a page that shows posts from a single category?
- Different post views for different category views
- Automatic duplicate/copy of post to a related page in WordPress
- Yoast breadcrumb URL shows category instead of the page
- How to distinguish pages created by woocommerce?
- How to add a block to a category page?
- Page with Category Returning 1
- Post Category link is same with Page link
- Precedence of page permalinks over woocommerce product category links?
- Show only top 3 posts from 3 categories in order on home page
- Displaying only posts from a certain category on my custom page template
- I need to create a page or post hierarchy
- how to style an individual page in a category [duplicate]
- CSS – Change height of Storefront / WooCommerce product categories, but not products
- wordpress category Description not allowed tag
- How to get the number of posts in a selected category?
- how to limit edit_form_after_title hook to page and post edit only?
- Show related posts by category but ignore one category
- Create custom page in WooCommerce
- Change WordPress post-state in Admin Area
- how to show all post in my page-grid.php template page
- eBooks download website, page or post?
- Add custom field to category of custom post type
- WordPress – Admin Manage Posts – Multiple Filters by Parent Category
- Custom Theme Want To Remove One Category From All Displays
- How To Keep Posts from Being Displayed Two or More Times on My Homepage? [closed]
- How to set up multiple taxonomies for groups of posts
- How to display category from recent posts?
- How do I get blog posts to appear within CMS?
- Duplicate posts and change category
- Drag posts and pages so you can sort them in order
- Category Foreach keeps looping?
- display a random post thumbnail from a random category
- how to show single post in a custom template
- Using wp_list_pages() after calling query_posts()
- Multiple Loops Breaking Pages
- Limit the number of posts a category can have – newest post goes in, oldest one drops out, possible? plugin?
- Proper way of establishing custom landing pages in WordPress
- Admin – no Featured image choice in create new/page|post
- How do I show posts from another wordpress installation?
- Why won’t pagination work?
- How do I include the category next to the title of a post?
- How to show a custom taxonomy in the theme?
- How to import nested categories from XML file?
- Migrate posts from category and sub-category via SQL
- Display post number by category
- Output Post with ACF Fields into other Post
- How to get post with slug and exclude categories
- List all posts, pages and custom post types in admin
- Static pages not working
- Create a frontpage.php and static page template
- How to show next/prev link, when it’s not active?
- Prevent 404 of Author pages without posts
- Categories Listing and Highlighting current category item
- Cannot publish posts, but can create new pages
- Making a new post visible on a specific page
- Can I restore restore content from old Worpress site to a new Worpress site from an archive
- Display hierarchical categories/sub-categories for a single post only
- Custom Fields – How to get the list of a specific active widget each time it rendered
- Google indexing duplicate page content with Page #### in post title and /page-2 in permalink instead of the ones I set
- Why do I have categories with duplicate slugs?
- Display all tags even if they are not assigned to a post
- Very weird behaviour after removing WP pages
- Category URL to use same string as Post URL Permalink
- Posts on Sidebar only
- Is it possible to remove actual post pages in wordpress but keep them in categories
- List Authors For Current Category
- Add custom class to existing menu items from custom meta
- Allow users to create their own page/s
- some posts being displayed as pages
- Assign specific ads to specific categories/posts
- find posts with exactly 3/4 categories
- Make Show Notes for Individual Podcast Episodes Easy to Find (multiple URL’s?)
- Get part of a page url
- can’t post immediately
- WP_Query: Fetch posts that are in (category1 and not in category2), OR posts that are not in cagegory1
- Add default content to post (for specific category)
- Where are my posts linked to? I keep getting a Not Found Error, and I have no single.php page
- Multiple blog “feeds” in a single blog each with distinctly styled post pages
- Custom post page has attributes of latest post [closed]
- WordPress “Posts Page” isn’t showing template dropdown
- Adding Count Post in Page
- Post’s arent displaying
- Show with echo if a post has two or more categories
- How to have 2 posting pages on a blog
- How can I get on the same row two post of different categories?
- change page name on page list
- 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