• Resolved stratalignnz

    (@stratalignnz)


    PLEASE NOTE: we do have a valid licence on our live site but this is our testing environment.

    I am using Hybrid Composer, with Light Wire Theme. Currently the theme option for menus has a check box to call the standard post search button. See image1

    I believe it is pulling this code from the parent themes functions.php file:

    I want to replace this search box with your form [aws_search_form], but the only way this can be inputted is through the themes custom HTML section please see image below:

    I have tried various solutions like trying to echo the shortcode but it is not working.

    [echo array( $this, ‘markup’ )();]

    [echo aws_searchbox_markup();]

    It just displays the wording i.e. aws_searchbox_markup();

    How can I add this to the HTML please?

    • This topic was modified 1 year, 4 months ago by stratalignnz.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author ILLID

    (@mihail-barinov)

    Hi,

    Did you try to use shortcode

    [aws_search_form]

    ?

    Thread Starter stratalignnz

    (@stratalignnz)

    Yes of course I did but all it does is display the code.

    Plugin Author ILLID

    (@mihail-barinov)

    In this case I think this content box just doesn’t allow you to add shortcodes inside it.

    You can try to enable the ‘Seamless integration’ option from the plugin settings page. It must replace all your default search forms with the plugin ones.

    Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add Shortcode to the Custom HTML for theme’ is closed to new replies.