Shortcode links in site footer
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home / Plugin: Post Snippets - Custom WordPress Code Snippets Customizer / Shortcode links in site footer
I’m creating separate shortcode snippets for links to my social media profile icons (external links). Each URL in the snippet editor field is formatted as follows: https://example.com
and the shortcode is formatted as follows [example].
The shortcode is then added manually to button URL fields across the site. These work as expected inside the content areas, however, when used in the site footer area, these shortcodes’ links are prepended with the URL of the current page and the shortcode isn’t being executed, so links on these buttons look as follows:
https://mydomain.com/current-page/[example]
It appears that WordPress is prepending my shortcodes in the site footer with the current page’s URL and preventing the shortcode from executing.
Is there a function I can add that will prevent this?
Hello @pracko,
Thanks for contacting us,
I hope you are doing well, We’ve informed our technical team about your issue, and they will work on it promptly. When we receive their response, we will get back to you. Our team is here to assist you.
Thanks & Regards
WP Experts Support Team
Hello @pracko,
Please could you provide us with the screencast of that issue, This will help us better understand and assist you.
Thank you