• Resolved Peter144

    (@peter144)


    I have installed the Search Everything Plugin and it function very well but a i have problems with my menu.
    Its my first wordpress cms site. The screen interface is build with many custom fields (custom fields template-Plugin).
    So the problem is when i used the button in the configuration of the Search Everything Search Every custom field my menu is on the search page not displayed.

    The code of my menu in header.php:
    <ul class=”menue” id=”menue”>
    <?php $top_query = new WP_Query(‘cat=8&showposts=100’); ?>
    <?php while($top_query->have_posts()) : $top_query->the_post(); ?>
    <li class=”<?php the_category_unlinked(‘ ‘); ?>”>“>
    <?php the_title();?>

    <?php endwhile; ?>

    The code in the search page source code:
    <ul class=”menue” id=”menue”>

    On all other pages it works fine. And also the Search Engine works great.
    But how can i display my menu on the search page?

Viewing 1 replies (of 1 total)
  • Thread Starter Peter144

    (@peter144)

    Ok, the problem was the query.

    It functions like this one:
    <ul class=”menue” id=”menue”>
    <?php $myposts = get_posts(‘cat=8&showposts=100’); foreach($myposts as $post) : ?>
    <li class=”<?php the_category_unlinked(‘ ‘); ?>”>“>
    <?php the_title();?>

    <?php endforeach; ?>

Viewing 1 replies (of 1 total)
  • The topic ‘WordPress.com Forums ? Support Problems with Search Every Custom Field’ is closed to new replies.