Need more info please.
You can copy and rename the file something like page-template.php and add a page template header.
//* Template Name: Your Page Template Name
or
You could rename the file home.php and pre_get_posts
to control which category of posts it displays:
function my_home_category( $query ) {
if ( $query->is_home() && $query->is_main_query() ) {
$query->set( 'cat', '123' );
}
}
add_action( 'pre_get_posts', 'my_home_category' );
It depends on how the loop is generated in your theme.
Related Posts:
- How to add a new product type on woocommerce product types? [closed]
- Updating WordPress overwriting customization tweaks – strategies?
- How to customize the default HTML for WordPress Attachments
- How to redirect WordPress home page to custom static HTML page
- wp_trim_words() does not trim the_content() in WordPress
- setting a specific home page for logged in users
- page_template toggle between 2 templates + 2 permalinks for same post
- Make page template that is just an “include” of another?
- Custom php file in wordpress
- Selecting An image from the Media LIbrary on the frontend
- On Install, which code sets the ‘home’ option?
- WordPress Template not affecting the working, keeps defaulting to the index.php template
- Recommend an open source, template driven website builder UI that produces a working WordPress site [closed]
- For custom templates, is it better to use `template_include` or `type_template`?
- Video to stretch across the entire homepage [closed]
- Create default_content layout template based on post id
- Remove template drop down for certain pages
- How do I add a new template to my site
- CSS to remove “comments count” icon from main page [closed]
- How to customize core admin pages within a theme?
- How can I make site-wide content editable, for example footer content
- Query post for ‘selected category’ in archive.php
- Showcase elementor templates
- Category selectable homepage
- How to get custom page template being edited in gutenberg editor
- Show Featured Post Only On The Homepage
- Best practice – pages – ACF or inline coding
- Set Title from Custom Template
- How to hook up search results page to a back-end page?
- How To Load an HTML File As A WordPress Page (With No 301/No Redirect)
- Hide text if not homepage
- Is there a way to by-pass the pagination function on one custom template?
- Why does my Posts page only show a single post when using Thematic?
- Editing a post template
- WordPress archive index page
- How to add custom ‘layout’ buttons to wordpress editor?
- How to create custom layouts and static pages in themes for clients
- Custom Content Page
- Create a Page template selector page
- Creating custom page template
- Force WordPress to load a specific template
- Dynamic Sidebars based on page name
- Translate custom template with WPML
- How To make Custom page of every Category
- How to setup a membership system in WordPress?
- website is not loading home page (moving from one server to another server)
- why won’t my custom css load with the enqueue method or any other method?
- New to WP: links on static homepage are not working
- Conflict between Yoast SEO and my custom theme
- How to add a template – so that i can choose a different menu for some pages
- How can I delete the word `Category:` from page titles? [duplicate]
- How can I add category variable inside posts?
- Why does a custom php code inside a custom template not get executed?
- wordpress custom posts page not showing
- How do I target this page specifically?
- How to use a custom playlist template:
- Still desperate about multiple TinyMCEs in widgets – is there any good solution to this yet?
- Displaying Child Page’s Information
- Getting a jQuery library to work in WordPress & Avada
- Wonderflux Framework Static Homepage
- Use another theme template in my theme
- Redirect Every Instance of The Author Template Pages to Custom Author Pages
- Custom display for homepage, tag and author pages
- Allow arbitrary text after page URL
- Taxonomy template by post type
- Best way to create a page outside of the pages list
- Template setting is not saving in wordpress
- Make Terms Under Custom Taxonomy Use Specific Single.php Template
- Want home page to click through to two different page types
- Custom single page based on which custom page template is selected
- Custom Style per Post, How to Display Custom-Styled Single post on Homepage?
- Single page template
- Adding css and js to a blank page created with custom template
- Modifying a local template
- Custom template not working for existing pages [closed]
- How to apply styles to the custom page template
- Why after customizing Home Page, the site is loading six missing blob sources, slowing down all site?
- Create a page for each database table entries
- Prevent WordPress from automatically installing a new theme each year
- Can we use one WordPress installation for multiple databases, domains and content directories
- How to Add Customizer Setting in Child Theme
- When adding a custom REST endpoint, where do you put the endpoint function, and where do you put the function registration call?
- Capability to edit own posts and not others
- How to handle security on a wordpress site? [closed]
- Display page content AFTER a loop of posts
- Custom Facebook share button with custom title,url,image in wordpress
- Sort posts by multiple meta key values
- Create custom dashboard for Multisite admins
- wpdb custom tables without plugin
- How to put a site offline, including images?
- Woocommerce custom archive page custom content and shortcode
- Page flickers in customization mode
- We are facing this error in header unable to understand the issue
- When is the wp-settings-[time] cookie generated?
- Hide entry-header for a specific category
- How Can I add show_post_count in get_archives_link?
- admin aoolbar add_node() and pulling in my post slug
- Custom Form Input not saving to Database
- How to create 2 preview button in a post?
- Change the default WordPress image on the dashboard login to a custom image [duplicate]