Another order option -- "random"

  1. Anonymous

    Sorry, that was my anonymous post above. I had another look at it and realize that I hadn't closed the line properly, working great now, thanks!

    Posted: 13 years ago #
  2. hanok

    Returns short URL based on Goo.gl using Matthew Flaschen web service. It can return the short URL as text, link, input type or a QR Code.

    Returns short URL based on Goo.gl using Matthew Flaschen web service.

    Just activate the plugin and visit settings panel to configure the output.

    Yoy can use this call too in your theme:

    <?php googl_generator('URL'); ?>

    Replacing URL string by the URL you want to became short. For example:

    <?php googl_generator(get_permalink()); ?>

    Or use the meta option:

    <?php get_post_meta($post->ID, 'googl_short_url', true); ?>
    1. Upload the googl-generator folder to your wp-content/plugins/ directory.

    2. Activate the plugin through the 'Plugins' menu in WordPress.

    3. Use settings panel to configure the output or call the function inside your theme.

    1. googl-generator screenshot 1

      URL example

    2. googl-generator screenshot 2

      Settings panel

    3. googl-generator screenshot 3

      QR Code mode

    4. googl-generator screenshot 4

      The shorted URL is saved in a meta field.


    • Feed option.


    • Save the shortened URL in a meta field of the post.


    • Support for QR Code mode.


    • Settings panel.
    • Include URL automatically in post content. You can select position: before, after or both.
    • Three output modes: text plain, link or input.
    • Include URL in pages and front view (home).


    • Alternative method without cURL extension.


    • Initial release.
    Posted: 7 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    3 Votes
  • Status

    This idea has been implemented