Search box widget on search results page

Support Area Forums Authentic Search box widget on search results page

Viewing 9 posts - 1 through 9 (of 9 total)
URL to the page in question:
  • Author
    Posts
  • #4530
    rainbowsplash
    Participant

    Is there a way to have the search widget remain on the search results landing page?

    #4533
    Bill Robbins
    Moderator

    You can add a search form to the search results. Here’s how:

    1. Go to the appearance section and select edit to open up the theme editor.
    2. From the list of files on your right, select index.php
    3. Look for this spot:

    <div class=”content page-left clearfix”>

    and add this right below it:

    4. Save your changes.

    Let me know if you have any questions/trouble.

    #4534
    rainbowsplash
    Participant

    Great. Will try it.

    PS I still need to know how to change the code to add more than 5 pics on the home page. Appreciate your wonderful assistance.

    #4535
    rainbowsplash
    Participant

    My index.php page is not accessible. It’s the Main Index Template
    (index.php) page. All that’s there is:

    #4536
    Bill Robbins
    Moderator

    The index.php you’re looking for is inside the authentic theme folder. Most likely you can find it at wp-content/themes/authentic/index.php.

    #4540
    Bill Robbins
    Moderator

    You’ll need to edit the home.php file and look for this spot:

    <?php $loop = new WP_Query( array( ‘post_type’ => ‘slide’, ‘posts_per_page’ => 5, ‘orderby’=>’menu_order’, ‘order’=>’ASC’ ) ); ?>

    Change the 5 to a -1 and save your changes. That should let all slides be visible now.

    #4541
    rainbowsplash
    Participant

    Found it and got the images set to -1. Excellent. Thank you!!!
    Working on the others soon.

    Could you add a login button to the support forum page? If I click on the support link within the email, I have to figure out where to go to log in. I end up backing out the text in the url to get there. No biggie. I have it set to keep me logged in but I’m sometimes on 3 different computers.

    #4543
    Bill Robbins
    Moderator

    Thanks for the suggestion for the login button.

    #4551
    rainbowsplash
    Participant

    Added the search bar on the search results page just fine. It ends up a bit close to the page title, but that’s OK. At least it’s there! Thanks!

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Search box widget on search results page’ is closed to new replies.