Replies
Hello,
I confirm again, the plugin worked after I made my process:
– deactivate MediaPress
– deactivate my theme and activate an other theme
– reactivate my theme
– activate MediaPressBut after I updated plugins of my WordPress, the plugin “Frontend Publishing” doesn’t work and I need make again the process.
I tested in local (fresh install and default theme) with only MediaPress and Front End publishing but the problem is the same.
I found a solution but it’s not perfect:
– deactivate MediaPress
– deactivate my theme and activate an other theme
– reactivate my theme
– activate MediaPressBut if I install an other extension, I need make the process once again.
It’s so strange, I can’t found a nice solution…
Hello,
Thank you very much.
To try this plugin, you need create a page with the shortcode [fep_article_list]
You will see a list of your posts.In the option of the plugin, you can set to see three links on this page:
– preview
– edit
– deleteAfter you set this option, if you click on the link “edit” of the listing page that you create before, you will get a 404 error.
Best Regards
oh, I found the issue!
In my functions.php, I used a function (maybe a bit old) to remove the woocommerce products of the research of the website (post and page).
[code]
function SearchFilter($query) {
if ( $query->is_search && !is_woocommerce() && !is_admin()) {
$query->set( ‘post_type’, ‘post,page’ );
}
if ( function_exists( ‘is_woocommerce’ ) ) :
if ( $query->is_search && is_woocommerce() && !is_admin()) {
$query->set( ‘post_type’, ‘product’ );
}
endif;
return $query;
}
add_filter(‘pre_get_posts’,’SearchFilter’);
[/code]When I remove this function, I can see the gallery.
Unfortunately, I need this function, if you have idea to modify the function, I will be very happy 😉
Thank you for your help.
Best Regards
PS: Thank you to the plugin Query Monitor who help me to found the issue.
https://wordpress.org/plugins/query-monitor/Hi,
Sorry for the delay, I tried to found what’s happen and after I forgot.
I checked with a plugin which plugin use pre_get_posts on the gallery page.
I found this:
action: pre_get_posts
Priority: 1
WPSEO_Sitemaps–>redirect
Priority: 4
bbp_pre_get_posts_normalize_forum_visibility
Priority: 10
Wpnw_Pro_Public–>wpnw_pro_news_display_tags
WpSmush–>smushit_orderby
mpp_filter_archive_page_galleries
SearchFilterI tried to deactivate related plugin, the pre_get_posts become:
action: pre_get_posts
Priority: 4
bbp_pre_get_posts_normalize_forum_visibility
Priority: 10
mpp_filter_archive_page_galleries
SearchFilterbut nothing changed.
Finally maybe is bbp with the hook bbp_pre_get_posts_normalize_forum_visibility
I will try to found but it’s not easy :/