By Santiago on April 16, 2009
Based on, Smashing Magazine article, with this 5 new and totally killer WordPress hacks to make your blog stand out from the crowd. In each entry, you’ll find an explanation of the code as well as the kinds of problems that the hack solves. 1. Create TinyURLs On The Fly The problem. Because Twitter has [...]
Posted in WordPressCreme News | Tagged Hacks, How To, Resource, Snippet, Wordpress
By Santiago on April 15, 2009
JQuery is very popular now in WordPress used for menus, lists, form validation and it is used for comment forms style modification too.
In this post I want to show you How you can change the style of your comment forms in WordPress making more great looking using JQuery.
When comment form is selected JQeury changes the style of the forms using some of the CSS classes,changing the text, background and border form color.
Posted in Tips & Tricks | Tagged Code, Form, JQuery, Snippet, Style
By Santiago on April 1, 2009
function donate_shortcode( $atts ) { extract(shortcode_atts(array( ‘text’ => ‘Make a donation’, ‘account’ => ‘REPLACE ME’, ‘for’ => ”, ), $atts)); global $post; if (!$for) $for = str_replace(” “,”+”,$post->post_title); return ‘<a class=”donateLink” href=”https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=’.$account.’&item_name=Donation+for+’.$for.’”>’.$text.’</a>’; } add_shortcode(‘donate’, ‘donate_shortcode’); Replace the default ‘account’ with your paypal email address, and output using [donate]. Remember you can override the default ‘text’ [...]
Posted in Tips & Tricks | Tagged Code, How To, Snippet
By Santiago on March 22, 2009
A useful code snippet that displays how many posts you’ve made.
Posted in Tips & Tricks | Tagged Code, How To, Posts, Snippet