I have created a custom shortcode to display a message depending on whether the user is logged in or not logged in.
I want to add it to the admin notes because that is the area where I would like the notification to appear.
I have tried entering the shortcode but it does not recognize it as a shortcode. I have tried other shortcodes in case the error was in the custom function but it still doesn't work.
Any solution to make it work?
I can't find any other solution to add the message in that area.
Thank you.
The admin note, is only designed for text and HTML. You can't use shortcodes and JS codes. There is no an easy way to do that.
but you can customize the forum.php
read this topic > Login name on Forum Title line
i use this also 😉
Thanks!, with that information I think I can solve it.
@jajimenez A more complicated and advanced way, it to use Ad Inserter and instead of ad script, use a shortcode.