It doesn’t matter. It just has to do with standard naming in WordPress because you typically call your “parts” with get_template_part();.
get_template_part(); checks if the file is in the child theme first, then uses the one from the parent theme if it doesn’t. It provides a way for you to override template files from the child theme.
Related Posts:
- Why have on every line
- Proper use of Output Buffer
- Include a external PHP file into a WordPress Custom Template
- Is having multiple theme customizers for different pages possible?
- How to remove hardcoded characters from playlists?
- function_exists call in function.php
- Namespacing WordPress project according to FIG standards
- Debugging an error: wp_enqueue_style was called incorrectly
- Hide a menu-item and its submenus and display a ‘Log in’ link if the user is logged out
- Does wordpress allow me to add a php file to the root directory to execute custom scripts?
- Remove css styles from specific page
- Use different javascript files for each page on website
- do not show web page section when using advanced custom fields pro
- PHP Customization: Taxonomies and Queries, why? [closed]
- Switching between custom templates in a post type of the admin menu
- My Own layout in WooCommerce pages [closed]
- Differences when using the the_time and the_date functions
- Change the actual (or viewable) WordPress directory structure
- Custom category code not showing all posts
- Adding country tags automatically
- How do I get current page ID in WordPress customizer file?
- Customizer: Output default value in Customizer CSS
- WordPress does not load page.php, return 404.php
- Create another “Display Site Title and Tagline” checkbox, “Header Text Color” setting and control
- Add child pages of parent to navbar PHP
- Load a page into a div with Ajax
- Converting HTML Template to WordPress Theme
- How to use my style.css file outside of wordpress subdomain?
- Correct folder permissions?
- How to remove the cufon script from Dzonia Lite theme [closed]
- Add_action not working in required file of functions.php
- How to set up VS Code for WP plugin/theme development in 2021? [closed]
- Avoid parallax images hardcoding
- Improve page speed loading using CDN and async or defer attribute
- subdirectory index.php is not working
- Populate editor with some content of a page with a page template
- Displaying recent posts on static page with template-part via shortcode
- Skt full width basic slideshow problem
- Is the “_s” on this `sprintf(__(‘Page %s’, ‘_s’), max($paged, $page))` just refer to a text domain?
- get_template_part for specific page
- How do I create my own .php file with a code part and echo it on different pages?
- WordPress admin-ajax.php
- Syntax error when I try to insert my loop into an unordered list? [closed]
- What exactly do this function declared into functions.php file of a WP theme?
- Royalty-Free Sliders used in theme development
- Reason to add a name of the theme like (‘menu-1’ => __( ‘Primary’, ‘twentynineteen’ ),) in PHP?
- zip unzip attachments in wordpress
- What file have I to create in my custom WordPress theme to show all the post belonging to a specific category?
- PHP in CSS file?
- WordPress get_media_embedded
- Warning: printf(): Too few arguments in helpers.php file
- Help Fallback (thumbnail)
- get_comments_number() returns 0
- get_page_templates only return templates with “home” in the filename
- Show different website layout if no sidebar added
- Why the dynamic_sidebar() call is putted into an ul tag?
- Need advice on theme customizer and child themes
- How to make sure relative URL works when site is not on root domain?
- Toolbar Hidden in a Virtual Page
- Remove Custom Post Category In WordPress Slug Using .Htaccess
- How do you remove header sitewide from mobile only?
- PHP inside echo HTML
- Uncaught TypeError: extract(): Argument #1 ($array) must be of type array, null given
- Header is not displaying on certain pages of wordpress theme [closed]
- Check if current post in loop is last on current page
- How to change PHP variables with AJAX request in WordPress
- is_user_logged_in returns false when I access certain pages
- REST API custom endpoint to fetch pages and posts not working
- Looping through dummy posts and showing them in the main index.php
- Trying to get pagination working on WP_Query() post grid
- Warning: count(): syntax problem of the count () function
- Fix hover images blink
- Customizer: How to Sanitize a Decimal Number Range
- PHP code printed into CSS classes
- Get the image title and alt from custom query
- What syntax is this? “{{post.price}}”
- Problems with the WordPress loop [closed]
- How to replace hard-coded list of custom taxonomy terms based on custom field query [closed]
- WordPress get_post_meta issue
- How to correctly add the featured immage (thumbnails) support in a WP theme? Why I can’t add a featured immage?
- Listing current pages subp page in list items in the sidebar
- How to add button to top of theme customizer?
- WP white screen of death after duping a site that works fine on same server
- Sidebar doesnt get updated?
- Correct Syntax for uploading files to custom directory in WordPress
- Add CSS class to PHP Statement
- ACF | WooCommerce | Theme Development | How to include a /template-part/ that makes use of ACF’s on a custom WooCommerce homepage?
- Load slideshow.css file only if Slideshow is checked / on
- Predefine Magazine Style Layouts
- Twig+WordPress how to use array arguments inside a function?
- How to store the_post_thumbnail() value in a variable
- Variable ++ in query loop
- functions.php doesn’t load all custom theme assets
- Exclude first post from wp query
- How to get ACF field to show up on all posts on front end?
- Capture the Selected Radio Button Value between two files in wordpress theme
- Dynamic PHP content in Block Theme template file
- Show the terms of the hierarchical taxonomy
- i18n in WordPress Theme
- The theme doesn’t load css and JS files doesn’t load in functions.php