What if you remove the existing infinite-scroll before re-add it?
remove_theme_support( 'infinite-scroll' );
add_theme_support(
'infinite-scroll',
array(
'wrapper' => false,
)
);
Related Posts:
- Allow latex in wordpress excerpt
- Removing the main link to Jetpack from the menu
- Redirect to another page using contact form 7? [closed]
- Adding a second email address to a completed order in WooCommerce [closed]
- What is the difference between get_page_link and get_permalink functions?
- Possible to search by author name with default WordPress search function?
- Advantages and disadvantages of using automatic-feed-links
- Breadcrumbs showing Parent and Child Pages
- Influence of WordPress functions on site speed
- Is it possible to override this function/class in a child theme?
- When new user register then add new user role
- Change meta tags programatically
- Remove bulk actions based on user role or capabilities
- Set first oembed in post to a global variable or function
- Adding extra SVGs to TwentyNineteen child theme using class TwentyNineteen_SVG_Icons
- Use a function to update post meta based on other post meta
- wp_delete_attachment
- Adding body class when post contains a specific shortcode
- Displaying Widgets
- WordPress registration and contact form 7 [closed]
- Display WooCommerce subscriptions for user [closed]
- How to preserve edits to Name or Slug of term when using wp_update_term on save?
- Woocommerce checkout field maxlength, make input number field only (postcode)
- My simple custom shortcode is not longer working (possibly due to upgrade to WordPress 4.4 ?)
- PHP files included in functions.php don’t seem to work
- Register and enqueue style.css custom theme
- How To Remove Duplicate Menu Locations
- Show top commenters without using a plugin
- WordPress shortcode attributes for database SELECT?
- How to get membership level for specific user email
- Post thumbnail not showing in WP admin area for custom post type
- What do the schemes login, login_post, admin, and relative mean?
- Backstretch.js and thumbnail sizes to reduce loading time
- Child theme within a child theme?
- Featured Image Thumbnail Creation
- Trouble with adding a wp_enqueue_script on wordpress
- Display images that are not in the content
- How do display most popular post from a year earlier to the day?
- Updating Media Published Date When Parent Post Is Modified in WordPress
- WP Ajax Function Always Returning undefined
- How can I grab the video id of youtube?
- Pagination in relation to archive.php
- Creating A New Admin Menu Tab For Theme Options
- Passing variable as add_shortcode argument
- Incorrect redirect after commenting
- Run wp_kses_decode_entities on atom feed?
- Function extending with if query in functions.php
- add_action wp_enqueue_script priority level only works for admins
- Question about “wp_deregister_script()”
- Turn get_posts as string into an array for use in theme admin options
- current_user_can comma list vs OR (||) list
- Combine embed_oembed_html and oembed_result
- Load JS file only in specific template
- Why get_user_by() doesn’t work in my code?
- Can’t switch to a child theme using filters template, option_template and option_stylesheet
- What is wrong with code added to functions.php to selectively show styles based on login state
- Writing a function to detect an event
- How can I set the SRC URL of the custom logo image?
- The Capability to choose post/page template
- How to make custom comment fields required
- Include Jquery libraries in wordpress theme?
- WooCommerce -> wc_enqueue_js not working [closed]
- Use existing image sizes for WooCommerce
- Add a mature content warning to first-time visitors
- Retrieve First Image Function
- User meta and public function security
- Any adverse effects of adding apply_filters to a function?
- How can I remove page titles without removing the link in the navigation bar in twentyeleven?
- How to get taxonomy tree ids without running expensive loops
- wordpress built-in Jalali date convertor
- Change WooCommerce Payment Options From Radio Buttons to Dropdown Menu
- WordPress Function Assistance with Loop
- Using get_terms for custom taxonomy in functions.php
- Populate acf-field, depending on block name
- Add Change role button for list of user in an event
- Child theme remove parent filter in functions
- Set URL Parameter Post Layout As Default
- Exclude admins from query get posts
- I am trying to set post terms to a custom taxonomy
- Classic TinyMCE messing up only Contributor’s HTML
- Reference multiple style sheets, clearing styles for permalink page, custom fields for css
- How to add publish/draft button in Admin Post Lists
- Show users last read posts for each user?
- Woocommerce – change order status from on-hold to pending payment
- Disable links to images only if link is an image
- Sending Messages Back to the Template After Processing?
- Shortcode to eliminate and replace with
- WordPress Javascript Widget jQuery Dependency Issue
- Allow tags and attributes in post and pages content
- using enqueue_script in a shortcode isn’t working
- Syntax for a function in order to get post’s title in JSON encoded response [closed]
- Comment Function
- Filter to strip unnecessary attributes
- Will my WordPress site become vulnerable after adding this functions which allows more HTML tags for subscribers?
- get_post_class() not working well
- How to resize image from import image url?
- Vimeo video play button color function
- How to overwrite image if it already exists – WordPress, Gravity form
- Change TinyMCE undeline outpout
- Loading newest dependency javascript module file in functions.php