Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Gon

    (@borra)

    Hi!

    You need to disable the auto insert option. After that, go to the theme files and make a child theme. Check if your theme has a custom template for custom post types.
    If the theme hasn’t support, you can copy the content of the simple.php and make new archive for the custom post type: post-myCustom.php (myCustom need to be replaced with the slug for the custom post).

    To add the poll inside the template you need call to the shortcode (whenever you want inside the template):

    <?php echo do_shortcode( ‘[simplevoteme]’ ); ?>

    You can add the variable type if you want to set a horizontal or vertical poll (horizontal default). For example:

    <?php echo do_shortcode( ‘[simplevoteme type=”v”]’ ); ?>

    Regards!
    Gonzalo

    Thread Starter towhed_rone

    (@towhed_rone)

    Thank You for you reply…but i am troubling another problem here..i need to one user can one vote for every post…but i see here one logging user can vote many for every post…if i open this post one time then i can vote here..after that if i open the same post i can post again…but i need one vote for one post…another problem i didn’t see admin pan-ale for custom post type..how i add this admin panel for my custom post type for show result off this vote??

    Plugin Author Gon

    (@borra)

    I forgot to tell you that if your theme has a separated sidebar for your custom post type you can use the widget SimpleVoteMe (more simple than the shortcode).

    I am working on a new version of the plugin with the option to limit to one vote per user. I think that it will be finished this week. I will include
    too the columns in custom post types for this update ??

    Thread Starter towhed_rone

    (@towhed_rone)

    Thank you…if you will do it ,it will be great help for us…

    Plugin Author Gon

    (@borra)

    Hi!

    Update available ??

    Regards,
    Gonzalo.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘I want to show this voting option only for custom post..’ is closed to new replies.