Include the following code file to your current themes functions.php file. Users can see all time by their country timezone wise.
Easy way to create Repeater control widget for Elementor. Create wc-custom-post-widget.php file and include its to functions.php file(This file is located in your theme folder). You can use below code to include file wc-custom-post-widget.php. include 'wc-custom-post-widget.php'; Elementor has a special type of control called a Repeater, which can contain other controls.Repeaters create sub-items that are […]
Hi, here i implement multiple image upload custom fields (WordPress custom meta box image upload ) to page post type if you want it for another post type just change post type name. Add the following code to your current themes function.php file. Go to your pages from WordPress admin and check that multiple image […]
Nested Repeatable Custom Fields in a Meta box Creating a “nested repeater meta-box” without a Plugin in WordPress. Add below code in your functions.php file (this file is located in your theme folder): Use below code to show metabox values from anywhere
Let’s start with removing versions from style and scripts. To do so, add the code below in your active theme’s functions.php file. After adding script on functions.php file you can view the source of any pages version should be removed from all your styles and scripts. You can also remove version from WordPress Head and […]
Repeatable Custom Fields in a Meta box Creating a “repeater meta-box” without a Plugin in WordPress. Add below code in your functions.php file (this file is located in your theme folder): Use below code to show metabox values from anywhere
By default WordPress generates RSS feeds for all post types, Taxonomies, Comments and etc.. that are built in, such as: http://example.com/feed/ http://example.com/feed/rss/ http://example.com/feed/rss2/ http://example.com/feed/rdf/ http://example.com/feed/atom/ There are two ways to disable RSS feed like using plugins and with custom codes. You can use many free plugins for disable RSS feeds. But let we disable RSS […]
Currently your customers have no idea how many quantity or downloads have been ordered from your WooCommerce site. So in order to apply this change, you can add below code into your child theme’s functions.php file. This snippet code show you how to display total product sold quantity WooCommerce page.
Removing the Admin Bar for Non-Admins Removing the admin bar is a simple code snippet. I’ve shown before how you can hide the admin bar conditionally for users. In there I’ve not mentioned how you can hide it for everyone but admins, so thats where this code snippet comes in. You need to add the […]