WordPress knowledge sharing

How to use Elementor short code elements

Short code is also called short code in WordPress, Elementor Short Code Element (Shortcode Widget) is a very important function calling module. In fact, the simplified code will appear in many WordPress plug-ins and themes, such as Woocommerce, Header Footer Code Manager plug-in, contact form7, Twitter widget or any website API.

Simple code is like encapsulating a long section of content into a module, and then binding a short code. In the future, you can only fill in this short code anywhere on the website to execute the module functions. There is no need to put the lengthy code, functions, etc. in the past, and you can copy and use it indefinitely, which is particularly lightweight.

Elementor Page Editor Click me directly The official website of Elementor Pro plug-in is fast and easy to use. Getting Started Click Purchase Elementor Pro plug-in and download and install to activate _WordPress page editor For more Elementor plug-ins, see Elementor Themes
For learning and small websites, choose servers with 1 core and 2g configuration to start, and for foreign theme websites, choose 2-core and 4g configuration to run smoothly.
Domestic servers: Alibaba Cloud Tencent Cloud (All have vouchers, which can be used to save money when paying) I don't know how to select regions and configurations. Please add Lao Wei's contact research on the right side of the page.
Foreign trade, B2C/C2C and other websites register domain names abroad. open Namesilo official website , enter and select in the search box, and then register. Remember to use the discount code to save money. Discount code click Course of domain name registration of foreign domain name provider Namesilo obtain.
Suggested choice of foreign trade website Hostinger virtual host , the price is cheap and the performance price ratio is very high! Hostinger topic
SiteGround virtual host Moderate price, good service! SiteGround Theme

1. Add Elementor short code to the content editing area

Add a paragraph to the article page or the content editing area of the page, search for "short code" or Shortcode on the left, and drag the short code element to the paragraph on the right.

As shown in the figure below, the blue background indicates that it is an available area, and the mouse is sent successfully.

 Add a segment in the content editing area, search for "simplified code" or Shortcode on the left, and drag the simplified code element to the segment on the right

2. Get short code

Add a page with partial elements from WordPress background>Template>theme Builder. Content can be imported from the materials provided by Elementor Pro.

At this time, you can see the simplified code of the current page automatically generated in the list, and copy it for future use. The [] symbol should also be copied.

 Add a page with partial elements from WordPress background>Template>theme Builder

3. As shown in the figure below, go back to the added simplified code element, paste the simplified code into it, you should see the effect immediately, update and save it.

 Paste the short code into the added short code element, and you should see the effect immediately, update and save it.

At this time, you can also see the effect of refreshing the foreground page. Using the Elementor code, you can repeatedly call the content of a module, saving a lot of time and improving work efficiency.

Like( zero )
Article name: How to Use Elementor Short Code Elements
Article link: https://www.vpsss.net/26580.html
Copyright notice: The resources of this website are only for personal learning and exchange, and are not allowed to be reproduced and used for commercial purposes, otherwise, legal issues will be borne by yourself.
The copyright of the pictures belongs to their respective creators, and the picture watermark is for the purpose of preventing unscrupulous people from stealing the fruits of labor.