BuddyDev

Search

Replies

  • Participant
    Level: Initiated
    Posts: 16
    1002 on #10405

    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 MediaPress

    But after I updated plugins of my WordPress, the plugin “Frontend Publishing” doesn’t work and I need make again the process.

  • Participant
    Level: Initiated
    Posts: 16
    1002 on #10351

    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 MediaPress

    But if I install an other extension, I need make the process once again.

    It’s so strange, I can’t found a nice solution…

  • Participant
    Level: Initiated
    Posts: 16
    1002 on #10294

    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
    – delete

    After 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

  • Participant
    Level: Initiated
    Posts: 16
    1002 on #9818

    \o\ \o/ /o/

    Perfect, everything works.

    THANK YOU VERY MUCH, I hope this topic can help other users.

    🙂

  • Participant
    Level: Initiated
    Posts: 16
    1002 on #9793

    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/

    • This reply was modified 5 years, 2 months ago by 1002.
    • This reply was modified 5 years, 2 months ago by 1002. Reason: Query Monitor is nice
  • Participant
    Level: Initiated
    Posts: 16
    1002 on #9764

    Hello,
    I asked to the dev team of my theme and they said : “we don’t pre parse the loop on any of our themes.”

    I can see I’m not alone to have this issue but nobody have solution…

    I’m sure mediapress is a nice plugin but I can’t use it :/

  • Participant
    Level: Initiated
    Posts: 16
    1002 on #9509

    I tried but nothing change.
    I tried to deactivate bbpress too but without success.

    Maybe the problem come from my theme, I can contact the dev’ but I’m not what I need to ask?

  • Participant
    Level: Initiated
    Posts: 16
    1002 on #9483

    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
    SearchFilter

    I 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
    SearchFilter

    but 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 :/

  • Participant
    Level: Initiated
    Posts: 16
    1002 on #7419
    This reply has been marked as private.
  • Participant
    Level: Initiated
    Posts: 16
    1002 on #7401
    This reply has been marked as private.