WordPress.org

Ready to get started?Download WordPress

Forums

Simple Short Links
[resolved] How do I use the template code? (2 posts)

  1. michaeldayla
    Member
    Posted 7 months ago #

    This plugin does exactly what I wanted but I cannot figure out how to use the template code so that the short link appears on the post or page.

    http://wordpress.org/plugins/simple-shortlinks/

  2. Robert Chapin
    Member
    Plugin Author

    Posted 7 months ago #

    The template code is part of the theme. You can add it in the theme files just like that:

    <?php the_shortlink('Short Link is Here'); ?>

Reply

You must log in to post.

About this Plugin

About this Topic