Why do shortcodes with parameters break within Essential Grid skin?

Within the Essential Grid skin builder, why does shortcode work but shortcodes with parameters do not? For instance:

Works:

[my-shortcode]

Does not work:

[my-shortcode param="1" param="2"]

On the front-end, where the component should be, it just displays the shortcode input [my-shortcode param="1" param="2"].

Hello There,

Thanks for writing in! The shortcode may work only if the source is Post and the element is content. The shortcode may be added in the content area. Other than that, it will not work.

Would you mind providing us access so that we can take a closer look at your skin?

Regards.

Hello There,

Thanks for writing in! I wasn’t able to login because you seem to forgot the url of the site.

Please let us know then.

Hello There,

It doesn’t allow me to log in. The log in page will just redirect to the homepage.
http://sugarfreegallery.com/wp-admin

Where do I log in?

Oops sorry I keep forgetting I set it up that way.

This will take you to the login page: http://sugarfreegallery.com/login-register/

After you log in, it’ll redirect to home page with the wp toolbar on top

Hi there,

I can’t find the skin that has this issue, it seems to be okay, would you mind clarifying the procedures we need to to in order to reproduce this issue?

Thanks!

You can select any skin on any of the available grid. Once inside the skin editor, click on Layer Settings which opens up the collapsed section. On the drop-down, select [favorite_button], you should see my code:

<div class="sfg-favorite-counter">
     [favorite_button]
</div>

The shortcode [favorite_button] adds a favorite counter to each card within the grid. Problem is Essential grid can’t differentiate each post. It all uses the same post-id. I want to add an available parameter for the favorite counter button. I want to give it the correct post-id.

[favorite_button post_id="%post_id%"]

However, the above code breaks. Doesn’t matter if I add a numeric value for the post_id, it just displays the above shortcode.

Hello There,

I have tested it and I can confirm that the shortcode is broken once a parameter is added. This could be a potential bug of the plugin. I’ve submitted this to our issue tracker so the developers of this plugin will be made aware of it. Once they find a fix, it will be updated and rolled out in the next update release.

Thank you for your understanding.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.