Show All Products in Prestashop »

Download the attachment and place the below link anywhere on the website to call a page to display all products. <a href="{$link->getPageLink('all-products')|escape:'html'}">{l s='Show All Products'}</a> DOWNLOAD

How to Set post expiration date/time on your WordPress blog »

Do you regret that WordPress haven’t a feature to publish a post during only 2 days, or one week? Here is a very nice code that you can use in your WordPress theme, to enable the possibility of creating post expiration based on date and time. Edit your theme and replace your current WordPress loop ...

How to: Display AdSense to search engines visitors only »

It’s a fact: People who click on your ads are people coming from search engines, not regular readers. In order to avoid being “Smart Priced” by Google AdSense, you should definitely display ads to search engines visitors only. Here’s how to do it. First, we have to create a function. paste the code below in ...

How to load jQuery from Google CDN »

By default, WordPress load its own copy of jQuery in your theme. But what about loading the library from Google CDN? Here’s an easy way to do it. Paste the code below into your functions.php file: function jquery_cdn() { if (!is_admin()) { wp_deregister_script('jquery'); wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js', false, '1.8.3'); wp_enqueue_script('jquery'); } } add_action('init', 'jquery_cdn'); Once you saved ...

Unique different admin and theme languages on your WordPress »

Simply set the desired locale (on line 6) then add the code to your functions.php file.