• Resolved xerode

    (@xerode)


    Hi I would like to add links within my tables. I viewed the support area of your site and the documentation however I don’t think I found an answer.

    I saw the “open link in new window” info but I need individual links on each row of within a particular column within the table.

    Is this possible? If so, what do you recommend?

    Thanks!

    PS… The original .CSV file has hyperlinks within it.

Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter xerode

    (@xerode)

    Hi Tobias!

    Never mind! I kept looking and figured it out! Thanks… I love the plugin! One of the “best of” for WordPress!

    I do have a question regarding SEO. If I have 200 rows but only want to display 10 or 20 at a time, how does this affect SEO? Do the search robots search the .csv file or only what is displayed on the page?

    Thanks again!
    Bruno

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    you can insert links through the “Insert Link” button, or manually enter the HTML.

    Regarding SEO: Search robots will see the same data as you when viewing the site. They will not see the CSV file (and won’t even know that there was one). All they see is the table HTML.

    Best wishes,
    Tobias

    Thread Starter xerode

    (@xerode)

    Simple enough Tobias! I’ll just allow the form to be as big as it needs to be then. Thanks for your quick response!

    iaroca

    (@iaroca)

    When I try to add a link to a table property here: http://carnevalehockeygroup.com/?page_id=47

    you will notice that the first box is empty but there is still a link there. How do I make it so the link is visible and is easily understood that it is a link.

    Thanks tobias!

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    this is happening because the HTML code in the table cell for the link on purpose sets the link color to white.
    You should change the

    <a href="http://www.carnevalehockeygroup.com"><span style="color: #FFFFFF;">Gonzaga</span></a>

    that you have in the cell to

    <a href="http://www.carnevalehockeygroup.com">Gonzaga</a>

    Regards,
    Tobias

    iaroca

    (@iaroca)

    Yeah, thats the standard code that it gives me and doesnt work. I tried that and still the same…?

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    where do you get that “standard code” from? The “Insert Link” button of WP-Table Reloaded will give you the second piece of code that I posted.
    Which piece of code do you see in that cell on the “Edit” screen?
    Is there maybe another plugin installed that add this color change?

    Regards,
    Tobias

    iaroca

    (@iaroca)

    I added the colour code after the insert link code didnt work.

    when I click insert link this is the code I get:
    ‘< a href=”http://www.carnevalehockeygroup.com”&gt; Gonzaga ‘

    So im not sure what to do…

    iaroca

    (@iaroca)

    because right now when i insert the link, it works but its white and i need it to be black

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    the color code you added actually makes it white (#FFFFFF is the code for white).

    Instead, you should change the color with CSS, e.g. with the following code, which you need to enter into the “Custom CSS” textarea on the “Plugin Options” screen of WP-Table Reloaded.

    .wp-table-reloaded a {
      color: #000000!important;
    }

    Regards,
    Tobias

    iaroca

    (@iaroca)

    I did that and still nothing…
    It is table 1 so it should look like this right?

    .wp-table-reloaded 1 {
    color: #000000!important;
    }

    or

    .wp-table-reloaded-id-1 {
    color: #000000!important;

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    for table 1, it must be

    .wp-table-reloaded-id-1 a {
      color: #000000!important;
    }

    As you will want this change for all tables though (otherwise links would be white there), please try with the exact code from my previous post.

    Regards,
    Tobias

    iaroca

    (@iaroca)

    Thats amazing it worked thanks so much! I just was missing the a after the 1

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    correct. And as I can see in the source on your website, you have used the same code for other tables as well. As I mentioned, that is not a very elegant way though: As you want the code to work in all tables anyway, there is no need to duplicate the code. Just use

    .wp-table-reloaded a {
      color: #000000!important;
    }

    and you won’t have to worry about the link color in any table again and you won’t have to copy the code again. And of course, it is much shorter and easier to maintain…

    Regards,
    Tobias

    iaroca

    (@iaroca)

    Oh Great thats even better. Thanks. Does that apply for other things to like table width? Is there one code that I can use for lets say half of the tables?

Viewing 15 replies - 1 through 15 (of 16 total)

The topic ‘[Plugin: WP-Table Reloaded] Links within tables’ is closed to new replies.