Jetpack Infinite Scroll – changing number of posts

Found the code that works here: https://themeshaper.com/2013/10/08/how-to-override-jetpack-infinite-scroll-settings-in-a-child-theme/ /* * Change the posts_per_page Infinite Scroll setting from 10 to 20 */ function my_theme_infinite_scroll_settings( $args ) { if ( is_array( $args ) ) $args[‘posts_per_page’] = 20; return $args; } add_filter( ‘infinite_scroll_settings’, ‘my_theme_infinite_scroll_settings’ );

infinite scroll not working when logged out

add this before your other add_action call: add_action(‘wp_ajax_nopriv_zephyr_infinite_scroll’, ‘zephyr_get_nextpage’); the wp_ajax_ filter runs only when you are logged in. wp_ajax_nopriv_ runs only when logged out. This is so you can separate your requests, and maybe treat them differently, if that’s the case. Check wp_ajax_(action)

Redirect to another page using contact form 7? [closed]

Redirect to another page using contact form 7? [closed]

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)