Plugin Description
World City Events: IXYT is a plugin for Wordpress that makes it possible to insert live blocks with posters of various events in the cities you need around the world into your website. It has a user-friendly interface and support for many languages.
Installation
Download the plugin from the Wordpress repository
1: Upload the ixyt-city-events folder to the `/wp-content/plugins/` directory.
2: Activate the plugin through the Plugins menu in WordPress.
3: Place <?php do_action('plugin_name_hook'); ?> in your templates.
Plugin usage
The main functionality is represented by the following functions: creating, viewing, updating, deleting blocks with city events.
Procedure to add a new block with events:
1). Select from the drop-down lists the country and city that we want to place on the page.
2) After clicking the 'save' button, we can go to the table or edit page of this post and see its shortcode:
To add a block with events to your website page, you should copy the resulting shortcode and paste it on the desired page.
Adding a shortcode to a post or page
There are several ways to add a shortcode to WordPress posts and pages:
In the classic WordPress editor
If you use the classic WP editor, then go to the article and visually insert the shortcode in the tab in the place of the page where you want to add our block with events.
Next, see what is displayed on the screen in the WordPress preview.
In Gutenberg
There is a special block for inserting shortcodes in the Gutenberg editor.
A new block will appear on the screen, in which we insert the shortcode.
3) After inserting the shortcode, a block with city events should appear on your page. If you use a caching plugin, you may need to clear the cache to display the block.