WordPress.org

Ready to get started?Download WordPress

Forums

Simple Links
[resolved] Only 5 links show in shortcode for a specific category (12 posts)

  1. Brad C
    Member
    Posted 1 year ago #

    Hey again,
    The shortcode will not show more than 5 links when specifying a category, but seems to work when all links are used.

    In specifying a category I've left off the count parameter as developed by the puzzle button to show all the links in that category, but only 5 will appear.
    Also tried
    [simple-links count="11" orderby="name" title="Links Grand Canyon" category="Grand Canyon Links" separator="<br>"]
    Still only 5 links show.

    you can see the lists all here working:
    http://6packriverrats.info/links/all-links/
    and here for the five links:
    http://6packriverrats.info/links/grand-canyon-links/

    Looks like it's only counting 5 links when it gathers the data for a specific category.

    http://wordpress.org/extend/plugins/simple-links/

  2. Brad C
    Member
    Posted 1 year ago #

    Just also noted that the link ordering is also only showing 5 links to order for all categories. When I go to specific categories it will not show all the links some with 1 some with 3.

    I did do an import for the original links to simple links then add a few more links.
    Even a new link I just added will not show in the link ordering. This appears complete broken.
    Willing to let you in the back end to see it.

  3. Mat Lipe
    Member
    Plugin Author

    Posted 1 year ago #

    Hello Brad C,

    Thank you for pointing out the bugs in the link Ordering section and the other things to prevent themes from overriding the shortcode settings.

    I have fixed these items and published a new version of the plugin.

    I went ahead and updated the plugin on your site and eveything now appears to be working as it should.

    It was a HUGE help having backend access to your site so I could see exactly what your theme was overriding. This made trouble shooting alot easier.

    Thanks again for pointing out these bugs!

  4. Brad C
    Member
    Posted 1 year ago #

    Figured it'd be easier for you to get it and take a look as it's a buddypress in an elegant theme install. Thanks for your quick attention to this, looks to be working marvelously.
    This plug in is a great time saver for our continued and expanding linking needs. To bad this functionality is being dropped in WP. Thanks for the plugin and great work.

  5. Native Imaging
    Member
    Posted 1 year ago #

    Nice Plugin.
    Would be nice if it would replace the "links" in the admin bar, or replace it all together.
    Also, one issue, when using an external image url, the "insert into post" button disappears when the URL field is populated. This is pretty important for us since we like to point to our website icons, and may update them periodically and have all of our websites updates the link icons automatically. Thanx though, neat plugin :)

  6. Mat Lipe
    Member
    Plugin Author

    Posted 1 year ago #

    Hello,
    There is a checkbox in the settings that replaces the l ininks in the admin bar. Let me know if it is not working for you.

    I built in some checking for a valid links. That is probably what is causing the issues with the links to images. I'm in the jeep at the moment but will take a look at the code when I get to a real computer.

    Cheers

  7. Mat Lipe
    Member
    Plugin Author

    Posted 1 year ago #

    Hello Again,
    I did some checking and your issue with linking to an outside url stems from default WordPress Behavior. The Link's Image is using the standard featured image functionality which does not allow for using an outside image.

    A way to make this work is create an additional field in the simple links settings. Name it something like "outside image". Put the tag with the outside image in this field on the link editing pages e.g
    <img src="http://upload.wikimedia.org/wikipedia/commons/thumb/a/a9/2D_Random_Walk_400x400.ogv/mid-2D_Random_Walk_400x400.ogv.jpg" />
    It will look kinda funky because it will try to load the image into the text field but it should work.
    Include the additional field in your shortcode or widget output and the image will display.

  8. ellisdee
    Member
    Posted 1 year ago #

    Hi Mat,
    thanks for great plugin!

    I have still problem with shortcodes, that not display all links from category. My category have 22 links.

    i tried:
    [simple-links show_image="true" category="Partneri"] - display nothing
    [simple-links show_image="true" category="Partneri" count="16"] - display nothing
    [simple-links show_image="true" category="Partneri" count="15"] - display ok
    [simple-links category="Partneri"] - display ok

    Here you can see shortcode with 15 links: http://ls.dogfish.cz/muzeum/o-muzeu/partneri

    Second little bug is if you have installed wordpress in folder like http://www.somedoman.com/wordpress-site/ shortcode icon in WYSIWIG not work.

    Thanks for your help :)

  9. Mat Lipe
    Member
    Plugin Author

    Posted 1 year ago #

    Hello,

    I have been unable to recreate your issue with the shortcode. I do believe I have fixed the shortcode icon button and will add the fix the next release once we figure out your display issue.

    Please send me login credentials to your site so I may take a look. mat@lipeimagination.info. Otherwise if you prefer please create a test page with the 'broken' shortcodes added to it and send me a link so I can make sure formatting is not the issue.

    Cheers.

  10. Mat Lipe
    Member
    Plugin Author

    Posted 1 year ago #

    Hello ellisdee,

    I received you email with ftp credentials. Please send my a WordPress Admin login to this site as well. I tried to respond to your email but it does not go through.

    Cheers.

  11. Mat Lipe
    Member
    Plugin Author

    Posted 1 year ago #

    I took a look at your site and it appears that WordPress is removing the shortcodes content during it's regular shortcode regular expression filter. It is being removed at this line in wp-admin/shorcodes.php. When I bypass the preg_replace it displays fine.

    return preg_replace_callback( "/$pattern/s", 'do_shortcode_tag', $content );

    There is a plugin, or your theme which is adding special characters and elements to the links. This is most likely causing the issue.

    Updating your WordPress intstall and plugins to the latest versions may help, but I am not certain this will work.

    Hope this helps.

  12. ellisdee
    Member
    Posted 1 year ago #

    It helps alot Mat, i tried to update WP and plugins still dont work. Next I tried disable all plugins and find its because of Lightbox Evolution plugin :)

    Thanks again for this great plugin!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.