Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author DraftPress Team

    (@draftpress)

    Hi @pmgroupefrance Can you kindly explain a little more what you are trying to do?

    Thank you.

    Thread Starter pmgroupefrance

    (@pmgroupefrance)

    So basically
    Create a shortcode and add a parameter to it that will affect when calling the style shortcode

    [hfcm id=”12″ size=”medium”]

    size is the variable

    Plugin Author DraftPress Team

    (@draftpress)

    Ok. Now I understand. Unfortunately, that would not make sense to put into HFCM’s shortcode. You’d be better off creating the shortcode separately and then using HFCM to place it on the pages you wish to trigger it.

    Trying to integrate it into any other plugin’s shortcode is not the right way to implement what you described for several reasons, such as forward compatability, security, etc.

    Hope that helps.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘short code with a variable’ is closed to new replies.