Yep the issue was what Milo mentioned, that I didn’t have the_post inside the loop so the loop was running infinitely.
Related Posts:
- add_filter the_content str_replace after shortcode
- How to check if new posts have been published since page load?
- WordPress as a backend only. How to output database content on public side without WordPress?
- How do I create a WP user outside of WordPress and auto login?
- WordPress will not operate correctly
- WordPress Custom Page Template in a different directory
- How to stop loading multiple copies of jquery
- Update WordPress Custom Field with AJAX on cached page
- Post from one loop in different containers?
- Adding php directly into widget shortcode
- How to run multiple websites from single WordPress setup
- where to include a php file
- WordPress doesn’t include css
- Create an array from an array
- How to add Shortcode (font awesome) in widget title?
- Understanding child theme functions.php
- WordPress 2.8.5 & ‘Responsive Twenty Ten’ – error
- Continue execution after WP REST API response
- WordPress Ajax Custom Query – High CPU LOAD
- Returning a value from a PHP page
- Must Use Plugin Causing Query Error
- action hook wp_head higher priority as all other plugins/hooks
- Where would I place `wp_footer();`?
- Shortcode return function with link href inside PHP
- How does the ternary operator work in the wordpress loop post?
- How to create a linked tag list in my sidebar
- Advanced Meta Query for Large Calendar Website (12k+ posts) (175k+ wp_postmeta rows)
- Why does my callback function not work with this custom filter hook?
- Get and insert order email address to the PHP template inside HTML text
- How to store post ID’s in cookie or session to display the same posts later
- Integrating PHP into Javascript to display map markers with Google API – problem with wp_localize
- Dynamic content in template
- register_taxonomy() take much queries
- Whats the proper way to use a php stylesheet in a wordpress theme? [duplicate]
- Sort by page information by Ascending Numbers
- Adding Meta Tags to a Post using its Tags, Excerpt and content
- Embedding PHP in shortcode $content
- WordPress wp_redirect error
- single.php with different look by category
- WordPress Block developer from exporting Database via PHP
- Is There A Way To Make Theme Files Accept Shortcodes?
- Is there any way to get a drop down list of time zones?
- php within html within php
- Clickable image link sends people to wrong URL
- How do I display offsite database info on my wordpress site?
- Hide Heading if ACF Field is empty
- Custom post type permalinks do not appear using the link functions
- Gravatar image url is wrong?
- This function is deprecated; use mysql_real_escape_string() instead
- How to get current category
- Using bloginfo and divs inside a php file
- Make next post button link to random post
- Show parent categories of the current category
- Post Views Code Hacks
- Closing WP_LINK_PAGES DIV ID w/After Argmuent
- Which version of PHP-FPM is necessary to work with WP 3.5?
- Adding a navigation page state to individual blog and portfolio pages
- orderby meta_value_num is not working, giving default order
- How can I modify this code to make the search box include tags and meta
- My worpress search page is showing no results
- Show full post instead of excerpt
- How do i post data to url with fields?
- How to get this .php code from my theme into my plugin?
- How to show contact form popup in same page
- how to add functions to my function.php using a child theme?
- Getting info about selected posts using one WP_Query
- How to properly escape in ternary operators – Wp Coding Standards?
- Using transients to store form notifications
- admin-ajax.php 400 bad request – whats wrong with my code?
- wordpress form action page not found
- PHP for loop not working as intended
- How to query a staging database?
- Rewrite SQL query as a prepared statement and use in foreach loop
- How to return count of items found in SQL query
- WordPress default contact form
- Wrapping shortcode content in a span or link
- What is the best practice for restricting a section to logged in users?
- 301 redirect from webpage to wordpress page in the same root
- Issue with search form admin panel after PHP migration
- Escape html structure in php
- Update title of every instance of widget using text field
- Permission functions within wordpress
- Get all the contents of taxonomy and sort by term
- Gallery requires a featured image but does not show it in posts/pages
- WordPress TinyMCE Add Button To The Full Screen Mode Editor
- key( $GLOBALS[‘wp_registered_sidebars’] ) is always showing the same value
- Custom PHP-coding in MU installs
- WordPress Pages into Sections edit.php PHP hack
- why php notice is not getting ignored?
- The search engine of my website finds only posts and not pages, how can I solve this problem?
- WooCommerce Custom Pagination
- Comment section not appearing on posts with no comments
- How to handle PHP parse errors?
- which table updated after logout?
- Child-theme suddenly stopped working [closed]
- metabox displaying on incorrect page
- How can I change the URL via add_rewrite_rule()
- Variable ++ in query loop
- Generate and upload screenshot as featured image for user-submitted post
- How can precision be improved for the debug log timestamp?