1. Home
  2. Docs
  3. Flexi Gallery
  4. Tutorial
  5. Shortcode Holder

Shortcode Holder

There might be the situations that you may need to add banner, buttons etc. at detail or popup page.
Flexi has many features but it can never achieve all the user requirements but there are many plugins at wordpress respiratory which has shortcode option to execute.

You need to enable it from Flexi Setting’s extension tab.

This will enable to have 4 different shortcode holder

Let’s begin with live example and steps completed

This is detail page.
Here, I inserted adsense javascript code at 1st shortcode area.

Note: This will not display the inserted code. Since we are inserting into detail page. We must know which layout the detail page is using. It can be basic or complex layout. We can determine it at Flexi -> ‘All Post’ page. If it shows ‘detail layout’ as ‘Default’. Check which layout is specified as default at Flexi -> Setting -> Detail tab -> ‘Select Detail Layout’ field
In our case it is ‘basic layout’, hence we need to go Flexi ->Setting -> Detail tab -> ‘Basic – Layout’ section.
../wp-admin/admin.php?page=flexi_settings&tab=detail&section=flexi_detail_layout_basic

Search for ‘1st Shortcode’ field and select ‘Location 1’
As a result, the banner is displayed at location 1 of basic layout. You can also use shortcode to insert banner if it didn’t work.
Was this article helpful to you? Yes No

How can we help?