Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter hawaiibillT

    (@hawaiibillt)

    I set it by adding an href to the logo in sportspress-league-menu.php. Would be a good addition to have the ability to add it in the league menu page

    Hi hawaiibillT,

    Glad you got this sorted.

    I was having this issue today myself.

    Could you please provide the code snippet and the location in the sportspress-league-menu.php where you placed your link reference?

    Kind regards,

    Simon

    Thread Starter hawaiibillT

    (@hawaiibillt)

    you’ve probably got it figured out by now but just in case. wrap this <?php echo wp_get_attachment_image( $logo, $logo_size, false, array( ‘class’ => ‘sp-league-menu-logo’, ‘alt’ => $title, ‘title’ => $title ) ); ?> with a href in sportspress-pro/includes/sportspress-league-menu/sportspress-league-menu.php

    Hi hawaiibillT,

    Thanks for adding this location, although I don’t know how to wrap an href around the code snippet you mentioned.

    Could you please provide the code you used and I can then amend the href to the URL I need?

    Kind regards,

    Simon

    Thread Starter hawaiibillT

    (@hawaiibillt)

    Simon a simple html link code works. a href=”link” target”blank” <?php echo wp_get_attachment_image( $logo, $logo_size, false, array( ‘class’ => ‘sp-league-menu-logo’, ‘alt’ => $title, ‘title’ => $title ) ); ?> /a Hope this helps you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘league menu logo link’ is closed to new replies.