Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Contributor ustimenko

    (@ustimenko)

    add HTML text under the test

    So you need:

    * test description (as it now)
    * test questions (as it now)
    * and some test description #2 (need to add)

    ?

    Plugin Contributor ustimenko

    (@ustimenko)

    On the test page does not work with shotrcodes, and other generally requires javascript.

    Dont’ understand. It should work with shortcodes as it’s a standard wordpress post.

    For example, toggle “in the footer” and search in the header.

    Dont understand here — pls describe more steps.

    Plugin Contributor champ1on

    (@champ1on)

    1. I want to add custom content just above test, but also under test. Why? Because I want to test questions were already visible when the page loads. And at the same time I need to undecided visitors could read a story about the test the same page and do not leave it.

    2.
    toggle and search functions here
    https://www.clubseznamka.cz/blog/

    and there does not
    https://www.clubseznamka.cz/test/dotaznik-mbti/

    Plugin Contributor champ1on

    (@champ1on)

    HTML content above the test and below of the test.

    toggle in the footer = accordion, search = magnifier

    Plugin Contributor ustimenko

    (@ustimenko)

    1. Ok. Now I see.

    2. May be it’s related to your theme / other plugins / settings?
    In default setup/theme it’s same in post page and test page.

    Plugin Contributor ustimenko

    (@ustimenko)

    As a more good solution I see here to have some shortcode, that can be added to post, where we can set in params how many questions to show from test.

    So in the result author should be able to add test parts by shortcode: questions and button.

    Plugin Contributor champ1on

    (@champ1on)

    Its a good idea. I wanted to use the same test across multiple sites. It really suited me.

    Plugin Contributor champ1on

    (@champ1on)

    When the shordcode will be finished?

    Plugin Contributor ustimenko

    (@ustimenko)

    @champ1on, it’s not started yet. Currently my priorities are “Export results addon”.

    But anyway you have a not-so-good workaround like:

    * Open existing test on public side
    * Copy/paste from there required HTML
    * Paste it to other page

    But good news here — I already see how it should be designed and what options should be there.

    Plugin Contributor champ1on

    (@champ1on)

    I did so, but after pressing the Next button will only restore the page https://www.clubseznamka.cz/psychologicky-test/

    The test is on
    https://www.clubseznamka.cz/test/dotaznik-mbti/

    What exactly should I copy?

    Plugin Contributor ustimenko

    (@ustimenko)

    What exactly should I copy?

    @champ1on, you did all right. But I forgot, that current form version is always looks on self. So to fix it you should add form’s action attribute.

    Find this:

    <form method="post" id="wpt-test-form" class="">

    And change it to this:

    <form method="post" id="wpt-test-form" class="" action="/test/dotaznik-mbti/">

    Then it will work ))

    Plugin Contributor champ1on

    (@champ1on)

    Thankk you. Allready OK.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Change the first page of the test’ is closed to new replies.