• Hello,

    I am looking for a conditional hide/show based on tags.

    [show_if does_not_have_tag=”TAG1, TAG2, TAG3″] its not working

    A solution could be if there are any else shorcode or this could be nested in some way

    Thanks in advance

Viewing 5 replies - 1 through 5 (of 5 total)
  • Our reference article on WordPress Shortcodes for PilotPress is located here: https://ontraport.com/support/reference-material/wordpress-shortcodes/

    Unfortunately, the shortcode [show_if does_not_have_tag=”Tag”]content here[/show_if] only accepts one tag. At this time you cannot nest the shortcodes, so we are limited to just one tag for this shortcode.

    Please feel free to create a feature request for multiple tag handling in our Feature Request forum.

    Thread Starter pypete

    (@pypete)

    Thanks for the quick answer.

    I have another question.

    I am trying to fill the input value with [pilotpress_field name=’Email’]. But if i code it alone works. Inside input value, no.

    Any trick for that?

    Thanks

    I’ll have to do some research to find out!

    What type of form is it? Is it an OntraForm from Ontraport that you are embedding?

    Thread Starter pypete

    (@pypete)

    Yes

    So, the answer is a bit complicated based on what form you are using.

    OntraForms will prefill the First Name, Last Name and Email fields without a shortcode based on cookie data. That’s one option you can use for those three fields. Just leave those fields blank, without a short code in them, and cookie data will fill those fields.

    You can use a link to an Ontraport Page outside of WP that is a Personalized URL that will accept the merge fields – see our article here, especially the last section for how to link to a PURL from inside the WP editor.

    We might need to take a closer look at your use case, so you can click the question mark “help” icon in Ontraport and chat into our support center. You can also access chat from our home page at https://ontraport.com (the chat link is in the top left nav menu).

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Tag Shorcode negative or else’ is closed to new replies.