I’ve created a new file, specified the encoding as “UTF-8” and retyped everything by hand – no copy/paste from the old file. Took a while, but all works now. It must have been some encoding errors playing up.
Thanks to everyone who helped: @t31os, @kaiser, @Chip Bennett
Related Posts:
- Adding a second loop breaks everything
- Does get_template_part pull data once in a loop?
- Redirect Loop to Page, Can’t Find Origin, Can’t Remove [closed]
- Post Format single-loop.php using get_template_part
- How to get_template_part using AJAX?
- Problems with loop
- How to show “teaser” posts on blog / archive pages, otherwise full posts
- Detect if current page is front page within custom query
- How do I display an image before the first post of the loop when I’m using get_template_part?
- How do I make a variable available inside partials?
- how to replace get_template_part(‘loop’,’tag’) with explicit styled version?
- Loop through an array inside a class using foreach [closed]
- get_template_part() Not Working in Loop
- Get_template_part() problem with the_content()
- Problem with Front-Page.php loading recent posts
- How can have a conditional template tag based on the main loop within a secondary loop with new WP_Query(), using get_template_part()
- How to declare a variable in a loop and make it available in the template file
- This webpage has a redirect loop issue with SSL page
- get_template_part() to render single page Theme
- How do I get the attributes of a short code from a post?
- Single Page WordPress Theme – Using page templates
- WordPress category & taxonomy loop with pagination
- Changing behavior of the loop twice in one page
- Show scheduled posts in archive page
- post__in – Placing content from a foreach loop inside of an array
- loop query exclude meta_key with meta_value
- “Blog pages show at most” in The Loop
- wp_insert_posts Fatal error: Maximum function nesting level of ‘100’ reached, aborting!
- Post Loop not Returning Permalink
- Displaying child page content of a certain parent
- Pagination adding extra posts only on page 2
- If Loop has odd number of posts on last page Custom style for last post in it
- Passing variables to template parts
- add_filter() doesn’t work in loop
- How to pass variables with get_template_part?
- The Loop in Static Page
- Content/Excerpt length control for a specific loop?
- Why we use if with while loop?
- Loop posts only excluding first post
- Loop repeating design pattern
- Sort Posts By Category?
- Can’t access login screen, wp-login.php 404’s
- Create a loop that gets pages with their template
- Why is my loop not dynamically grabbing the correct Category and displaying all categorized posts?
- Query posts if meta key starts with
- 3 Posts in Loop, Show Stickies First
- Loop within a loop (Again) for template
- How to use current_post to open a new unordered list every five posts
- Why cant you place the Loop outside of the index.php?
- sticky post in custom loop
- Rating system and changing the loop
- Ajax Button to load more Posts into a timeline
- How to target thumbnails of the first post in the loop
- Showing sticky posts with get_posts()
- Get 1 more post in loop
- Pagination not working in category listing [duplicate]
- get_template_part causes 500 error
- How to get the excerpt for is_home() outside of the loop isn’t working
- Category links including all posts
- Custom loop ordering not working
- First archive page with a few posts
- Hiding a row in the loop if empty
- Loop through ACF taxonomies and output associated posts
- How to get user ID’s from multiple usernames?
- get_delete_post_link() inside Loop stubbornly returns nothing
- Query posts only with actual text content (not including shortcode or images)
- How can this multiple loop have pagination as described?
- Default featured image set as background image [closed]
- Breaking up the results of a loop
- How do i create a list-posts-page?
- Exclude posts based on an array
- Is file_exists() compatible with timthumb.php? [closed]
- List ALL posts by author on author archive
- Using is_page_template inside loop
- Set depth of pages to fetch
- Trying to get all links in my posts
- Creating a User-Adjustable chart in WordPress
- Archive: Lists itself
- How to show the last article in a different way in my blog?
- Reorder posts in a loop: have the posts by one particular author below the others
- How to execute a user loop with shortcode
- how to get author comment inside the loop?
- How to create loop in custom page, and get id from url into this loop?
- How to fix pagination for custom loops?
- Check to see if a field is within an array in twig
- Archive sorted by month – separate
- Display single post inside accordion based on form submission results
- One page loop issue with posts
- Humanmade | Custom meta box class: How to display a repeatable meta box group?
- Building theme so user can change header image [closed]
- Get query result before posts are displayed?
- WordPress Group By Problem
- using the loop on a page
- How to show only specific tag in wordpress loop
- Different style for first two (sticky) posts
- WooCommerce – Checkout suddenly stops working [closed]
- pull 500 post of many from database [duplicate]
- Want to images load first then title in WordPress loop
- How to add a continuous number to HTML tag attribute value inside The Loop [closed]
- WordPress Not Sorting By Custom Field