WordPress.org

Ready to get started?Download WordPress

Forums

k0nsl Short URLs
New function: k0nsl_show_url() (1 post)

  1. k0nsl
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    I added a simple and rough function called k0nsl_show_url() which is to be used in templates.

    Usage:

    <h2>Short URL:</h2>
            <p><?php echo k0nsl_show_url(); ?></p>

    This will produce a short URL in the paragraph tags - seemingly, the function can be used anywhere in your themes files, not just the templates.

    Here is an example using the above code:

    k0nsl Short URLs Screenshot 01

    Faithfully,
    k0nsl.

    http://wordpress.org/extend/plugins/k0nsl-short-urls/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 1 year ago by k0nsl
  • This topic is not a support question
  • WordPress version: 3.5.1