Visual Composer WordPress
April 30, 2020

How to Create Loop Element Using Visual Composer API

When we are making site with visual composer some time not possible to built some designs using visual composer elements. So at that time we need to use HTML element for built designs. But visual composer API provide facility to built own custom element for some special requirements and its very easy. We can built custom element using vc_before_init action. Add below code in theme’s function.php file.

Now we should create shortcode for base wc_my_custom_element. So we will create shortcode for wc_my_custom_element. It will look like below.

Related Post


How to Change WordPress Post excerpt length

For Change post excerpt length add following code in your current themes functions.php file.

Delete Old Post in WordPress

We want to delete old post in easy way, Add the following code to your current themes functions.php file and reload your page and see your post may have been deleted.

WordPress Login, Register, Change Password And Forgot Password Without Plugin

Are you need simple Login, Register, Change Password, Forgot Password form without plugin for your WordPress website? Yes, Then i have created shortcodes for all forms with simple code. So you can get any form anywhere like in Pages, Posts and Widget etc… Therefore you just need to put shortcodes where you need form. So […]

Increasing the WordPress Memory Limit

This article for increase memory limit in WordPress. Below are some ways to increase memory limit. Edit wp-config.php file First you need to edit the wp-config.php file on your WordPress site. It is located in your WordPress site’s root folder, and you will need to use an FTP client or file manager in your web […]

Create Custom Repeater Control Elementor

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 […]

How to add /blog/ in front of your single post URLs in WordPress

when we want to add /blog/ only for wordpress default post, add Following code in your current themes functions.php File.


Leave a Reply

Your email address will not be published. Required fields are marked *