Title: Shortcode in Nitro theme
Last modified: January 7, 2019

---

# Shortcode in Nitro theme

 *  Resolved [inthecarbehind](https://wordpress.org/support/users/inthecarbehind/)
 * (@inthecarbehind)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/shortcode-in-nitro-theme/)
 * Hi there!
    I need to change the search in the header in Nitro Theme. It doesnt
   work with the seamless integration. I tried `echo do_shortcode( '[aws_search_form]');`
   in seachform.php by replacing the form tag and some code you provided to another
   user to add to functions.php
 * It didn’t work for me, nothing changed.
 * Thanks in advance!
 * P.S. As a widget it works amazing!

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [ILLID](https://wordpress.org/support/users/mihail-barinov/)
 * (@mihail-barinov)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/shortcode-in-nitro-theme/#post-11066035)
 * Hi,
 * You are talking about search form in Nitro theme that opens full screen when 
   you click on magnifying glass icon in the header?
 *  Thread Starter [inthecarbehind](https://wordpress.org/support/users/inthecarbehind/)
 * (@inthecarbehind)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/shortcode-in-nitro-theme/#post-11066128)
 * Yes, that one!
    I can change to the classic one if it matters.
 *  Plugin Author [ILLID](https://wordpress.org/support/users/mihail-barinov/)
 * (@mihail-barinov)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/shortcode-in-nitro-theme/#post-11067672)
 * It is strange because I just enable seamless integration for Nitro theme and 
   its change form on full screen with plugin ones.
 *  Thread Starter [inthecarbehind](https://wordpress.org/support/users/inthecarbehind/)
 * (@inthecarbehind)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/shortcode-in-nitro-theme/#post-11087864)
 * Hi there!
    I confirm that it still doesn’t work
 *  Plugin Author [ILLID](https://wordpress.org/support/users/mihail-barinov/)
 * (@mihail-barinov)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/shortcode-in-nitro-theme/#post-11091367)
 * Can you please tell me your theme version number?
 *  Thread Starter [inthecarbehind](https://wordpress.org/support/users/inthecarbehind/)
 * (@inthecarbehind)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/shortcode-in-nitro-theme/#post-11099078)
 * Hi!
    1.6.8
 *  Plugin Author [ILLID](https://wordpress.org/support/users/mihail-barinov/)
 * (@mihail-barinov)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/shortcode-in-nitro-theme/#post-11100722)
 * Hm, I thought that you are talking about this theme – [https://wordpress.org/themes/nitro/](https://wordpress.org/themes/nitro/)
   
   But it is only version 1.0.2. Can you give me the link where I can find this 
   theme?
 * Regards
 *  Thread Starter [inthecarbehind](https://wordpress.org/support/users/inthecarbehind/)
 * (@inthecarbehind)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/shortcode-in-nitro-theme/#post-11104764)
 * Hi!
    This is the theme I have [http://nitro.woorockets.com/](http://nitro.woorockets.com/)
   I was unaware that there is another one with the same name.
 * Cheers
 *  Plugin Author [ILLID](https://wordpress.org/support/users/mihail-barinov/)
 * (@mihail-barinov)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/shortcode-in-nitro-theme/#post-11107314)
 * Hello,
 * I find the solution for you. But you will need to make some changes in your theme
   code.
    Please open wr-nitro/woorockets/templates/common/header.php file, find
   lines
 *     ```
       $wr_nitro_header_html[] = '												<form class="' . $wr_class_outer . '" action="' . esc_url( home_url( '/' ) ) . '" method="get" role="search" ' . WR_Nitro_Helper::schema_metadata( array( "context" => "search_form", "echo" => false  ) ) . '>
       															<input required type="text" placeholder="' . esc_attr( $wr_hb_item['placeholder'] ) . '" name="s" class="txt-search extenal-bdcl">
       															<input type="submit" class="btn-search" />
       														</form>';
       ```
   
 * and replace with
 * `$wr_nitro_header_html[] = aws_get_search_form(false);`
 * Also you will need to add following theme to theme style.css file
 *     ```
       .aws-container {
       width: 300px;
       }
       ```
   
    -  This reply was modified 7 years, 4 months ago by [ILLID](https://wordpress.org/support/users/mihail-barinov/).

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Shortcode in Nitro theme’ is closed to new replies.

 * ![](https://ps.w.org/advanced-woo-search/assets/icon-256x256.png?rev=3303984)
 * [Advanced Woo Search - Product Search for WooCommerce](https://wordpress.org/plugins/advanced-woo-search/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-woo-search/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-woo-search/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-woo-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-woo-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-woo-search/reviews/)

## Tags

 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 9 replies
 * 2 participants
 * Last reply from: [ILLID](https://wordpress.org/support/users/mihail-barinov/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/shortcode-in-nitro-theme/#post-11107314)
 * Status: resolved