I managed to fix this issue by commenting out the first body tag and placing a second body tag below like this:
<!--
<body>
-->
<body <?php body_class( $class ); ?>>
Now the site is working correctly. However the strange character is still appearing in the first body tag.
Hope this helps someone.
Related Posts:
- Loading template files from a subfolder in my theme?
- How can I show more than 15 themes at a time in the admin menu?
- Make it possible to pick a color theme for specific pages
- OptimizePress Theme Overriding add_filter page_template
- Execute filter in theme as last
- Posts as filtered list – expandable
- Using filter in the widget causes fatal error
- Fix warning: Missing argument
- Don’t prepend WordPress base url to image paths
- Are immediately-called actions not usable in themes?
- How to change background color in the Notepad++ text editor?
- What are all the available parameters for query_posts?
- Does WordPress work without a theme?
- Is it OK to remove theme credits from footer? [duplicate]
- What theme is good for posting code? [closed]
- Difference between stylesheet_directory and template_directory
- Adding a Template to the Page Attributes Panel for both Posts and Pages?
- Why are my widgets not saving when being added to a sidebar?
- Building useful features into your theme
- How to remove “Proudly powered by WordPress” in Twenty Sixteen (2016) theme?
- Edit theme wp_head
- Current theme broken – after server and domain migration
- Theme Advanced Styles in Visual Editor and Paragraphs
- Enqueue different stylesheets using IE conditionals
- Categories for Pages Not Saving in Admin with Custom Categories Metabox?
- Switch Theme Through Options Panel
- Override parent theme translation on child theme
- Forbidden 403 error, permission to access, unable to read htaccess
- How get Themes list via REST api?
- Activate a new WordPress Theme Only for Admins
- WordPress Fatal error: Call to undefined get_header() in index.php on line 15 [closed]
- How to add template to theme in WP
- How do I copy my Parent Templates to my Child Templates?
- What is the WordPress Pinecone sitting on top of? [closed]
- Theme Editor Not Showing
- Pros and cons of using Backbone for WordPress theming [closed]
- Can I create multiple instances of the BuddyPress Activity Stream with separate themes? [closed]
- How to setup a new WordPress theme without deactivating the current theme?
- WordPress is not able to change themes
- How do I set the featured image size on the single post?
- Inconsistent translation on a WP site
- How can I have different theme with same booking table? [closed]
- Updating my free theme delete all my changes [closed]
- Web site Header tag links some resources with HTTPS
- Do not show one specific widget on one specific page
- customize color in WP child theme doesn’t saved
- Loading Bootstrap with wp_enqueue_style and wp_enqueue_script
- WordPress use of @ in core files
- Unable to upload/install any WordPress themes
- Change the name of the root name of an already built WordPress theme
- How to switch theme if the current user is admin?
- Cannot apply custom css to IE in the theme
- Wp theme not working well as forgot to create child theme [closed]
- Theming global variables – initializing in index.php but using in header.pho
- Understanding the theme details in style.css
- Getting a ‘slide down’ js panel implemented within WP
- Need a theme that let the posted content stretched maximum width [closed]
- Copying post thumbnail to custom field
- How to override theme class function to child theme? [closed]
- Trying to fix a website that was built with WordPress and then taken off of it
- How to integrate JSS to WordPress
- Can I filter a function created by a theme or a plugin?
- WordPress theme layout problem
- header.php-tweak: How to do that getting Meta-Slider into the header-center?
- Why cant I change the text on this theme?
- enqueue_script doesn’t work with HTML5 blank theme
- Get WP Install Directory
- How can I add text on top of slideshow? [closed]
- Display Headings on Index page in different font sizes
- WordPress | Theme error
- Fix threaded comments
- Using DePo Masthead with WP 3+
- How to get this taxonomy name from wp_get_object_terms()?
- Load elements without reload page [closed]
- Any way that guest users see the site as registered users?
- Child theme not activating despite success message
- Webflow Interactions on WordPress site?
- After changed url from http to https, it says “This site can’t be reached”
- WP Snippet to Hide Theme Editor In Dashboard Only Works On LocalHost Site
- WordPress 404 on style.css but not on all pages
- Custom CSS is overwritten by WordPress?
- Is a dynamic website with lots of urls possible with wordpress [closed]
- Incorrect Theme and Upload URLs After Migration
- Edit box-header on WordPress Dashboard
- Is there significant risk in not keeping a theme updated? [closed]
- Sticky header for wordpress changes size and logo size as I scroll down
- Copy from wordpress for dev gives different output in browser
- When translating not all string are present in POedit
- Use random theme
- post_prev & post_next within same category
- Costum Theme template directoy url problem
- Replacing current theme folder by previous version of the same folder produces “undefined function get_header()” error
- Theme comment callback results nothing
- Does not work bookmarklet in the theme Tagology
- How to find out which template the HTML content comes from?
- What is the general cut-off date for reviewed themes in the WordPress.org repository?
- Sub-Theme (based on Taxonomies)
- Commenting in CSS (//) equals “none”? [closed]
- Remove image next to header image on WellExpo theme [closed]
- Table of Contents in Left Navbar [closed]