• Resolved Bogdan87

    (@bogdan87)


    Hello, thank you for this awesome plugin, I konw this isn’t the right thread to ask this but I couldn’t find the right one. My team links aren’t working, although I entered a link in the required field, tha table shows like there aren’t any links. What can I do?

    Thanks,
    Bogdan

    http://wordpress.org/plugins/league-standings/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Mark O’Donnell

    (@markodonnell)

    Hi Bogdan,
    First, thanks for opening the new thread. My comments apply to version 1.0, hopefully your question does too!

    The documentation is not very clear on this, is it. I will improve it with the next release. There is not a Display Setting for this. I will add it to the next release.

    Right now, you have to add an argument to your shortcode, like so:

    [mstw_ls_table league_id=league-slug show_team_links=1]

    You can see this in the NHL Pacific Standings on my development site.

    Thanks for calling this to my attention.
    -Mark

    Thread Starter Bogdan87

    (@bogdan87)

    Thanks, I should have paid more attention. If some teams don’t have links and others have, in the same table, is it possible for the teams that don’t have links to look like regular ones ?

    Thanks again,
    Bogdan

    Plugin Author Mark O’Donnell

    (@markodonnell)

    No worries. Why don’t you give it a try and let me know how it works? 🙂

    -Mark

    Thread Starter Bogdan87

    (@bogdan87)

    It works fine, thanks, but if some teams don’t have links and others have, teams that are in the same table, is it possible for the teams that don’t have links to look like regular ones ? I mean if a team has a link and the next one doesn’t, they look the same, hyperlinked. Maybe I didn’t express myself right…

    Plugin Author Mark O’Donnell

    (@markodonnell)

    Bogdan87-
    Why would you want links and non-links to look the same? How are users going to know that there’s a link? But whatever, you can edit the plugin’s stylesheet and change the anchor a rules to whatever you desire. Note that there are quite a few rules to change – even rows, odd rows, home games – as well as states :hover etc.
    -Mark

    Thread Starter Bogdan87

    (@bogdan87)

    That is the problem I don’t want links and non-links to look the same, but they look, in my case. I inserted show_team_links=1 and all teams have links, even those who shouldn’t have. Do you know why ?

    Plugin Author Mark O’Donnell

    (@markodonnell)

    Got it. It’s a bug and has been corrected. Here’s the simple fix in the league-standings.php file (around line 466, just search for the line inside the (new) conditional.

    if ( $show_team_links and get_post_meta( $team->ID, 'mstw_ls_team_link', true ) != '' ) {
       $name_string = 'ID, 'mstw_ls_team_link', true ) . '" target="_blank" >' . $name_string . '';
    }
    

    I don’t have time to release a new version of the plugin to WordPress.org at the moment, but if you aren’t comfortable editing the file, just contact me at mark@shoalsummitsolutions.com, I’ll send you the patched file.

    Regards,
    -Mark

    Thread Starter Bogdan87

    (@bogdan87)

    Hey Mark,
    It works great. Thanks again for the support and for the amazing plugin.

    Bogdan

    Hello ! Congratulation for this great plugin. I use it without Problem. But on thing i want to know is ” how to set up the mascot ?”
    Thank you in advance.

    Plugin Author Mark O’Donnell

    (@markodonnell)

    Hi apresmatch-
    This thread is CLOSED (RESOLVED). Please create a new support thread (with a descriptive name) and ask this question, I’ll be happy to answer it there so it benefits everyone. Users are unlikely to find it in this thread.
    Thank you.
    -Mark

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Team links not working’ is closed to new replies.