[Resolved] Conditional content based on user input

Home Forums Support Conditional content based on user input

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1130895
    Kuldeep

    Hi,

    First of all, thanks for the amazing theme and support.

    I want to have a toggle button (like iPhone switch or any other input mechanism) where users can check which variant of content they want to read. Basically I want the users to select their preferred language at the top of each post.
    Depending on the selection, all the paragraphs will display the content in the selected language, keeping the images and other sections constant.

    Please let me know if this possible.

    Thanks in advance.

    Regards,
    Kuldeep Rana

    #1130906
    Leo
    Staff
    Customer Support

    Hi there,

    I believe a translation plugin like Polylang or WPML would be what you are looking for.

    Let me know if this helps 🙂

    #1130916
    Kuldeep

    Thanks for the answer Leo but I am not looking for any sort of translator as these are not reliable. I can create the two variants myself and based on the user’s input I want to display that version.

    Using ‘tabs’ is one option that I can think of. I was looking for a more standard way of doing this.

    #1130926
    Leo
    Staff
    Customer Support

    Unfortunately, I believe that would require some pretty substantial custom coding without a plugin.

    Maybe a plugin like this would help?
    https://en-ca.wordpress.org/plugins/tabs-responsive/

    #1130938
    Kuldeep

    OK Leo, it looks like I have to go for Tabs only.
    Thanks for the plugin suggestion.

    #1130941
    Leo
    Staff
    Customer Support

    No problem 🙂

    There should be a few more tabs/accordion selections out there as well that might be worth checking out.

    #1131232
    Kuldeep

    Thanks, marking the issue as resolved.

    #1131248
    Leo
    Staff
    Customer Support
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.