Forum Replies Created

Viewing 1 replies (of 1 total)
  • goto10 – thank you so much! I was beating myself up trying to figure out a simple way to get shortcode to work in non-post locations (theme sidebar, etc) and this did the trick.

    Just as a heads up on what I was trying to do: I wanted new users’ blogs to be able to display an image that they upload (sort of like an avatar). I wanted the image to be dynamic based on each users’ blog (so id 1 for each blog would be a different picture obviously).

    Using your above method I was able to insert:

    <div class="side_box">
       <h3><?php _e('My Image','monochrome'); ?></h3>
       <ul><?php echo do_shortcode('[singlepic id=1 w=100]');?></ul>
       </div>

    Works wonderfully. Thanks again!

Viewing 1 replies (of 1 total)