Support » Plugins » [Plugin: Connections] Suggestion: shortcode for latest entries

  • A nice feature I just thought of would be to create a shortcode for displaying the latest entries entered. Configured from the shortcode itself.

    example: show the latest 4 businesses entered.

    [connections_latest num=4]

    It could even be made into a template tag too

    <?php echo entry->latest('4'); ?>

    Perhaps even create shortcode/template tags for breaking it down further as well. The latest organizations, individuals, connection groups, all configurable from the shortcode or template tag.

    Thoughts?

Viewing 1 replies (of 1 total)
  • Steven

    (@shazahm1hotmailcom)

    I like the idea. I think I would simply add a “limit” attribute to the current shortcode. Doing that way one could limit base on organization, individual or connection groups simply by using the list_type attribute.

    Putting it in the template tag wouldn’t work because at that point you’re already in the loop.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Connections] Suggestion: shortcode for latest entries’ is closed to new replies.