What is shortcode Generator

December 16, 2019

Shortcode Generator (SG) is an interactive generator for creating eventON shortcodes based on your needs that are available in eventON.

 

How can I access SG?

If you go to Pages> Add New or Pages click edit existing page next to Add Media button you should see Add EventON  shortcode button that look like below.

You can also access SG from myEventON> Settings> Shortcodes (Version 2.2.20 and up)

If you are using Gutenberg, Add a Classic block and then you will see eventON icon in the editor.

How to use SG

When you click on the ADD EVENTON button you should see a lightbox popup window shows up like below.

 

(Above is the basic view without any addons)

In here you can click on each calendar type (which is level 1) and then it will slide to left revealing more options you can select for that calendar type like the image below.

 

In here with the interactive options panel you can select which options you like your calendar to use. Everytime you select different options the shortcode that is all the way in the bottom (footer) will change.

You can hit the [] button on bottom right or copy and paste the shortcode generated where ever you like.

 

Other Uses (Advanced)

You can use the generated shortcode and use do_shortcode() function to run those inside php template functions.

[code]

<?php

echo do_shortcode(‘[add_eventon show_et_ft_img=”yes”] ‘);

?>[/code]

The above code placed inside the php template will run the exact same thing as using shortcode inside WYSIWYG editor.

 

Did this article help you? If not, send us a ticket via helpdesk

Ready to setup your calendar?

Buy EventON Now