WordPress.org

Ready to get started?Download WordPress

Forums

WP-ShowHide
[resolved] problem in show and hide link on same page (2 posts)

  1. arif siddique
    Member
    Posted 10 months ago #

    I am using show and hide link in my side but there is some problem in it. only one link of question 1 is working but other is not show working
    when I click show answer on 2 question but it show the answer of question 1, only question 1 working check this link.http://www.testmcqs.com/fundatmental-computing/

    i am using this code for it ,,
    ''
    [showhide type="post" more_text="Show answer" less_text="hide answer"]
    Ans: A
    [/showhide]
    ,,
    Either required to change the code
    please suggest me what to do or use some other plugin for this purpose.

    http://wordpress.org/plugins/wp-showhide/

  2. Lester Chan
    Member
    Plugin Author

    Posted 10 months ago #

    Question A
    [showhide type="question-b" more_text="Show answer" less_text="hide answer"]
    Ans: A
    [/showhide]
    Question B
    [showhide type="question-a" more_text="Show answer" less_text="hide answer"]
    Ans: B
    [/showhide]

    The type is like an ID, so it has to be unique.

Reply

You must log in to post.

About this Plugin

About this Topic