ok after days of doing the same thing over and over….commenting out different combinations of files…I realised the problem was actually an extra closing div which the code editor threw in for me in one of the files!!
Related Posts:
- PHP include is only working in certain places in my custom WP theme
- php “use” not working in template [closed]
- To close or not to close php
- How does printf( __( ) ); work?
- Return HTML Template Page with PHP Function
- Include WP_Query in my own PHP file?
- Why do templates contain so many PHP tag pairs?
- Include a external PHP file into a WordPress Custom Template
- Include files in functions.php
- Is there a way to parse shortcodes in PHP?
- Displaying a WooCommerce product via PHP
- What exactly does “Posts page” do in WordPress?
- Check if a menu is empty?
- Static Frontpage Pagination – Custom loop
- Get the php template file from other theme folder
- load/require specific php files for specific pages/templates/post types
- WordPress Template Engine?
- Use WordPress function in php file
- Correct and safe way to include php content in my page
- Adding wrapper elements in the_date() like in the_title()?
- How to get all author posts outside of author templates
- Add filter multiple times using only one master function
- Create a Blog Template Page
- Showing latest post without 301 redirect
- WordPress template page name displayed on screen
- Is there a way to hook or call a custom woocomerce template that is not part of the default templates of woocommerce?
- What is the proper way to include a PHP framework into my theme?
- single.php with different look by category
- How to call multiple functions from multiple files into a WordPress page template [closed]
- php include not working in custom page
- Post’s ID pattern?
- How do I define a lookup table that will work across all PHP elements of the template?
- persist a variable set in header.php all the way down to footer.php
- Using WP functions such as the_title() in an included php file
- What’s the best way to include PHP code in pages?
- Function Reference Documenting Template Tags for use in Custom Theme Templates?
- Removing WordPress Footer -without access to PHP code?
- How to set a template with wp_insert_post
- Why is a wp function used in current PHP namespace’s callback not resolved to global scope?
- Why does the Woocommerce grouped template prints the unpublished products?
- Adding conditional text to a PHP Shortcode Template
- Create page template via functions.php?
- What’s a good way to allow overwriting files within a child theme if I want the same folder structure?
- how to display this functions?
- is_page_template showing partial results
- Adding regular php file to site
- How to include custom PHP file both in header and footer files
- Advice on creating a WP Archive Template with Custom Taxonomy (get_term_meta)
- add_filter function concatenate string and locate_template function
- How to render a block from php template
- Template Loop – add switch case php
- Override Admin menu icon
- Post repeated when opening in overlay, how do I solve this? [closed]
- How to suppress template-parts in undescores?
- Need help with pagination
- How can I get “Previous” and “Next” to show in the navigation besides the links?
- Creating custom page template from existing PHP site
- How do I query a single data value from the wp_metadata table?
- Conditional string comparison failing for basename/slug
- Splitting the_content() by size?
- Gravity Forms merge tags in templates?
- Unable to render custom field after attempt to generate a list of recent post in page template
- How to add new CSS file to new PHP file
- php loading different structure than source code
- Include a file that has a function in it
- pass html code to worpdress
- Some problems calling a function into sprintf() inside functions.php template file [closed]
- How do I call an external php non WordPress class into functions.php?
- Getting a WordPress tag to print inside of a traditional php echo
- Loading Elementor templates in a Bootstrap modal on button clicking
- Prevent header and footer from loading on specific pages with template or plugin
- Integrate admin plugin into template. Very interesant (live search + autocomplete with wp rest api, in vanilla js)
- Require()/Include() post template adding extra content
- Display articles with a different template in the home page | Solved |
- Display metabox galleries on specific page template in admin editor
- Display WordPress archive template page in 3 columns and not 1 column [closed]
- Run do_shortcode on php template using JS function
- How to hardcode header and footer in WP?
- What are the advantages/disadvantages of ways to use php template files?
- Change the “Show All” button in a WordPress Portfolio Filter
- Check if current post in loop is last on current page
- require get_template_directory() . ‘path/to-my/file.php’ BREAKS customize > themes functionality
- Converting Array to String Issue [closed]
- ACF – Custom image for Product Tags not displaying
- Polylang and template files
- Roots Sage Symfony error when using override from template
- Before & After Content – After Content directly below Before Content when using require_once
- How to create dynamic templates?
- If is_page elseif is_page not working like I want it to
- Change WooCommerce template for PDF – access to custom field
- How to display last whole post on the homepage
- loading a php file to a specific page id
- missing admin bar and widget in a template
- How to include a function in a template with template tag
- How do I fetch a data from an external database into my wordpress homepage
- How do I fetch a data from an external database into my wordpress homepage
- What syntax is this? “{{post.price}}”
- My own theme’s custom widget areas are not working
- PHP get_category() function redeclared
- How do I modify the Previous and Next Page posts on blog pages to include “previous” and “next” before the links?