You can create a Page template in which display all posts with your custom markup.
<?php
/**
* Template Name: My Custom Blog
*
*/
// The Query
$args = array('posts_per_page'=>-1);
$the_query = new WP_Query( $args );
// The Loop
if ( $the_query->have_posts() ) {
echo '<ul>';
while ( $the_query->have_posts() ) {
$the_query->the_post();
echo '<li>' . get_the_title() . '</li>';
}
echo '</ul>';
} else {
// no posts found
}
/* Restore original Post Data */
wp_reset_postdata();
?>
Name this page as: “page-custom_blog.php”
After, just publish a new page assigning this template.
Hope it helps.
https://developer.wordpress.org/themes/template-files-section/page-template-files/page-templates/
Related Posts:
- Single.php – Get Current Parent Category
- Un-highlight Blog Menu Item when Category Menu Item is Selected
- Exclude post category in a blog page
- How can I create a ‘sub-blog’ which has its own sidebar on individual posts?
- Get posts from category from custom query
- Including categories in search results
- Different post sort order within different categories
- How to add metabox for post of specific category
- How to get Category Id from Post Id ?
- Query posts from current year
- Exclude category on blog list page
- Single Post Gallery Using Shortcode
- How to choose a sort order (for posts) per category? (ideally when creating a new category)
- WordPress Child Category Display All Posts
- Limit function to specific post category
- Side by side blog posts that are tied together
- Show all post titles
- How to show a full post, not just an excerpt
- Posts are not showing up on particular category
- Display posts in alphabetical order for a particular category
- How to make search for the custom post type?
- How to display related posts by subcategory and not parent category
- How to automatically apply a category based on the post title?
- Direct link to “New post” in specific category?
- Extracting post categories
- Displaying Latest Posts on a Page
- Using permalinks, category slugs, and tag slugs
- How can i display gallery shortcode output under Post text
- How to limit posts by category
- WP Bakery Load More Button loads the same posts
- How do I retrieve then print the currently viewed sub categories?
- Get attachments for posts that belongs to a specific category
- Posting blog entries in screenplay format
- How can I setup a relationship using categories in WordPress?
- Related posts by category not working right
- How to list recent posts in a wp nav menu?
- Listing Specific Categories from Current Post with Depth
- How to Mysql select a list of posts with meta_values AND all relevant categories?
- get_the_category listing in hierarchial order
- why does wordpress ignore the post args?
- Sort by last word in title
- How to call posts under a specific category on static front page?
- How to get the latest URL of my blog?
- Give posts a particular template based on the assigned category
- Show posts on front page only
- Post-Archive like a page in a specific subdirectory
- Post is in descendant category not working in home.php
- Where is the “Posts”/”Blog” template?
- How to get posts ordered by using their categories?
- Hide parts of the post content after typing it’s name or searching it by category
- SQL Bulk Move old posts by one author to another category
- How to display only one category in a custom post type?
- load more posts by category
- Get only X number of categories
- Display Related Posts by Category in Random
- How to show beneath posts the full category path?
- How to separate each individual blog post?
- latest post showing up twice on posts page
- wp_list_categories() Exclude All Categories Except One
- Different post views for different category views
- Possible?! A contextually titled back link
- Display Current Posts Category (with the most posts)?
- How to select a category automatically based on a word in WordPress post title?
- Only the most recent post is showing on my category page (working on localhost, not live site)
- Create a List of Widgets, where each widget holds three attributes
- ACF date picker to trigger category change
- Get category slug of the Parent category of a Product
- exclude particular category in api
- Use posts from old db by changing prefix
- How to backup WP blog posts to computer, not new site
- Make categories appear random
- Exclude posts in a category on one page but show those posts on a different page
- Blog Page doesn’t show summary but full content
- How to make a page show posts only from specific categories without editing php files
- My posts page is missing the page title
- Blog Post slider not working
- Get a list of categories that are related to posts
- How to show posts ordered by random [duplicate]
- How to Get Position of a Post from a category and tag
- Display new posts categories in separated divs
- Add Categories To Custom Post
- Query posts from newest category
- Display Posts by Categories
- Ajax – Post Categories and Load More
- Add category selection to function request
- Query post category & remove any post id
- Admin Post List Only Show One Category
- Multiple Post Repeat for Related Post Loop by Category
- Show Post number of specific Category
- Same sidebar in all posts as in the category
- Retrieve latest post by multiple categories with ID
- how to show posts on different pages if number of post per page is one
- Is possible to create a custom link that creates a post that’s already categorized?
- Is it possible to have different header style blog titles in different categories?
- Category pages vs single post pages
- How to display subcategory articles in the category view?
- How do we display a certain category type on a page while hiding all others?
- Show Title/Date/Excerpt of first post & only Title for rest in Query [duplicate]
- Show some texts in posts belonging to Specific category
- wordpress category Description not allowed tag