Review the template hierarchy from the Codex to gain a better understanding of what files are read when. This will help you to understand what’s called in what situation (tag/category/front-page/etc).
Content.php is never mentioned in the documentation as its not a part of the template hierarchy. Theme developers will use different file names and will reference them within the loop.
Most of the themes by Automattic use this technique to call the various parts to build out the content. Review your index.php
, page.php
, or post.php
to see if content.php
is used there.
Related Posts:
- How to move wp-content (or uploads) outside of the WordPress directory
- Multiple content areas per page
- Custom CSS for full post vs. excerpt (Content Options)
- Javascript Solution Remove Specific Tag but leave the rest in a specific DIV
- Control Content On Non-Blog Pages
- Insert menu with a custom walker into page / post body using shortcode?
- Where to store reusable content that is not a page
- How to add page content into another page
- Display a specified content on a Page and all its child pages
- Woocommerce custom archive page custom content and shortcode
- Problems with setting up a subdomain to serve images and scripts
- Show WP content on different PHP Sites
- Best way to eliminate xmlrpc.php?
- Why do I get the timeout warning?
- What is the best way to customise admin files so they survive future upgrades?
- Verify nonce in REST API?
- Add custom html to last sub-menu item
- Automatic image renaming based on title
- Manipulating post meta in the customizer
- Rearrange elements outputted by comment_form()
- generate unique number when registering a user
- Php custom query function assistance
- How can I manage my multiple wordpress websites from main website?
- How to set default values for options page
- How do I go straight to “Edit More Details” when clicking on an item in the media library?
- How can I add a button to quicktags-toolbar?
- custom session variables being lost in FF [closed]
- Recommend an open source, template driven website builder UI that produces a working WordPress site [closed]
- How to link external JavaScript files?
- Where to add one custom end point and its function?
- Private member page
- For custom templates, is it better to use `template_include` or `type_template`?
- How to pass external variables to the wp_new_user_notification_email filter?
- Dynamic title in WordPress homepage
- Hi, I wanted to make custom search with multiple fields
- Search widget will search everything in the site, how to limit to only search gallery name
- How Can I Move Data From Form 1 To Form 2
- custom post type – page template
- How to add custom control to a page?
- Navigation label for page in custom theme
- Auto login from custom registration form
- How to get Related Custom Posts?
- Background image not appearing
- custom upload directory only for plugin uploads
- Is it possible to change the structure of the HTML generated by the_content()? If yes, how? If not, is there a workaround?
- How to define custom links in WordPress
- Display specific Taxonomy Term from Custom Post Type
- Is it advisable to use `add_rewrite_rule()` to serve a custom page?
- Customizing the Widget content markup
- Garbage in uploads folder
- What is theme-editor.tmp?
- What is the best way to modify Admin Panel on WordPress?
- How to customize shipping region/states on WooCommerce
- Add the site’s name as prefix when adding new users? Multisite
- How do I create a root link in wordpress to a PDF file?
- Upload a web module (html and JS) to wordpress
- How to remove Customizer’s Section and move Control straight to Panel using Child Theme
- Remove welcome panel from contact form 7 page [closed]
- Custom RSS feed – blank page
- Customizing admin look and feel for just one particular type of user
- Display Images with More Fields yes / no
- How to query term_id of a Custom Taxonomy by name
- WordPress 3.1 update has reversed my blog posts
- Different profile page by role
- WordPress menu: How to make www.link.com/#name never contain current_page_item class?
- 2.9 to 3.0: Pros and cons of upgrading?
- query_posts meta_key with current date
- Get custom field value from not-current page
- RSS feed showing deleted post
- Custom page template, not acting as page
- how or where wordress collect unlogged user session
- How to show parent taxonomy using get_the_terms?
- Customizing woocommerce product page
- No plugin populate user information in to form
- Best practice to generate token for email action
- how to change the url rediction of the woocommerce login page of the flatsome theme for my own in wordpress?
- My list of terms of custom taxonomy displays 7 times
- Customizer options limited to specific user roles?
- Woocommerce custom “My Account” Tab – Add Save button
- WordPress Using Zip code customer shop find without woocommerce plugin
- Can’t do a src to node modules folder
- Woocommerce – Remove cart button depending product (post) status
- Login CSS style doesn’t load instantly
- Embedded Options in a Custom Metabox
- Query Posts to display all posts with category “custom field value”
- Trouble getting started in wordpress – my experience isn’t in wordpress.
- How do I display entries in the top menu based on conditions selected in the sidebar menu?
- custom loop issue
- Customizer API and pages
- Bulk product editing in wordpress
- Editing a theme’s templates
- How to setup a taxonomy that can have only one post assigned to it?
- How to delete orphan userdata from array in wp-options
- Custom Style per Post, How to Display Custom-Styled Single post on Homepage?
- Twenty Eleven theme, how to change style to a specific “format”
- Search results load individual post in slide out div
- Conditional tag
- Changes to code not displaying
- Permalink Listing WordPress
- Has the table name in SQL for WordPress changed from WP_posts to WPCS_post?