• Resolved arif siddique

    (@arif-siddique)


    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.https://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.

    https://www.ads-software.com/plugins/wp-showhide/

Viewing 1 replies (of 1 total)
  • Plugin Author Lester Chan

    (@gamerz)

    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.

Viewing 1 replies (of 1 total)
  • The topic ‘problem in show and hide link on same page’ is closed to new replies.