Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #364099

    Hello,
    I just installed the plugin BWL pro Voting manager:
    http://codecanyon.net/item/bwl-pro-voting-manager/7616885

    And someone when I use the custom short code in the PostSlider.php to call the plugin out the votes does not work correctly.
    If you head over to the my website you can see all the votes are the same.

    The code I used at around line 379 was:
    $wsiwvote = do_shortcode(‘[bwl_pvm /]’);
    and
    $output .= $wsiwvote;

    I contacted the creator of the plugin and he said it is a theme related issue:

    That’s a theme related issue. Better you can contact with theme developer.
    From my side, I can give you some hints:
    – You need to use echo before do_shortcode(“[bwl_pvm/]”) .
    – You need to place shortcode tag inside loop.
    – $output .= “$wsiwvote”; this is wrong, correct code should be: $output .= $wsiwvote;

    Do you know where I should place the short code tag so that it is inside a loop?

    Thanks

    • This topic was modified 10 years ago by alvinhy.
    #364413

    Hey alvinhy!

    Thank you for using Enfold.

    You can find the loop inside the public function html of the postslider.php file. Instead of the do_shortcode function, maybe you should use the get_post_meta function if the plugin supports custom fields. I’m sorry but we don’t provide support for third party plugins as stated on our support policy. Please contact the plugin author.

    Regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.