Failed to import File_name Invalid post type jp_pay_product

Although it will not fix the error, if your goal is to just remove it from view you could edit your wp_config file and above the stop editing line put the following: ini_set(‘display_errors’,’Off’); ini_set(‘error_reporting’, E_ALL ); define(‘WP_DEBUG’, false); define(‘WP_DEBUG_DISPLAY’, false); As far as whats happening from what I can guess there was a post type … Read more

Force Jetpack to not use og:image tag for favicon / Site Icon [closed]

Probably through Jetpack, yet I’m not sure Looking at your site now I can say that those open graph tags are from Jetpack Plugin. If there is no image available in the post , Jetpack adds site-icon/favicon as the default one. We can control output of tags using filters jetpack_open_graph_tags jetpack_images_get_images jetpack_open_graph_image_default jetpack_enable_open_graph Remove only … Read more

query posts only works on the first page

As @Pieter Goosen said, you shouldn’t be using query_posts, nor running your own query. Instead, override the main query that already runs: function wpse_144974_pre_get_posts( $wp_query ) { if ( ! is_admin() && $wp_query->is_main_query() && is_home() ) $wp_query->set( ‘cat’, 1 ); } add_action( ‘pre_get_posts’, ‘wpse_144974_pre_get_posts’ );