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
I released an update to this Comment Testimonials plugin that makes it easy to manually change the Comment Karma from the main comments section in your WordPress Admin.
You can also move comments, from the page or post that they were made on, to any page or post you want them to be on.
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 or post.
Here is an example of the shortcode that will display the Download Stats page for this Plugin on WordPress.org:
[remote_get url="http://wordpress.org/extend/plugins/shortcurl/stats/" start='<div class="block-content"' stop='!-- block-content--' length="-1" replace="='/extend" with="='http://wordpress.org/extend" replace2="%2Fextend%2F" with2="http%3A%2F%2Fwordpress.org%2Fextend%2F"].
and this is what you get:
Downloads Per Day
Internet freedom needs a global network behind it. fightforthefuture.org has launched The Internet Defense League. Now you can defend the net by broadcasting action messages on your own sites using this widget. You can also tell the world that you are a member of the league by displaying one of the IDL badges hosted by internetdefenseleague.org.
I created a new Plugin for WordPress that uses 0gravatar.com to generate an image of the user’s display_name if they do not yet have a Gravatar. This Plugin replaces the get_avatar function in pluggable.php to pass an alternate image to gravatar.com to use if they do not yet have a gravatar.
Comment on this post with an email address that you have not setup a gravatar on and see how it woks.
I added a whole new SHAREABLE Widget to my old TERRIBL Plugin. Now it’s even easier to share a link to your site. Check out my Shareable Link at the top of the left sidebar.
This new SHAREABLE Widget features customizable styles and easy-to-copy link code that others can put on there site. It also tracks Impressions and Click Through stats just like the the old TERRIBL Widget.
Check it out and lit me know how you like it. I’m always open to new ideas.
Now you can place your choice Comments on any Page or Post using a Shortcode.
[TESTIMONIALS title="Random Testimonial" number="1" /]
This would display 1 random Comments with the Karma Value of 0 under the heading Random Testimonial
[TESTIMONIALS title="Client Testimonials" karma="100" number="8" order="DESC" /]
This would display your 8 most recent Comments with the Karma Value of 100 under the heading Client Testimonials
Please Let me know if have any questions, comments, or suggestions.
I wrote this little Widget for my Anti-Malware Pligins’ site, GOTMLS.NET. I get so many wonderful testimonials via comments from my … and I wanted to display some of my favorites in the sidebar. I’ve release this little Testimonials Widget on the WordPress Repository because I didn’t see any other plugin that did this simple task.
Just set the Comment Karma on your favorite comments then set the Karma value in the Widget settings to match. Otherwise this plugin just queries all the comments with the default Karma of 0.
I plan on adding a few more features when I have time but the idea here is to keep it simple: Display some rotating comments as Testimonials.
Let me know what you think in the comments.
This Blog is one year old today. Now I can use the SMALY Widget that I wrote for the SHH Blog on this Blog. You can see links to my one-year-old posts on the sidebar under “THIS TIME LAST YEAR”.
I released the new scan engine in version 1.2.10.05 today. This is the scan process that I’ve had available as a BETA for a couple months but it was not ready for release until now. It take longer because it breaks the scan into smaller processes that complete independently of the scan initiation process. This has a better success rate (especially on server with lots of files or minimal memory) and allows for better error handling.
So there are now two types of scans:
- Quick Scan – Good for small file systems, fast servers, or sites that have post restriction.
- Complete Scan – Good for large file systems, servers with irregular permission issues, or low memory allocation.
The Automatic Fix process and File Viewer have been improved too. It loads nicer now and you can move this new pop-up window around on the page :-).
Please give me feedback on these new features and scan options.