Title: shortcode
Last modified: August 31, 2016

---

# shortcode

 *  [msbsally](https://wordpress.org/support/users/msbsally/)
 * (@msbsally)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/shortcode-423/)
 * I have used
    <?php echo do_shortcode(‘[espro-slider id=45]’); ?> inside my template
   file , as per suggestion given in googling unfortunately its not working for 
   me. can any one help me in this issue. Am new to wp.

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

 *  [Naxia](https://wordpress.org/support/users/axeea/)
 * (@axeea)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/shortcode-423/#post-7398638)
 * Hi
 * First of all Welcome to WP 🙂
    And i think you need to add double comma around
   id instead of just id number. Do like this;
 *     ```
       <?php echo do_shortcode('[espro-slider id="45"]'); ?>
       ```
   
 * If it does not work for you than i will suggest to contact to the particular 
   plugin’s support forum. They can help you in better way. Because it might be 
   issue with your plugin settings.
 * Good Luck!
 *  Thread Starter [msbsally](https://wordpress.org/support/users/msbsally/)
 * (@msbsally)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/shortcode-423/#post-7398643)
 * Thank you for your answer Naxia.
    But its not working for me.Am getting nothing
   except black background. Once again to look into my question
 *  Thread Starter [msbsally](https://wordpress.org/support/users/msbsally/)
 * (@msbsally)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/shortcode-423/#post-7398644)
 * I mentioned , Once again thanks for looking into my question.
 *  Thread Starter [msbsally](https://wordpress.org/support/users/msbsally/)
 * (@msbsally)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/shortcode-423/#post-7398669)
 * Hi,
    In my Custom theme alone it is not working. In WP’s default theme its working
   fine. I created widget and menus using,
 *     ```
       function arphabet_widgets_init() {
   
       	register_sidebar( array(
       		'name'          => 'MSB Widget',
       		'id'            => 'home_right_1',
       		'before_widget' => '<div>',
       		'after_widget'  => '</div>',
       		'before_title'  => '<h2 class="rounded">',
       		'after_title'   => '</h2>',
       	) );
   
       }
       add_action( 'widgets_init', 'arphabet_widgets_init' );
       ```
   
 * Am not getting my custom menus when i called in header.php as
    `<?php wp_nav_menu('
   header1'); ?>` Now Slider images also not working. Am using image-slider(lite)
   plugin.

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

The topic ‘shortcode’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [msbsally](https://wordpress.org/support/users/msbsally/)
 * Last activity: [9 years, 12 months ago](https://wordpress.org/support/topic/shortcode-423/#post-7398669)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
