WordPress.org

Forums

[resolved] [Plugin: WP-Table Reloaded] Table Sorting Not Happening? (7 posts)

  1. bencharity
    Member
    Posted 5 years ago #

    I installed this plugin on a site previously and the sorting worked fine. However when I installed it on a new site, the sorting does not even appear. It is in the backend options of course, but no matter what I check or uncheck the table head doesn't sort the columns, and the arrows don't appear.

    I tried reinstalling the plugin, and deactivating/reactivating and multiple browsers. The only difference that I can see is that the class of 'header' doesn't seem to be applied to the table header on the site where the table isn't sorting.

    Since it worked before I'm sure I must be missing something obvious. Any ideas?

    The site is: http://thebenjaminresource.com/tbr/wp/chord-charts

    Thanks in advance!
    Ben

    http://wordpress.org/extend/plugins/wp-table-reloaded/

  2. TobiasBg
    Member
    Posted 5 years ago #

    Hi,

    this sounds like as if your theme's footer.php does not include a call to wp_footer();.

    Please check if your theme's footer.php contains a line like
    <?php wp_footer(); ?>
    If not, please add that just before the </body> tag.

    And you will probably need to adjust the paths to the images used by Tablesorter in your style.css, because you don't have WordPress installed in the domain root.
    (This means adjusting the three occurences
    background-image: url(/wp-content/plugins/wp-table-reloaded/...
    to the correct path on your server by prepending the URL.)

    Hope this helps,
    Tobias

  3. bencharity
    Member
    Posted 5 years ago #

    Once again you have quickly solved my issue!

    Thanks Tobias!

  4. ksmith101
    Member
    Posted 5 years ago #

    I hope I can post to an existing issue instead of opening a new one.

    I have wp-table reloaded working fine for one table on my site, but another one does not give me the sort in the top row even though I have the box ticked off to do so. The other thing I noticed is the background color of the working table has a color but the nonworking table has white as the background color on the top row.

    The following has been aded to the Custom CSS box in the plugin options for wp-table reloaded. It was added to change the font size, etc. This may be causing my problem, but I dont know what part. I have removed parts of this code and tested it without a fix.

    .wp-table-reloaded-id-6 td {
    text-align: center;
    font-size: 14px;
    padding: 2px;
    color: #000000;
    }
    .wp-table-reloaded-id-6 td a:hover {
    color: #fa1608;
    }

    .wp-table-reloaded-id-13 td {
    text-align: center;
    font-size: 14px;
    padding: 2px;
    color: #000000;
    }

    .wp-table-reloaded-id-13 td a:hover {
    color: #fa1608;
    }

    .wp-table-reloaded .row-1 .column-1,
    .wp-table-reloaded .row-1 .column-2,
    .wp-table-reloaded .row-1 .column-3,
    .wp-table-reloaded .row-1 .column-4
    {
    color: #000000;
    font-size: 14px;
    }

    My site is http://www.wildandwonderfulphotography.com

    The table not working is on the Library link from the top menu. Also notice the last line of the table is not aligned properly.
    The table that is working is on the Article link from the top menu.

    Any help will be greatly appreciated.

    Kathy

  5. ksmith101
    Member
    Posted 5 years ago #

    Sorry, my link is actually my blog...
    http://www.wildandwonderfulphotography.com/blog

    Kathy

  6. TobiasBg
    Member
    Posted 5 years ago #

    Hi,

    I just had a quick look at your site.

    It looks like that a really tiny typo error is messing up your table :-)
    In row 160 (World's Top Photographers Wildlife), in the HTML for your link, there is a quotation mark (") missing after the _blank.
    Because of that, the browser can not properly render the table (that's where that dark gray field comes from). And because of that, the background-color styling and sorting do not work.

    So, just add that missing " and everything will be fine :-)

    Best wishes,
    Tobias

  7. ksmith101
    Member
    Posted 5 years ago #

    Tobias,

    Sharp eye! The quotation made all the difference.

    THANKS!

Topic Closed

This topic has been closed to new replies.

About this Topic