WordPress.org

Ready to get started?Download WordPress

Forums

The Google+ plugin
[Plugin: The Google +1 plugin] php function to call? (2 posts)

  1. LocaOH
    Member
    Posted 3 years ago #

    Hi
    How can I add the code manually in my post template? What is the php code/function to call?

    I understand that the shortcode provided is for adding the code on every post, from the post editor?

    http://wordpress.org/extend/plugins/google/

  2. DavidM
    Member
    Posted 3 years ago #

    Hi LocaOH,

    Yup, the shortcodes could only be used in the editor, but you should be able to use do_shortcode() for use in your template files.
    http://codex.wordpress.org/Function_Reference/do_shortcode

    Wanna give that a go and let us know how that works for you?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic