Title: do shortcode not working
Last modified: August 20, 2016

---

# do shortcode not working

 *  [markyeoj](https://wordpress.org/support/users/markyeoj/)
 * (@markyeoj)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/do-shortcode-not-working/)
 * hello i have big problem here, if im putting the do_shrocode funtion on my single.
   php its not working but on my plugin’s template and post/page editor it working..
   i dont know what’s wrong. its displaying nothing..
 *     ```
       <?php
       if ( have_posts() ) : while ( have_posts() ) : the_post();
       		?>
        			<div class="blog-post" style="margin-left: 207px; margin-top: -20px;">
   
       				<h2 class="titel"><?php the_title();?></h2>
   
       				<div class="blog-content">
   
       					<div class="feat-img">
   
       					<?php if(has_post_thumbnail) { the_post_thumbnail('thumbnail');} ?> 
   
       					</div>
       					<?php
       							$urlbox = get_video_box();
   
       							echo $urlbox[0]; // echo out the url of a post
       							echo $urlbox[1]; // echo out the url description of a post
       							echo do_shortcode('[jwplayer config="Out-of-the-Box" file="' . $urlbox[0] . '" image="http://www.mywebsite.com/myimage.jpg"]');
       							?>
       					<?php the_content(); ?>
       				</div>
       			<div class="clear"></div>
       			</div>
        		<?php endwhile;
        		 endif; ?>
       ```
   

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/do-shortcode-not-working/#post-3136737)
 * you have missed to post which plugin the shortcode belongs to.
 * is that stuff in square brackets really a shortcode? or does, whatever plugin
   it is, use regular expressions?
 * to find out, try:
 * `echo apply_filters('the_content','[jwplayer config="Out-of-the-Box" file="' .
   $urlbox[0] . '" image="http://www.mywebsite.com/myimage.jpg"]');`
 *  Thread Starter [markyeoj](https://wordpress.org/support/users/markyeoj/)
 * (@markyeoj)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/do-shortcode-not-working/#post-3136754)
 * Sorry, its JWPlayer Plugin, actually the shortcode is working on the post/page
   editor
 * **[jwplayer config=”Out-of-the-Box” file=”[https://s3.amazonaws.com/Kick_Fills_Previews/Kick+Fills+-+Linear+Pattern+-5](https://s3.amazonaws.com/Kick_Fills_Previews/Kick+Fills+-+Linear+Pattern+-5)..
   mp4″ image=”[http://www.mywebsite.com/myimage.jpg”%5D](http://www.mywebsite.com/myimage.jpg”%5D)**
 * i don’t know what’s going on.. and I tried your suggestion but also not working..
 * _[[No bumping](http://codex.wordpress.org/Forum_Welcome#No_Bumping), thank you.]_

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

The topic ‘do shortcode not working’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [markyeoj](https://wordpress.org/support/users/markyeoj/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/do-shortcode-not-working/#post-3136754)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
