Product categories WordPress codex
How to get current product category slug?
global $wp_query; echo $wp_query->query_vars['product_cat'];
How to get current product category slug?
global $wp_query; echo $wp_query->query_vars['product_cat'];
How to get the current page slug? global $post; $slug = get_post( $post )->post_name;
Put this code to your .htaccess file. <FilesMatch "\\.(js|css|html|htm|php|xml)$"> SetOutputFilter DEFLATE </FilesMatch> <IfModule mod_gzip.c> mod_gzip_on Yes mod_gzip_dechunk Yes mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$ mod_gzip_item_include handler ^cgi-script$ mod_gzip_item_include mime ^text/.* mod_gzip_item_include mime ^application/x-javascript.* mod_gzip_item_exclude mime ^image/.* mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.* </IfModule> # Leverage browser caching <FilesMatch "\.(woff|ico|pdf|jpg|jpeg|png|gif|js)$"> Header set Cache-Control "max-age=864000, public, must-revalidate" </FilesMatch> or <IfModule mod_expires.c> ExpiresActive On…
Question: How to use WDES Responsive popup in revolution slider? Answer: You can add a new layer in revslider and put the “[wdes-popup-title id=”popup_id”] ” inside the new layer. Place the “[wdes-popup-content id=”569″]” in the footer or in the page editor.
Remove the ” <p></p> “ on the footer add_filter( ‘genesis_footer_output’, ‘footer_remove_p’ ); function footer_remove_p( $output ){ $output = ”; } Default functions <?php /** * Genesis Framework. * * WARNING: This file is part of the core Genesis Framework. DO NOT edit this file under any circumstances. * Please do all modifications in the form…
The7 social network share button open new window instead of new tab. Copy the codes below to your JS file. $(‘.soc-ico a’ ).click(function(e){ e.preventDefault(); window.open(this.href, "myWindowName", "width=800, height=600"); });
Override InWave Jobs template to the current theme is little bit hard for the WordPress beginners so I want to write tutorials that can help them solving this issue. Before that, just a little background for InWave Jobs. InWave Jobs is created by inwavethemes which I beleive many WordPress users is now using this, easy and very powerful plugin….