Latest Entry
Jan 27, 2012 CSS, HTML, JavaScript, PHP, Tutorials, Wordpress
Assuming the want to use a shortcode named [my_shortcode] , you’ll have to do the following and use the do_shortcode() function: <?php echo do_shortcode(“[my_shortcode]“); ?> Easy and super useful. Thanks to WP Snippets for the tip!
Direct Link
Read More..
Recent Entries
Jan 27, 2012 Ajax, CMS, CSS, General, HTML, JavaScript, PHP, Resources, Tutorials, Wordpress
PressTrends has released a rather fascinating plugin for WordPress blogs. The plugin will allow you to measure various metrics for your posts, comments, and plugin usage, and compare these to averages across the entire PressTrends community. The feature list may be just a bit basic now, but there are more features on the way, the design is very clean-cut, and if you’re interested to see how you’re doing versus “the status quo,” this is definitely the way to do it.
Direct Link
Read More..
Jan 27, 2012 Ajax, CSS, General, HTML, JavaScript, PHP, Tutorials, Wordpress
Here’s an interesting code snippet I’ve found handy in past projects. Great for highlighting specific information within an application or web page. To start with lets have a brief explanation as to what we’re going to be doing.
Direct Link
Read More..
Jan 26, 2012 Ajax, CMS, CSS, General, HTML, JavaScript, PHP, Resources, Tutorials, Wordpress
One of the nicer things about developing on the Ruby platform is the sheer amount of meticulously categorized, highly reusable code wrapped up as aptly named ‘gems’. I’m sure you’ve heard of popular frameworks like Sinatra or the super popular Rails but you’re missing an entire spectrum of gems that handle issues at a much lower level. Start using these and watch your productivity shoot through the roof! A Quick Note I’m well aware that some of the gems listed here have Rails, or parts of Rails, as a dependency.
Direct Link
Read More..
Jan 25, 2012 General, HTML, Tutorials, Wordpress
Just a heads up to anyone else getting the occasional PayPal phishing spam.. Usually it’s pretty easy to spot one of those crafty phishing emails, just hover over any links before clicking to view the real URL in the status bar. You know, the link says something like, “click here to restore your PayPal account,” but you know that’s garbage and could easily prove it by checking the actual link URL, which is usually something completely bonkers, like: http://luqomu-qiry .
Direct Link
Read More..
Jan 25, 2012 Ajax, CMS, CSS, General, HTML, JavaScript, PHP, Resources, Tutorials, Wordpress
Matt Mullenweg , co-founder of WordPress , turned 28 two weeks ago . It’s been a busy year for Matt. Three major WordPress versions were released, he switched back to using a Mac after 8 years on Windows, and he travelled 190,000 miles over 245 days.
Direct Link
Read More..
Jan 25, 2012 Ajax, CMS, CSS, General, HTML, JavaScript, PHP, Tutorials, Wordpress
Recently, Douglas Crockford released a neat tool that makes the process of developing and testing your JavaScript a bit easier. Interested in learning more? Watch today’s quick tip to find out! Watch the Screencast Show Link Douglas Crockford’s Google+ Post JSDev | Github Labelled blocks, useful?
Direct Link
Read More..
Jan 24, 2012 Ajax, General, JavaScript, Tutorials
CoffeeScript is a programming language that transcompiles to JavaScript. The language adds syntactic sugar inspired by Ruby, Python and Haskell to enhance JavaScript’s brevity and readability, as well as adding more sophisticated features like array comprehension and pattern matching. CoffeeScript compiles predictably to JavaScript and programs can be written with less code (typically 1/3 fewer lines) with no effect on runtime performance.
Direct Link
Read More..
Jan 24, 2012 CSS, General, HTML, JavaScript, PHP, Tutorials, Wordpress
Nothing hard here: simply paste the following code where you need to execute a custom query to the database. Don’t forget to update the query on line 5! <?php // Get any existing copy of our transient data if ( false === ( $special_query_results = get_transient( 'special_query_results' ) ) ) { // It wasn't there, so regenerate the data and save the transient $special_query_results = new WP_Query( 'cat=5&order=random&tag=tech&post_meta_key=thumbnail' ); set_transient( 'special_query_results', $special_query_results ); } // Use the data like you would have normally… ?> This code is using WordPress Transients API.
Direct Link
Read More..