Either we can use show() and hide() functions for this: $(“#hide_id”).hide(); $(“#hide_id”).show(); Or using css in scripts: $(“#hide_id”).css(“display”...Read More
Infinite scrolling pages, means at the end of a page next page will be loaded. This is latest trends in websites now. Especially in news website. Here we added instruction to track these infinite page...Read More
Here we creating an event to get google analytics details while page scrolls: Event name :Scrollview Variables :pageurl, pagetitle dataLayer.push({ ‘event’:’Scrollview’, ‘...Read More
dataLayer.push({ }); dataLayer.push javascript snippet is used to push details to Google tag manager. We can create a event and variables required for this/ dataLayer.push({ ‘event’:...Read More
Google tag manager is used to add tags used in the website. Eg: Analytics, Any other tracking code, etc.. We can provide all those data in a single console provided by the tag manager. https://tagmana...Read More
function search_filter($query) { if ($query->is_search) { $query->set('post_type', 'post'); // specify slug of post type instead of this 'post' } return $query; } add_filter('pre_get_posts','sea...Read More
Plugin to upload image in widgets: Download plugin from below link: widget-media-upload WordPress plugin to list woocommerce taxonomies with images. First of all set image uploading plugin to categori...Read More