Important notice: we will respond to all open ticket requests up until November the 1st. After this date, we will be unable to process the ticket requests here on Ticksy.

Okay
  Public Ticket #1488258
search page
Closed

Comments

  • pashaUSA started the conversation

    I feel that search page needs to have more display options for page title (to include breadcrumbs or not, search categories, posts or pages) it seems like right now search goes through all content including pages, and media files, and I don't want that, I want it to search only in specific post categories, or maybe some in other custom type.  Also number of words displayed per post as excerpt, in search results, needs to be controlled too. 

    How can I do that in easy way? or I need to dig into the code? 

    One more thing, how can I display search icon in floating/sticky menu?

    Thank you


  •  1,845
    Elated replied

    Hello,

    1. Such an option, unfortunately, does not exist within the theme, we are sorry. Achieving this will require some custom coding, but we are not in a position to accept any custom work, because we primarily need to focus on providing Theme Support to all customers. We hope you understand.

    In case you are not familiar with programming, you could hire someone to do this for you. You could look for someone who you can hire for this kind of job at the following link: - http://studio.envato.com

    Thanks for understanding.

    2. Just go to Appearance >> Widgets >> Sticky Header Widget area and then add Elated Search Opener widget



    The Elated Support Center has been moved to our centralized support platform. 

    Please note that any existing tickets prior to this change will be answered right here on Ticksy, and in due time. 

    If you wish to submit a new support request, for all new inquiries please head on to our Help Center.

    Elated Themes is part of Qode Interactive – the home of 300+ premium WordPress themes.

    Don’t forget to sign up for our newsletter and be the first to find out all the latest news.

  • pashaUSA replied

    I figured it out on my own (with google's help)

    copy - paste the code into your functions.php file

    //Exclude pages from WordPress Search
    if (!is_admin()) {
    function wpb_search_filter($query) {
    if ($query->is_search) {
    $query->set('post_type', 'post');
    }
    return $query;
    }
    add_filter('pre_get_posts','wpb_search_filter');
    }

    and that's it. 

  •  1,845
    Elated replied

    Glad to hear that!

    Thanks for sharing also.

    Let us know if there is anything else we can help you with.


    The Elated Support Center has been moved to our centralized support platform. 

    Please note that any existing tickets prior to this change will be answered right here on Ticksy, and in due time. 

    If you wish to submit a new support request, for all new inquiries please head on to our Help Center.

    Elated Themes is part of Qode Interactive – the home of 300+ premium WordPress themes.

    Don’t forget to sign up for our newsletter and be the first to find out all the latest news.