Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1008537

    All the pages of my site have a full width easy image slider at the top, and I’ve also added the full width sub menu as my main menu.
    I would like to put both on the page that appears when people do a search.
    How can I go about this?
    I’ll post my site info. below.

    #1008602

    Hey Moondreamer21,

    You need to create a custom header for the search page.

    Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)

    Best regards,
    Victoria

    #1008646

    I have already worked on this topic this with Ismael and he was able to help a lot, perhaps he can take a look?
    Here’s a link to the other thread where he was helping me get this header/slider images on certain pages – https://kriesi.at/support/topic/advanced-layout-editor-for-blog-post-page/

    #1008975

    Hi,

    I modified the search page for you – I had to add this code to the child theme functions.php file:

    
    add_action('ava_after_main_title', 'ava_after_main_title_mod', 10, 1);
    function ava_after_main_title_mod() 
    {
    	if(!is_search()) return;
    	echo do_shortcode("[av_slideshow_full size='featured' min_height='0px' stretch='' animation='slide' conditional_play='' autoplay='false' interval='5' control_layout='av-control-default' src='' attachment='' attachment_size='' position='top left' repeat='no-repeat' attach='scroll' av_uid='av-jjm0kbb6']
    [av_slide_full id='14787' av_uid='av-4pbdy1'][/av_slide_full]
    [/av_slideshow_full]
    
    [av_submenu which_menu='' menu='660' position='center' color='alternate_color' mobile='active' mobile_submenu='aviaTBmobile_submenu' av_uid='av-jjm0iu4w']
    [av_submenu_item title='Menu Item 1' link='' linktarget='no' button_style='' av_uid='av-5ahrxl']
    [av_submenu_item title='Menu Item 2' link='' linktarget='no' button_style='' av_uid='av-4og3eh']
    [/av_submenu]");
    }
    

    You can test it here: https://www.barrelracingtips.com/?s=horse

    Best regards,
    Peter

    #1008994

    Thanks so much Dude! Although I was wanting the same slider image from my Articles + Videos page (link in PC).
    Is there a way I can change that image out in the code you provided?
    Thanks again!

    #1009035

    Hey!

    Yes I changed the code for you – basically I just replaced the value 14787 in the code above with 14746 (attachment id of the other slide image).

    Regards,
    Peter

    #1009064

    Sweet, thanks a bunch!

    #1009158

    Hi,

    Great! Again, please feel free to open a new thread if you need anything else. :)

    Best regards,
    Ismael

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.