WordPress.org

Support

Support » Plugins and Hacks » WP-Table Reloaded » [Resolved] [Plugin: WP-Table Reloaded] URL to Link Conversion extension

[Resolved] [Plugin: WP-Table Reloaded] URL to Link Conversion extension

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author TobiasBg

    @tobiasbg

    Hi,

    thanks for your post.

    No, unfortunately, this is not possible, as the links are created by a WordPress function that does not have a filter possibility currently 🙁
    It would be necessary to rewrite that function to have a target attribute.

    As a side note, allow me the remark, that target="_blank" is actually a bad thing, and should not be used in my opinion. It takes control away from the user. Users can already open links in new windows/tabs in all browsers, and that’s what should be the correct way used.

    Regards,
    Tobias

    Thanks for the reply.

    Have to disagree with the use of target = blank though as this is often necessary if you wish to link your clients to a site with further information but actually still make it easy for them to get back to your site. A lot of people have absolutely no idea how to open links in new windows and so often have to be guided.

    What I’ve ended up doing is creating the following script:

    $('.wp-table-reloaded a').attr('target', '_blank');

    so this will then open any link within the WP Table Reloaded table in a new window.

    Plugin Author TobiasBg

    @tobiasbg

    Hi,

    that’s a good solution with JavaScript! Nice find!

    Best wishes,
    Tobias

    Thanks Tobias and more importantly thanks for a great time saving plugin!

    Plugin Author TobiasBg

    @tobiasbg

    Hi,

    sure, no problem! You are very welcome! 🙂

    Best wishes,
    Tobias

    I love the plug-in! Great job. How do I created linked text within a column?

    What I want to do is link text within each column to different PDFs

    Does this allow me to browse to PDFs in my media files or do I have to know the path?

    Plugin Author TobiasBg

    @tobiasbg

    Hi,

    thanks for your question.

    That extension that greencode mentions will convert the URLs in table cells to clickable links. This might not be what you want.

    If you have the PDFs in the WordPress Media library, you can simply use the “Insert image” button below the table cells to insert a link to it.

    Regards,
    Tobias

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Resolved] [Plugin: WP-Table Reloaded] URL to Link Conversion extension’ is closed to new replies.
Skip to toolbar