Links shortcode
[resolved] Extra option to output links in a table (2 posts)

  1. pander
    Posted 4 years ago #

    Could you please provide an extra option that will output links in a table.

    For example
    [links fblike="0" order="ASC" category_name="Blah blah"]
    would result in a HTML TABLE with a TR for each link. In that TR would be one TD and in that TD the actual link.

    Implementing this would enhance the functionality of links shortcode plugin.


  2. Maarten Swemmer
    Plugin Author

    Posted 4 years ago #

    Hello pander,

    In the latest version you can define your own template to display links in any way you like. The plugin includes some help on that, but here's an example on how to show links in a table:

    You could add images in a column next to the description by using the following:

    <tr style="width:100%;">
    <td style="width:100px;vertical-align:top">
    [optional <a href="[link_url]" target=_blank><img src="[link_image]" border=0 style="width:100px"></a>||]
    <div class="links_sc_fb" style="text-align:left">
    [optional [date]: ||]<a href="[link_url]" target="_blank">[link_name]</a>
    [optional <br />[link_description]||]
    [optional <br />[fb_button]||]

    You will need to add the following as code to be inserted before the links:
    <table style="margin:0;padding:0;">
    And the following to be inserted after the links:
    I hope this helps.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Links shortcode
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic