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:
- “WARNING: Found @$ in the file __ Possible error suppression is being used
- How can I prevent a shortcode div from extending beyond its boundaries?
- How to change PHP variables with AJAX request in WordPress
- is_user_logged_in returns false when I access certain pages
- Unable to retrieve get_author_posts_url
- How to have different headers.php files based on the display page
- Display post date also if the date it’s the same for each post
- REST API custom endpoint to fetch pages and posts not working
- Submit remote form to wordpress REST API and save data to custom post type
- How to print all the inline styles in the WP_Styles instance together with their keys?
- Looping through dummy posts and showing them in the main index.php
- Exclude category from woocommerce product category list
- Create dashboard widget for custom theme support
- Create category after theme setup and modify the default one
- Should I set a page as “No-index” if I include it’s content within the front-Page.php via this method?
- Trying to get pagination working on WP_Query() post grid
- alternate left – right content inside the loop
- Store user form submitted information in post type
- New user – Create a folder
- Display attached images of a page or post that are insetred using gallery
- Add a custom link to each image in WordPress gallery
- add custom link to gallery images
- register dependency css and js inside a plugin class
- Proper use of Output Buffer for a whole php clas
- Warning: count(): syntax problem of the count () function
- WordPress files break if I edit them, but adding a closing PHP tag fixes it
- Collapsible menu on post sidebar only expands and does not collapse
- Fix hover images blink
- WordPress child theme, creating a custom php template page
- Menu to the right of screen on desktop using Bootstrap 4
- Autoloading Classes in Plugins
- Custom theme admin-ajax.php 400 (Bad Request)
- Customizer: How to Sanitize a Decimal Number Range
- PHP code printed into CSS classes
- How to properly escape in ternary operators – Wp Coding Standards?
- How to send Ajax Call from frontend without using wp_localize_script in Theme
- Get the image title and alt from custom query
- Add Text Area To Child Theme’s Home Page
- What syntax is this? “{{post.price}}”
- Theme editing “post thumbnail” help
- CSS loading as empty file in Custom Theme
- How to add Open/Close Toggle button into Twenty Fifteen theme for hiding left sidebar?
- Woocommerce variable products are being added to the card on the homepage (ajax)
- How to get php file based on URL in WordPress
- Problems with the WordPress loop [closed]
- How can I customize a WordPress theme before it’s downloaded?
- Use Custiomizer to setup meta theme color tag
- How to replace hard-coded list of custom taxonomy terms based on custom field query [closed]
- I want different post-thumbnail size depending on media size
- Rotating Header Images
- How do I prevent a folder from reappearing in my home directory?
- How to add thumbnails from recent posts to owl-carousel in wordpress automatically?
- Resource 404 error on multisite subdirectory install
- Custom theme: adding unwanted tags in the content
- Where can I find the declaration of `$_wp_theme_features`?
- Calling PHP function doesn’t work in index.php
- Click to expand menu
- Relative post date in recent posts list
- Create a custom theme-specific page, invisible in the admin-panel?
- Trying send mail from Theme page
- Not able to get the exact URL of the file on server located in active wordpress theme
- Display tab title as ‘blog tagline | blog title’
- Extend the WP_Customize_Image_Control class to change its non-frame $button_labels
- A Customizer checkbox control that sets the setting to “” or to “blank” and show() or hide() a color control
- My customizer’s setting doesn’t set to the default and needed to click the control’s “Default” button before it’ll be set
- Save the outputted image into the Media Library, with a different filename and extension
- 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?
- WP Knowledge Base Theme bug – Subcategories and Articles, Need to change WP_Query
- Permission functions within wordpress
- Image not displayed
- append links with unique number string
- need help to arabic text in wordpress
- WP multisite network plugin fails to see classes loaded with spl autoload
- Listing current pages subp page in list items in the sidebar
- WordPress causing all code to be displayed on line 1. Receiving multiple errors after cleaning cookies and cache
- How to add button to top of theme customizer?
- WP white screen of death after duping a site that works fine on same server
- Not able to call class in NHP framework
- Adding code to the function file
- Adding Media button to only pages
- Trying to display ads on only a third of posts in a loop. Keep getting Error 500?
- Sidebar doesnt get updated?
- Shortcode working in page.php but not in category.php in wordpress
- Adding a Sub Menu Options Page WP Backend Menu. Whats wrong with my code?
- How to implement conditional PHP in Footer
- Correct Syntax for uploading files to custom directory in WordPress
- Add CSS class to PHP Statement
- How to edit the default database of WordPress [closed]
- Adding php within a return statement [closed]
- Can I have a php site on subdirectory of WordPress?
- How can a ‘scripts’ directory be hooked into wp_head();?
- ACF | WooCommerce | Theme Development | How to include a /template-part/ that makes use of ACF’s on a custom WooCommerce homepage?
- I need a button to appear when not loged in and another when logged in, I need help fixing code PLEASE!
- Load slideshow.css file only if Slideshow is checked / on
- Predefine Magazine Style Layouts
- Using is home to get content [closed]
- WP Bootstrap NavWaker: Dropdown Menu Opens All Dropdown Menus at Once
- How could I prevent using the same custom loop in a template file when I only need to change one meta_query parameter?
- Custom theme on multisite has issues with standard loop output