WordPress.org

Forums

Search Bar Madness! (12 posts)

  1. jonjaxproductions
    Member
    Posted 1 year ago #

    Hello,
    I recently took over the maintenance for this website.

    My biggest issue currently is getting the search bar to look good in the header (I would like it to be next to the Social Media logos.) and also for the search bar to give good results.

    I'm not sure why but when you hit Search the results page has no links and only plain text. Please help! -Jon Jax

  2. Andrew
    Nuh uh moderator
    Posted 1 year ago #

    What theme do you need help with?

  3. jonjaxproductions
    Member
    Posted 1 year ago #

    I am currently using orion

  4. Andrew
    Nuh uh moderator
    Posted 1 year ago #

    Are you sure that's the right name? I can't find it: http://wordpress.org/themes/search.php?q=orion

  5. jonjaxproductions
    Member
    Posted 1 year ago #

    Yes I am sure. I couldn't find it on WordPress either, it may be discontinued? But it came up on Google here

  6. Andrew
    Nuh uh moderator
    Posted 1 year ago #

    Looks like your theme's support is here: http://www.jellythemes.com/support/

  7. Shameem Reza
    Member
    Posted 1 year ago #

    You better talk with your theme provider. Because for premium theme better you take support from them, I am telling this cause you own support from them. :) Although whatever you want, you can do it easily, if you have little bit coding knowledge on WordPress.

  8. jonjaxproductions
    Member
    Posted 1 year ago #

    Actually that isn't the right Orion template, I am using the one listed here http://www.web2feel.com/orion/. I have tried contacting the developer but to no avail. I got the search bar to look good in the header but I still have one issue; the search.php form results look bad and don't include hyperlinks or any styling. Any idea how to fix this? This is the website I'm working on:
    http://americanhoperadio.com/

    Here is my search.php code:

    Current Search.php
    <?php get_header(); ?>

    <div class="eleven columns ">
    <div id="content" >

    <div class="subtitle">
    <p> <?php $mySearch =& new WP_Query("s=$s & showposts=-1"); $num = $mySearch->post_count; echo $num.' search results for '; the_search_query();?> in <?php get_num_queries(); ?> <?php timer_stop(1); ?> seconds.</p>
    </div>

    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>

    <article class="post" id="post-<?php the_ID(); ?>">
    <div class="title">
    <h2>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></h2>
    </div>

    <div class="postmeta">
    <span class="author">Posted by <?php the_author(); ?> </span> <span class="clock"> <?php the_time('M - j - Y'); ?></span>
    </div>

    <div class="entry">
    <?php wpe_excerpt('wpe_excerptlength_index', ''); ?>
    <div class="clear"></div>
    </div>
    </article>
    <?php endwhile; ?>

    <?php getpagenavi(); ?>

    <?php else : ?>

    <div class="post"><div class="title">
    <h4>Your search - <?php the_search_query();?> - did not match any entries.</h4>
    </div>

    <div class="entry">
    <p>Suggestions:</p>

    • Make sure all words are spelled correctly.
    • Try different keywords.
    • Try more general keywords.

    </div>
    </div>

    <?php endif; ?>

    </div>
    </div>

    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

  9. kmessinger
    Forum Moderator
    Posted 1 year ago #

    A "free" theme with no support is worth exactly what you paid for it - zip! If you want an less problematic life, get a theme that offers support.

    The next time you post code, please check this out.
    http://codex.wordpress.org/Forum_Welcome#Posting_Code

  10. jonjaxproductions
    Member
    Posted 1 year ago #

    Cool! Thanks kmessinger you are awesome!

  11. jonjaxproductions
    Member
    Posted 1 year ago #

    A "free" theme with no support is worth exactly what you paid for it - zip! If you want an less problematic life, get a theme that offers support.

    So, kmessinger, seeing as you are the moderator and had taken down my recent post that described my situation in a clearer light: What solution do you actually offer? Your previous post did nothing to offer any intelligence on my problem nor help to elicit response from any forum user who

      actually
    has the knowledge I seek. The response of "If you want an less problematic life, get a theme that offers support." is a cheap way of avoiding the problem I have due to the face that you don't know the solution. My opinion is that if you don't have any real advice to offer, don't post on the forum. But thanks for link to the article on posting code. Once again, here is the php form I need help with, for anyone who can help me find a way to get a cleaner search result page:
    <?php get_header(); ?>
    
    <div class="eleven columns ">
    <div id="content" >
    
    <div class="subtitle">
    <p> <?php $mySearch =& new WP_Query("s=$s & showposts=-1"); $num = $mySearch->post_count; echo $num.' search results for '; the_search_query();?> in <?php get_num_queries(); ?> <?php timer_stop(1); ?> seconds.</p>
    </div>
    
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    
    <article class="post" id="post-<?php the_ID(); ?>">
    <div class="title">
    <h2>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></h2>
    </div>
    
    <div class="postmeta">
    <span class="author">Posted by <?php the_author(); ?> </span> <span class="clock"> <?php the_time('M - j - Y'); ?></span>
    </div>
    
    <div class="entry">
    <?php wpe_excerpt('wpe_excerptlength_index', ''); ?>
    <div class="clear"></div>
    </div>
    </article>
    <?php endwhile; ?>
    
    <?php getpagenavi(); ?>
    
    <?php else : ?>
    
    <div class="post"><div class="title">
    <h4>Your search - <?php the_search_query();?> - did not match any entries.</h4>
    </div>
    
    <div class="entry">
    <p>Suggestions:</p>
    
        Make sure all words are spelled correctly.
        Try different keywords.
        Try more general keywords.
    
    </div>
    </div>
    
    <?php endif; ?>
    
    </div>
    </div>
    
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>
  12. kmessinger
    Forum Moderator
    Posted 1 year ago #

    We try our best to help everyone with any WordPress problems. However, due to the great variety of existing themes and plugins it is nearly impossible to know everything. That is the reason we support themes from https://wordpress.org/themes. Your best chance is to try to contact the developer for support (again). It’s always best to go to where the theme/plugin is officially supported when trying to get support.

    With a non supported theme, you have very little chance getting assistance. Occasionally someone may have a solution if it is a CSS problem but a php problem is less likely to get support. That is why my "solution" is to get a theme that is supported. Otherwise you are tilting at windmills.

    This forum is not about programing PHP. For PHP questions you might start at http://www.phphelp.com/ You might also consider a plugin to handle the search function.

Topic Closed

This topic has been closed to new replies.

About this Topic