Elementor WordPress
February 4, 2021

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 usually duplicatable, deletable, and can be used for any element which includes repetitive functionality, such as Custom widgets (Image, Title, Content, View More Button Link). This blog post will explain and demonstrate how to create and use repeaters – the right way.We will take a look at and analyze the Arrow Repeater widget, which is a very clear example of creating and using a repeater properly.

To create a repeater, initialize an instance of the Repeater class:
$repeater = new \Elementor\Repeater();

Related Post


Create Custom Template for Child Categories in WordPress

Create different template only for child category put following code in your current themes functions.php file

How to Add Excerpts to Your Pages in WordPress

you will need to add the following code to your current themes functions.php file

How to Block Dashboard Access for Non-Admins WordPress

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

Disable RSS Feed in WordPress

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

How to Remove Website URL Field from WordPress Comment Form

Use Following Code in your current themes functions.php file it removed website url field from comment form.

Create Nested Repeater Meta Box in WordPress

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


1 Comment

  1. Vicki Slattery
    May 11, 2021

    Working!!! Thank you for this useful code.

Leave a Reply

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