Support » Plugin: Post Views for Jetpack » php vs. shortcode

  • Resolved AngieP


    Dear Developer,

    What should I use as php code instead of the shortcode supplied.
    (For insertion in single.php, page.php for example.)

    Your reply is greatly appreciated.
    Thanks in advance.

    Angelica Pastorelli

Viewing 1 replies (of 1 total)
  • AngieP


    I found it:

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

    My pleasure to share. 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘php vs. shortcode’ is closed to new replies.