Support ForumPlugin-related shortcodes into Minicorp shortcodes – Support Forum https://support.ishyoboy.com/forums/topic/plugin-related-shortcodes-into-minicorp-shortcodes/feed/ Mon, 06 May 2024 13:37:17 +0200 http://bbpress.org/?v=2.5.12-6148 en-US https://support.ishyoboy.com/forums/topic/plugin-related-shortcodes-into-minicorp-shortcodes/#post-7759 <![CDATA[Plugin-related shortcodes into Minicorp shortcodes]]> https://support.ishyoboy.com/forums/topic/plugin-related-shortcodes-into-minicorp-shortcodes/#post-7759 Sat, 18 Apr 2015 18:17:27 +0000 gadrecords Hi guys,

Thanks for amazing theme! I’m trying to use Minicorp with Types/Views Toolset. And everything is going smooth apart from button. I use them to show if CD is sold out (non-clickable) or as link to our webshop (clickable).

When I’m using code for sold out CD, everything is ok:

[button size="medium" new_window="yes"]SOLD OUT[/button]

When I’m trying to insert URL (taken from Types plugin), there is problem. For this code:

[button url="[types field="cd_link"][/types]" size="medium" color="color4" new_window="yes"]BUY CD[/button]

I’m getting at front-end non-clickable button with text:

[/types]” size=”medium” color=”color4″ new_window=”yes”]BUY CD

My PHP knowledge is minimal, but I’m pressuming is something with quotation marks or brackets. Any workaround/suggestions most welcomed. Using Types/Views is obligatory for me on this project, and I’ll be very grateful for help, because I don’t want to trying another theme – Minicorp is best :)

]]>
https://support.ishyoboy.com/forums/topic/plugin-related-shortcodes-into-minicorp-shortcodes/#post-7766 <![CDATA[Reply To: Plugin-related shortcodes into Minicorp shortcodes]]> https://support.ishyoboy.com/forums/topic/plugin-related-shortcodes-into-minicorp-shortcodes/#post-7766 Mon, 20 Apr 2015 07:13:57 +0000 IshYoBoy Hey,

The problem is that you cannot nest a shortcode in the “attributes” of another shortcode.

You can work-around this problem by not using the button shortcode but the already generated code. How to do this? add the exact shortcode with a dummy link, save and publish the page. Inspect the HTML code and copy it. Now edit the page again and paste the code into the “TEXT” tab of the WordPress editor. Not the Visual one and replace the dummy url with the shortcode.

<a class="ish-button-medium color4 left" href="[types field="cd_link"][/types]" target="_blank">BUY CD</a>

Hope this works out as expected!

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>
https://support.ishyoboy.com/forums/topic/plugin-related-shortcodes-into-minicorp-shortcodes/#post-7790 <![CDATA[Reply To: Plugin-related shortcodes into Minicorp shortcodes]]> https://support.ishyoboy.com/forums/topic/plugin-related-shortcodes-into-minicorp-shortcodes/#post-7790 Mon, 20 Apr 2015 17:12:46 +0000 gadrecords Well, this is simple and great solution. Works like charm!

Thanks guys, all the best!

]]>
https://support.ishyoboy.com/forums/topic/plugin-related-shortcodes-into-minicorp-shortcodes/#post-7795 <![CDATA[Reply To: Plugin-related shortcodes into Minicorp shortcodes]]> https://support.ishyoboy.com/forums/topic/plugin-related-shortcodes-into-minicorp-shortcodes/#post-7795 Tue, 21 Apr 2015 05:54:36 +0000 IshYoBoy Glad we could help ;)

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>