Using +1 for home page, not posts

Hiya,

Can we use this for the home page of a domain, in other words, not for a specific post or page?

Thanks!

  • DavidM

    Hi Alberti,

    Sure! The best way I can think of to do that would be to included the shortcode in your theme's home.php file, perhaps using the following:
    do_shortcode('[wdgpo_plusone]');

    Or perhaps simpler, if you have a static front page, you could include the following in the Page you have set as the front page:
    [wdgpo_plusone]

    You'll want to set all the plugin's options to minimal, deselecting all the post types and setting "No" for showing the button on your front page (I believe this option is only in reference to the post index).

    Cheers,
    David