December 29, 2019 at 7:32 pm #19537December 30, 2019 at 9:17 pm #19539
I’m trying to create a button with a URL containing the membership_level_name.
Can you provide more information regarding what you are trying to achieve?
Thank youDecember 30, 2019 at 11:12 pm #19547
Thanks for your answer.
I’m trying to create a button on the connection page, that let people go back to the album they created before.
Here is the html code of the button :
<div class="button"><a href="https://sitename.com/[swpm_ show_member_info column=%22membership_ level_name%22]">Accéder à mon album </a></div>.
Am I clear enough ?
Thank youDecember 30, 2019 at 11:13 pm #19548
Sorry, the code i’m trying to use is this one :
<div class="button"><a href="https://sitename.com/[swpm_ show_member_info column="membership_ level_name"]">Accéder à mon album </a></div>December 31, 2019 at 12:00 am #19549
I don’t know the full context (in terms of where this code is being executed and how) so my answer could be wrong. But below is an example of how you might try it. Basiclaly use single quote in the shortcode (instead of double quotes):
I am not sure if WordPress will let you execute that shortcode inside the a tag (for security reason it maybe execute the shortcode. Probably a better option is to create a custom shortcode yourself that outputs the URL the way you want to.December 31, 2019 at 12:06 am #19550
I am not sure if WordPress will let you execute that shortcode inside the a tag
It doesn’t. I’ve already tried many options.
Ok. M going to try to create my own shortcode (never did that…).
You must be logged in to reply to this topic.