Author: admin
query_post parameters in for wordpress posts
To get a specific post using post id use: “p=101”. query_posts(“p=101”); To get a specific page using page id use: “page_id=101”. query_posts(“page_id=101... Read MoreHow to enqueue styles and script through word press theme function page
You can include styles and scripts through functions, rather than include inside head section of header file. In function.php file of active theme add script and styles as follows. function fun_name()... Read MorePlugins help for woocommerce extending features
Ajax search for products Products start to listed in search column once we enter the leteers YITH WooCommerce Ajax Search https://wordpress.org/plugins/yith-woocommerce-ajax-search/ 2. Product zoom... Read Moreassign height of a div to another div using jquery
$(“.out3”).css({‘height’:($(window).height()+’px’)});... Read MoreHow to get screen height, div height using javascript
Height of screen (based on our display resolution): Inside document.ready var height=screen.height; alert(height); Height of window: var screenheight = $(window).height(); alert(screenheight); Heigh... Read MoreAdding variable products to woocommerce
How to add variable products in WooCommerce.... Read Morehow to include shortcode inside custom fields of wordpress
use short code below: <?php echo apply_filters(‘the_content’, get_post_meta($post->ID,’shortcode’, true)); ?> where shortcode field is custom field name.... Read MorePermalink setting in wordpress
Go to WordPress dashboard: select Settings >> Permalink select permalink structure Prefer to choose Post name, so it will be easily readable.... Read More- 26 of 26
- « Previous
- 1
- …
- 24
- 25
- 26