Now, with a shortcode for the single most powerful PHP function there is (preg_replace), I dare to imagine that there is nothing that this simple plugin cannot do.
If you know what this amazing function, preg_replace, is capable of then put it to the test.
Here is an example of the syntax for the new new shortcode that calls preg_replace:
[preg_replace replace=”/to be searched/” with=”I replaced”]<li>The content to be searched</li>[/preg_replace]
and this is what you get:
The content I replaced
Related Posts by Tags
- My new Plugin for making cURL calls (Dec 2nd, 2012)
I created this plugin that uses a shortcode to call wp_remote_get with parameters you pass to parsed and display a bit of HTML from a page on another site. You can include this shortcode in your page ...
- I added a Shortcode feature my Testimonials Plugin (Nov 2nd, 2012)
Now you can place your choice Comments on any Page or Post using a Shortcode.
Examples:
This would display 1 random Comments with the Karma Value of 0 under the heading Random ...