Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #866265

    Hello

    It seems that by default it is not possible to use shortcodes in the “Phone Number or small info text” field that is in the Enfold controlpanel (WP Dashboard > Enfold > Header > Extra elements).

    Is there a way to make that possible?

    I suppose it is, but I don’t know how. :-)

    Can you provide me a custom function that I can use to fix this?

    Thanks guys!

    Edit:
    Maybe I should explain why I want to do this:
    I want to show a “login” or “logout” link over there, depending if a user is logged in or not.
    I do this with a plugin. (That plugins works, I’ve tested it on a page, but not in that specific field)

    • This topic was modified 7 years, 1 month ago by jurgen1979.
    #866268

    Hey,

    It should work out of the box. It might be related to your shortcode. Can you please post temporary admin logins here privately so we can look into it?

    Regards,
    Yigit

    #866271

    Hi Yigit! Sure.
    Login credentials in Private Content

    Edit: that site is a test site we are building, but it all should work normally

    • This reply was modified 7 years, 1 month ago by jurgen1979.
    #866282

    Hi!

    It seems like you are using a plugin’s shortcode. Can you please try creating your own by referring to this posts – https://codex.wordpress.org/Shortcode_API and https://developer.wordpress.org/reference/functions/is_user_logged_in/ ?

    Regards,
    Yigit

    #866299

    Yes!!
    I works indeed!
    Thanks Yigit!

    #866301

    Hi,

    You are welcome :) Let us know if you have any other questions or issues!

    Best regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Use shortcode in "Phone Number or small info text"’ is closed to new replies.