Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter maya179

    (@maya179)

    Hi,
    Kindly reply.

    I’m waiting for your reply.

    Thanks in Advance

    Thread Starter maya179

    (@maya179)

    Hi,

    Thank you for your reply.

    I have given the link to the screenshot of the image file. Kindly have look into it.
    https://ibb.co/r6Bc50s

    From the Image file, you can see I have two polls with the same id and different tracking id.

    So, In the first poll, I voted for “Yes”. So, I got a 100% voting result. And in the second poll, I voted for “No”. But, here it also considers the result of the first poll.

    My Expected Behaviour should be:

    I also should get 100% result for voting in “No”, it should not take the result of first poll.

    Hoping for a solution from you.

    Thanks in advance.

    Hi,

    Thank you very much for your response.

    I have added suppress_filters value as false. But still, my post order is not the same as the order that I have sorted.

    Is there any other solution?

    Thanks for your help. And hoping for your reply.

    Yeah, when using get_posts the posts are not ordered in the way it’s ordered in the backend.

    I too facing the same issue. So I don’t want to create a new topic.

    Kindly provide a solution.

    Thread Starter maya179

    (@maya179)

    Hi,

    Thank you for your reply.

    The voting system is not working as you explained. Let me explain how its workings

    <?php echo do_shortcode( ‘[yop_poll id=”1″ tracking_id=”poll_1″]’ ); ?>
    <?php echo do_shortcode( ‘[yop_poll id=”1″ tracking_id=”poll_2″]’ ); ?>

    The above two are my shortcodes which I have used in my project. If I vote for the second poll, the vote percentage considers that result of the first poll. But, in my case, it should not consider the voting count of the first poll.

    Kindly provide a solution, I struck here. It would be very helpful if you provide a solution and give an example code that exactly solves my problem.

    Thanks in advance.

    Thread Starter maya179

    (@maya179)

    Hi,

    Kindly Reply.

    I’m waiting for your solution.

    Thank you

    Thread Starter maya179

    (@maya179)

    Hi,

    I have used the tracking id in my shortcode as you said.

    These are my shortcodes

    <?php echo do_shortcode( ‘[yop_poll id=”1″ tracking_id=”poll_1″]’ ); ?>
    <?php echo do_shortcode( ‘[yop_poll id=”1″ tracking_id=”poll_2″]’ ); ?>

    But still, the votes count for the second poll is the accumulated results of both the poll. Kindly help solving it.

    Thanks in Advance.

    Thread Starter maya179

    (@maya179)

    Hi,

    Thank you for your answer.

    Can you please elaborate more on Tracking id?

    What is Tracking ID?

    And Where can I get the tracking Id?

    Thanks in advance

    Thread Starter maya179

    (@maya179)

    Hi,

    Sorry for being my question unclear.

    I will explain with an example.

    For Eg: If I’m creating a poll with this shortcode [yop_poll id=”1″].

    If I use this shortcode in multiple posts, it accumulates all the votes submitted in multiple posts( and I know that’s the way it should work) instead I want individual vote counts for the multiple posts with using the same shortcode.

    Because I have more than 300+ posts having the same questions. So I don’t want to create the same poll questions for 300+ posts. Kindly provide a solution to accomplish it.

    Thanks in advance

    • This reply was modified 6 years, 7 months ago by maya179.
Viewing 9 replies - 1 through 9 (of 9 total)