<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sat, 25 May 2013 20:55:21 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPMaster.com: Master Dynamic Content with WordPress Shortcodes]]></title>
      <guid>http://www.phpdeveloper.org/news/18200</guid>
      <link>http://www.phpdeveloper.org/news/18200</link>
      <description><![CDATA[<p>
On PHPMaster.com today there's a new tutorial for the WordPress users out there looking to <a href="http://phpmaster.com/master-dynamic-content-with-wordpress-shortcodes/">work with dynamic content and shortcodes</a> to make your site easier to use and to bring more content to user's attention.
</p>
<blockquote>
The advantages to using shortcodes are obvious. First and foremost, it allows page designs to become far more unique. It also relieves the website administrator from having to create a large list of custom fields in order to perform basic content insertion. [...] And, finally, shortcodes allow a design to come alive and be truly dynamic and interesting to the end user. Too many WordPress blogs and magazine websites have adhered to the format of a big title, a standard block of text, and comments. That no longer has to be case.
</blockquote>
<p>
They talk about using the "functions.php" file for the custom functionality, who to use them in your posts and how to use them in the theme-specific instances. Using the "add_shortcode" you can relate these custom functions to their codes for both simple and more advanced calls (code included). 
</p>]]></description>
      <pubDate>Mon, 09 Jul 2012 11:47:13 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[SitePoint PHP Blog: How to Create Your Own WordPress Shortcodes]]></title>
      <guid>http://www.phpdeveloper.org/news/15414</guid>
      <link>http://www.phpdeveloper.org/news/15414</link>
      <description><![CDATA[<p>
On the SitePoint PHP blog today there's <a href="http://blogs.sitepoint.com/2010/11/11/wordpress-shortcodes-tutorial/">a new post</a> showing how how to make your own "short code" system that allows for custom function execution.
</p>
<blockquote>
WordPress doesn't normally allow you to add PHP code to pages or posts. That's for the best: you don't want clients to discover the power of the <a href="http://php.net/manual/en/function.unlink.php">unlink</a> function! However, you can create custom functions which are executed when a shortcode is encountered within the post text.
</blockquote>
<p>
There's two code snippets included - one showing a simple function call, "Hello World" style, and another version that lets you define parameters to feed into the method. There's also a simple example of how you could allow them to include CSS styling into the code example too.
</p>]]></description>
      <pubDate>Thu, 11 Nov 2010 08:26:36 -0600</pubDate>
    </item>
  </channel>
</rss>
