Skip links

Join 2,509 other smart freelancers!

Sign up to learn how to keep your skills up to date on the tech that matters most and confidently sell your skills to a growing customer base.
I will never spam you. You can unsubscribe at any time.

Reader Interactions


  1. This is great! The only problem I’m running into is the shortcode snippet messes up the rest of my widgets by causing them to align horizontally rather than vertically. It also changes the size of my widget titles. Any suggestions how I can fix this?

  2. Is it possible to include a php function within a shortcode? I can’t seem to get that to work.

  3. Thanks for this great tutorial. Do you have a tutorial on displaying list of posts in one post with shortcodes. I found many plugins for that, but I want to do it manually instead.

  4. Hi,This is great.
    I have a doubt..I install a plugin on my site , and it contain a short code like [wpgc id=”1″].So for getting result i need to past this short code on corresponding post.It is working perfectly..Now i need to convert this short code to php code .so i create a new page in that plugin folder namely camp.php & it contain

    but when i run that page then “Call to undefined function do_shortcode()” error msg.
    any idea?