WordPress.org

Ready to get started?Download WordPress

Forums

WP Custom Fields Search
Nav Menu not showing on custom search result (8 posts)

  1. crowdesign
    Member
    Posted 9 months ago #

    I am having the same issue.

    I have the plugin istalled on a site using a child theme to TwentyTwelve.

    When I use the regular search box from (located inthe sidebar of the pages with sidebars) and type in "Austin" iI get a results page with the navigation showing. http://arborprop.com/?s=Austin

    When I use the Custom Menu Search using the dropdown for the city "Austin, TX" I get a results page with no menu navigation. http://arborprop.com/?search-class=DB_CustomSearch_Widget-db_customsearch_widget&widget_number=preset-default&cs-city-0=Austin%2C+TX&cs-zip-1=&cs-Bedrooms-2=&search=Search

    I have checked theCSS and the problem seems to be in the responsive menu toggle.

    Regular search results for the page include this code for in the HTML for the header nav:

    <nav id="site-navigation" class="main-navigation gradient" role="navigation">
    			<h3 class="menu-toggle">Menu</h3>
    			<a class="assistive-text" href="#content" title="Skip to content">Skip to content</a>

    And then the div shows holding the menue items and the closing nav tag.

    Th html for the custom search results in:

    <nav id="site-navigation" class="main-navigation gradient" role="navigation">
    			<h3 class="menu-toggle" style="display: none; ">Menu</h3>
    			<a class="assistive-text" href="#content" title="Skip to content">Skip to content</a>
    					</nav>

    Note that display:none; is in this result.

    I have not been able to determine what it is about the plugin that is causing this. Please help!

    http://wordpress.org/plugins/wp-custom-fields-search/

  2. don benjamin
    Member
    Plugin Author

    Posted 9 months ago #

    Hi,

    I've had a look at this and can see nothing in the twentytwelve theme which should cause this to happen, so can only presume it's an incompatibility with the child theme.

    If you could send me a copy of your theme files I can have a quick look and see if I can rule that out.

    Thanks,
    Don

  3. crowdesign
    Member
    Posted 6 months ago #

    Thanks! I just saw that you had responded to my post. I will send the theme files over right away.

  4. dreigenannt
    Member
    Posted 5 months ago #

    hi, don, i'm having the exact same issue as crowdesign: when i run the search, the main page navigation disappears. everything else functions as expected.

    my specs are a little different: i'm using WP 3.8 and a modification of the newsworthy theme, not a child theme.

    the site is on a staging server for client review but hasn't been approved for public viewing yet. can i email you a private link to the staging site? and if you would like a copy of the theme files, i can send those as well.

  5. emj
    Member
    Posted 5 months ago #

    Hi there, I'm having the same issue i.e. disappearing nav, but the plugin also seems to remove some of my footer.php content, which is being called using:

    <?php query_posts("page_id=#"); // GET FOOTER PAGE CONTENT ?>
        <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
        <?php the_content(); ?>
        <?php endwhile; ?>
        <?php wp_reset_query(); ?>

    This footer content is appearing on all pages except search results, and when i deactivate the plugin, the footer content (and nav) appear again.

    :( It's a great plugin and the only one i've come across that lets me search per my requirements.

    Thanks

  6. emj
    Member
    Posted 4 months ago #

    ** bump **

    Does anyone have a solution yet for the disappearing nav issue? Or know of an alternative plugin which allows for similar custom field searches?

    Cheers!

  7. xdios
    Member
    Posted 4 months ago #

    The same problem in eSell theme and WP 3.8.1

    I am looking into the plugin's code...

  8. deMediaWerker
    Member
    Posted 3 months ago #

    Great plugin, the search works perfect, but no menu and widgets in the search result page. For so far, a big problem.

Reply

You must log in to post.

About this Plugin

About this Topic