Title: select2 in Header
Last modified: August 22, 2016

---

# select2 in Header

 *  [ccuevas](https://wordpress.org/support/users/ccuevas/)
 * (@ccuevas)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/select2-in-header/)
 * I´m trying to put select 2 in header with this code:
 * <?php if(function_exists(“transposh_widget”)) { transposh_widget(array(), array(‘
   title’ => ”, ‘widget_file’ => ‘select2/tpw_select2.php’)); }?>
 * But it doesn´t work:
 * Parse error: syntax error, unexpected ”)); }?>’ (T_CONSTANT_ENCAPSED_STRING),
   expecting ‘)’ in /home/mxkmyixg/public_html/nueva/wp-content/themes/Avada/framework/
   headers/header-v1.php on line 22
 * It works only with ‘flags/tpw_flags_css.php‘
 * Could anyone help me please?
 * Thanks
 * [https://wordpress.org/plugins/transposh-translation-filter-for-wordpress/](https://wordpress.org/plugins/transposh-translation-filter-for-wordpress/)

The topic ‘select2 in Header’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/transposh-translation-filter-for-
   wordpress_495166.svg)
 * [Transposh WordPress Translation](https://wordpress.org/plugins/transposh-translation-filter-for-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/transposh-translation-filter-for-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/transposh-translation-filter-for-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/transposh-translation-filter-for-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/transposh-translation-filter-for-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/transposh-translation-filter-for-wordpress/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [ccuevas](https://wordpress.org/support/users/ccuevas/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/select2-in-header/)
 * Status: not resolved