WordPress.org

Ready to get started?Download WordPress

Forums

Link View
[resolved] What other attributes do you want to have? (13 posts)

  1. mibuthu
    Member
    Plugin Author

    Posted 2 years ago #

    I want to ask you what other attributes you want to have in the linkview shortcode or what else should be changed or added in the plugin.

    I have some things I want to add or change but I want to keep the plugin as simple as possible.

    I'm open for your suggestions.

    http://wordpress.org/extend/plugins/link-view/

  2. optialist
    Member
    Posted 2 years ago #

    Hi, first of all thanks for this simple and clear plugin. I would appreciate a show_description attribute. That would be very nice to have.

  3. mibuthu
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks for the suggestion. I will keep this in mind when I do the next releases but I cannot guarantee that is included already in the next version.

  4. timfurnish
    Member
    Posted 1 year ago #

    Is it possible to have a shortcode parameter that allows one to choose the order in which the links are listed? Currently it lists the most recent at the bottom. I'd like to see the most recent at the top.

  5. mibuthu
    Member
    Plugin Author

    Posted 1 year ago #

    The links are listed in alphabetical order.
    I want to keep the plugin as simple as possible and want to avoid attributes which are not required. To change the link order is not very important in my opinion. But if you have a good example for the use of a different order perhaps I change my mind. :-)

  6. nstoker
    Member
    Posted 1 year ago #

    The order is important to me. I have installed this on my site (http://www.chelseatextiledesign.org/main/links/) and I want the most important group at the top, not the one that happens to be A.... Ordering by slug would be one solution, because I could change the slug to suit me, e.g. by numbering the categories?

    ... I have just changed sc_linkview.php from
    $catarray = get_terms( 'link_category', 'orderby=name' );
    to
    $catarray = get_terms( 'link_category', 'orderby=slug' );

    ... and that seems to work for me. I would of course prefer not to have an personal custom version of the plugin, and I wonder if that might be relatively straightforward to solve?

  7. mibuthu
    Member
    Plugin Author

    Posted 1 year ago #

    An already working possibility to manually sort the categories would be to add the attribute 'cat_name' in the shortcode. There you can list all the categories you want to insert in your manually order separated by comma. The categories will then be displayed in the order given in the cat_name attribute.
    On disadvantage of this solution is that you have to manually add a new added category also in the shortcode in the site.
    Please tell me if this solution is sufficient for you.

  8. nstoker
    Member
    Posted 1 year ago #

    Hi, I think that it's really useful to know that - it means that I can get any result I want, even if it's not automatic.

  9. KPRoche
    Member
    Posted 1 year ago #

    I would like to be able to format the link list without all the line breaks between items (our site needs to spell out the URLs for the members):
    Name URL
    Name URL
    .
    .
    .

    Instead of
    Name
    URL

    Name
    URL
    .
    .
    .

    Is there a simple way to do that?

  10. KPRoche
    Member
    Posted 1 year ago #

    I have a temporary fix...

    In the sc_linkview.php file, I modified the private function html_link_item:

    On the 4th line, I modified $out = '<div class="lv-item-'.$item.$a['class_suffix'].'">';

    to read

    $out = '<div class="lv-item-'.$item.$a['class_suffix'].'" style="display:inline-block;">';

    This makes all the items included in a listing to display inline but still obey the style block model. Of course, they ended up butted against each other.

    I then scrolled down to the line that closed the div tag:
    $out .= '</div>';
    And added some non-breaking spaces
    $out .= '&nbsp;&nbsp;&nbsp;</div>';

    And that did the trick. You can see the page under development at

  11. KPRoche
    Member
    Posted 1 year ago #

    Oops, the link didn't post properly.

    http://penwag.fatcow.com/links/

  12. mibuthu
    Member
    Plugin Author

    Posted 1 year ago #

    You can set css styles for the links on the linkview admin page. This is very powerful and you can modify the output to your requirements without changing the php code.
    Try it, if you need help please tell me.

  13. nbquidditch
    Member
    Posted 1 year ago #

    I would like to set each link to display as an iframe. I am using the Embedder Plugin which does the job nicely by building a shortcode. However, the default WP linkview strips out the shortcode leaving just the url.

    The Embedder shortcode looks like:

    [link = "http://myurl.com" width=xxx height=xxx] which the Embedder plugin converts to an iframe against the following:

    <iframe src="{$_default}" style="border:0px #FFFFFF none;" name="Links" scrolling="yes" frameborder="1" marginheight="0px" marginwidth="0px" height="%height%" width="%width%"></iframe>

    Do you see a way to make this work with your version of Link View?

    Regards

    Will

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic