Title: shortcode
Last modified: March 1, 2017

---

# shortcode

 *  [jalves](https://wordpress.org/support/users/jalves/)
 * (@jalves)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/shortcode-493/)
 * i’m trying to use the shortcode
 * <?php echo do_shortcode([wi_autosearch_suggest_form]); ?>
 * but is not working…
 * i trying putting on my header..
 * thanks!!!

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

 *  Plugin Author [Codieslab](https://wordpress.org/support/users/netflixtechweb/)
 * (@netflixtechweb)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/shortcode-493/#post-8864060)
 * Hello Jalves
 * You can write short code like <?php echo do_shortcode(‘[wi_autosearch_suggest_form]’);?
   >
 *  Thread Starter [jalves](https://wordpress.org/support/users/jalves/)
 * (@jalves)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/shortcode-493/#post-8902543)
 * Hello again!!
 * sorry for da delay, still not working…it returns syntax error..
 * >  <?php
   >  /** * The header for our theme. * * Displays all of the <head> section
   > and everything up till <div id=”content”> * * [@package](https://wordpress.org/support/users/package/)
   > Sydney */ ?><!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <
   > meta charset=”<?php bloginfo( ‘charset’ ); ?>”> <meta name=”viewport” content
   > =”width=device-width, initial-scale=1″> <link rel=”profile” href=”[http://gmpg.org/xfn/11″&gt](http://gmpg.org/xfn/11″&gt);
   > <link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>”> <?php if (!
   > function_exists( ‘has_site_icon’ ) || ! has_site_icon() ) : ?> <?php if ( get_theme_mod(‘
   > site_favicon’) ) : ?> <link rel=”shortcut icon” href=”<?php echo esc_url(get_theme_mod(‘
   > site_favicon’)); ?>” /> <?php endif; ?> <?php endif; ?>
   > <?php wp_head(); ?>
   >  </head>
   > <body <?php body_class(); ?>>
   > <?php do_action(‘sydney_before_site’); //Hooked: sydney_preloader() ?>
   > <div id=”page” class=”hfeed site”>
   >  [<?php _e( ‘Skip to content’, ‘sydney’ ); ?>](https://wordpress.org/support/topic/shortcode-493/?output_format=md#content)
   >  <?php do_action(‘sydney_before_header’); //Hooked: sydney_header_clone() ?
   > >
   >  <header id=”masthead” class=”site-header” role=”banner”>
   >  <div class=”header-
   > wrap”> <div class=”container”> <div class=”row”> <div class=”col-md-4 col-sm-
   > 8 col-xs-12″> <?php if ( get_theme_mod(‘site_logo’) ) : ?> ” title=”<?php bloginfo(‘
   > name’); ?>”>” alt=”<?php bloginfo(‘name’); ?>” /> <?php else : ?> <h1 class
   > =”site-title”>” rel=”home”><?php bloginfo( ‘name’ ); ?></h1> <h2 class=”site-
   > description”><?php bloginfo( ‘description’ ); ?></h2> <?php endif; ?> </div
   > > **<?php echo do_shortcode(‘[wi_autosearch_suggest_form]’); ?>**
   >  <div class=”col-md-8 col-sm-4 col-xs-12″>
   >  <div class=”btn-menu”></div> <nav
   > id=”mainnav” class=”mainnav” role=”navigation”> <?php wp_nav_menu( array( ‘
   > theme_location’ => ‘primary’, ‘fallback_cb’ => ‘sydney_menu_fallback’ ) ); ?
   > > </nav><!– #site-navigation –>
   >  </div>
   >  </div> </div> </div> </header><!– #masthead –>
   >  <?php do_action(‘sydney_after_header’); ?>
   >  <div class=”sydney-hero-area”>
   >  <?php sydney_slider_template(); ?> <div class
   > =”header-image”> <?php sydney_header_overlay(); ?> ” width=”<?php echo esc_attr(
   > get_custom_header()->width ); ?>” alt=”<?php bloginfo(‘name’); ?>” title=”<?
   > php bloginfo(‘name’); ?>”> </div> <?php sydney_header_video(); ?>
   >  <?php do_action(‘sydney_inside_hero’); ?>
   >  </div>
   >  <?php do_action(‘sydney_after_hero’); ?>
   >  <div id=”content” class=”page-wrap”>
   >  <div class=”container content-wrapper”
   > > <div class=”row”>
 * i’m trying to put in the middle of the heard
    -  This reply was modified 9 years, 2 months ago by [jalves](https://wordpress.org/support/users/jalves/).

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

The topic ‘shortcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-autosearch_198ac0.svg)
 * [WP AutoComplete Search](https://wordpress.org/plugins/wp-autosearch/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-autosearch/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-autosearch/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-autosearch/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-autosearch/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [jalves](https://wordpress.org/support/users/jalves/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/shortcode-493/#post-8902543)
 * Status: not resolved