Forums

[resolved] Mystique 2.2.2 Search N/W (9 posts)

  1. maxina
    Member
    Posted 2 years ago #

    Hello,

    I upgraded my Mystique theme from (whatever the last release was) to 2.2.2 and the search *which used to work* no longer does so (I consistently get no results). Can someone else validate they have the same issue? Anything I can do to test?

    Thanks,

    Andrew

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Have you tried:

    - deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - switching to the default theme to confirm that this is a theme-related problem?

  3. liviopl
    Member
    Posted 2 years ago #

    I'm using this theme too.

    With Default, installed from WordPress theme repository (after I removed it earlier) I get PHP error about home_url...

  4. digitalnature
    Member
    Posted 2 years ago #

    you can only search posts in mystique. page search is disabled.

  5. maxina
    Member
    Posted 2 years ago #

    Could you tell me why / what I can do to remedy that? my entire site is built on pages, not posts.

    A.

  6. digitalnature
    Member
    Posted 2 years ago #

    yes, in the functions field from the theme settings add:

    remove_filter('pre_get_posts','mystique_exclude_pages_from_search');

  7. maxina
    Member
    Posted 2 years ago #

    Hey that works fabulously. Thank you!

    A.

  8. pogostickconz
    Member
    Posted 1 year ago #

    great thank you this worked for me too - i thought i was losing it!

  9. vaneats1
    Member
    Posted 1 year ago #

    Hello everyone. My name is Kev and new to wordpress, could I politely ask for your assistance!

    I've had the opportunity to plug in the following in Theme functions (functions.php):

    remove_filter('pre_get_posts','mystique_exclude_pages_from_search');

    However after I install it there are conflicting messages, my background shifts halfway down the screen and I need to uninstall/delete the theme from my cPanel.

    Could I politely ask for your help on my site: http://www.vaneats.ca

    I greatly appreciate your time and assistance

    I get these messages:

    Warning: Cannot modify header information - headers already sent by (output started at /home/vaneats1/public_html/wp-content/themes/mystique/functions.php:159) in /home/vaneats1/public_html/wp-login.php on line 337

    Warning: Cannot modify header information - headers already sent by (output started at /home/vaneats1/public_html/wp-content/themes/mystique/functions.php:159) in /home/vaneats1/public_html/wp-login.php on line 349

    Warning: Cannot modify header information - headers already sent by (output started at /home/vaneats1/public_html/wp-content/themes/mystique/functions.php:159) in /home/vaneats1/public_html/wp-includes/pluggable.php on line 690

    Warning: Cannot modify header information - headers already sent by (output started at /home/vaneats1/public_html/wp-content/themes/mystique/functions.php:159) in /home/vaneats1/public_html/wp-includes/pluggable.php on line 691

    Warning: Cannot modify header information - headers already sent by (output started at /home/vaneats1/public_html/wp-content/themes/mystique/functions.php:159) in /home/vaneats1/public_html/wp-includes/pluggable.php on line 692

    Warning: Cannot modify header information - headers already sent by (output started at /home/vaneats1/public_html/wp-content/themes/mystique/functions.php:159) in /home/vaneats1/public_html/wp-includes/pluggable.php on line 890

Topic Closed

This topic has been closed to new replies.

About this Topic