Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Expand Upon ID

$
0
0

Replies: 1

I’m using the collapse-o-matic plugin on our FAQ page. I added ID tags to my shortcode so my product team can link to individual FAQ questions. What code do I need to add so that it automatically expands if the id is part of the URL?

For example: https://www.myURL.com/app/faqs/#2 takes you to the second question but the user still needs to expand the question.

Here is an example the shortcode I have currently: [expand title=”This is a question?” id=”2″ rel=”-highlander”]This is an answer.[/expand]

Thanks for your help!


Viewing all articles
Browse latest Browse all 59525

Trending Articles