- This topic has 9 replies, 3 voices, and was last updated 13 years ago by .
Viewing 10 posts - 1 through 10 (of 10 total)
Viewing 10 posts - 1 through 10 (of 10 total)
- The forum ‘Generic’ is closed to new topics and replies.
Events Made Easy › Forums › Generic › Shortcode not working in author profile
Hi,
I want to add a list of the author’s events to the author profile page just after the biography, but when I use the syntax [events_list author=alison] in the biography field it prints the shortcode itself, not the list of events.
The url for a page where this is happening is here:
http://ceredigionarttrail.org.uk/?page_id=125&uid=6
Many thanks for your help, and for a great plugin 🙂
I looked at your source, it contains:
[events_list author=alison]</p>
in the html-source of the page. Due to the way WP parses shortcodes, I advise you to put a space behind the closing “]”
Now it prints it with the space 🙁
thanks for gettingback to me
make sure that you have “[” and “]” in your wordpress page. Look at the html source in your page to be sure.
Sorry, I’m not entirely clear what you’re saying. Both square brackets are there or else they wouldn’t be printed out? Or I should I be putting them in quotes? Sorry, I’m new to php, still figuring it all out
Thanks again
I mean the place in WP where you create your pages. Normally you use the rich editor, but you can switch to the html view there.
thanks for this. there is no rich text in the user profile, it’s just a text box. both brackets firmly in place in the text
Wait, you really change the user’s profile? I don’t think wordpress allows shortcodes there.
Other shortcodes work, just not Events Made Easy ones :-(. Is there some code I can add to functions.php to fix this?
No idea, never tried it before. Might as well be some wordpress functionality that needs to be activated.