Removing Super Cache Plugin

Don’t attempt to clean it, deactivate supercache, then manually remove the entire .htaccess file, delete it. Finally, go to your permalinks page, and re-save your settings. One of two things will happen: WordPress will regenerate your htaccess WordPress will hand you some new rules

Creating a nav menu

First, be sure your theme supports wp_nav_menu which is goes into a template file – such as header.php – with the template tag function <?php wp_nav_menu( $args ); ?> which also requires a function in functions.php. See http://codex.wordpress.org/Function_Reference/wp_nav_menu That will initiate the WordPress 3 menu system that will appear in Dashboard>>Appearance>>Menus Next, read http://codex.wordpress.org/WordPress_Menu_User_Guide on … Read more

Date calculations from 2 custom fields

I don’t know how much this will help, but when I’ve done date/time comparisons, I’ve always had to convert them to UNIX timestamps first (converts the date/time to a numeral, which you can compare as less than/greater than/equal to the next number), and then after the difference is sorted, convert it back with date(). A … Read more

Get Tags specific to Category using WooCommerce plugin

Finally solve the problem: t1.taxonomy = ‘product_cat’ AND p1.post_status=”publish” AND terms1.term_id IN (“.$args[‘categories’].”) AND t2.taxonomy = ‘product_tag’ AND p2.post_status=”publish” In the functions.php t1.taxonomy = ‘category’ AND p1.post_status=”publish” AND terms1.term_id IN (“.$args[‘categories’].”) AND t2.taxonomy = ‘post_tag’ AND p2.post_status=”publish” rename category to product_cat, and post_tag with product_tag.

WooCommerce Grid / List view

Undo any changes you’ve have made to the file, then add this at the top: if ( jQuery.cookie( “gridcookie” ) != “grid” ) { jQuery.cookie( “gridcookie”, “list”, { path: “https://wordpress.stackexchange.com/” } ); } Update: Sounds like a FOUC. Let’s take a different approach – remove the code you added above & try adding the following … Read more

Rotating background images with admin options

i would try the plugin “attachments” for the images. use it all the time for making page-specific galeries, downloads, etc. afterwards, you can use the script “supersized” Enqueue the Javascript from the Plugin, and place the following Code into the <head>: <script type=”text/javascript”> jQuery(function($){ $.supersized({ //Functionality gnav != true slideshow : 1, //Slideshow on/off autoplay … Read more