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)
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
Hi Yigit! Sure.
Login credentials in Private Content
Edit: that site is a test site we are building, but it all should work normally
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
Yes!!
I works indeed!
Thanks Yigit!