Your Time:
Our Time:
← Back to discussions

Add Search to TopBar Right

Need help with a different issue? Search the forums or open a new ticket.
Open a support ticket

This topic has 8 replies, 2 voices, and was last updated 10 years, 5 months ago by Anonymous.

  • 2015-12-01 at 3:02 am
    Support Expired
    #11246
    TheSteve19
    Participant
    • Topics: 3
    • Replies: 11
    • Total posts: 14
    • Post count: 11

    I want to add

    <?php get_search_form(); ?>

    To the right topbar to get a search bar on all pages, however, this doesn’t work as it just shows the HTML of it. Is there any way to do this?

    2015-12-01 at 11:35 am
    #11250
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    Please use Search Widget by going to Appearance-> Widgets-> Search Widget and drag it in Topbar Right.
    See the screenshot below.

    2016-03-12 at 3:38 am
    Support Expired
    #13333
    TheSteve19
    Participant
    • Topics: 3
    • Replies: 11
    • Total posts: 14
    • Post count: 11
    This reply has been marked as private.
    2016-03-12 at 10:49 am
    #13336
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    Fixed the issue. Edited Files: register_widget.php and all the header styles from header folder.

    2016-03-13 at 11:04 pm
    Support Expired
    #13344
    TheSteve19
    Participant
    • Topics: 3
    • Replies: 11
    • Total posts: 14
    • Post count: 11
    This reply has been marked as private.
    2016-03-13 at 11:16 pm
    Support Expired
    #13345
    TheSteve19
    Participant
    • Topics: 3
    • Replies: 11
    • Total posts: 14
    • Post count: 11
    This reply has been marked as private.
    2016-03-14 at 11:42 am
    #13353
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    1. Open your search.php file and do comment this <?php get_sidebar();?> on line#59.
    2. To remove authors name: comment this the_author_posts_link(); on line#24.

    2016-03-14 at 7:10 pm
    Support Expired
    #13361
    TheSteve19
    Participant
    • Topics: 3
    • Replies: 11
    • Total posts: 14
    • Post count: 11
    This reply has been marked as private.
    2016-03-15 at 10:02 am
    #13365
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    If you have not yet given ratings to the theme, kindly please give to the theme by going to your themeforest account downloads section and below the Download button of the theme you can find the stars to click on for ratings 🙂

You must be logged in to reply to this topic.