WordPress.org

Ready to get started?Download WordPress

Forums

Two "next match" widgets , with varying size thumbnails (1 post)

  1. Adriandc
    Member
    Posted 1 year ago #

    Hi folks, just wondering is it possible to have two "Next Match" widgets where there are two different size thumbnails.

    This is the function in image.php

    Widget.php is using this

    $out .= "<p class='logos'><img class='home_logo' src='".$teams[$match->home_team]['logo']."' alt='' />V <img class='away_logo' src='".$teams[$match->away_team]['logo']."' alt='' /></p>";
    Also there is a function that creates the thumbnail and then another function that uploads it to the 'logo' field in the database.

    Im wondering is there anything that could be done in widget.php that reads a new logo or something? Or is there a much easier solution?
    any help would be great thanks

Topic Closed

This topic has been closed to new replies.

About this Topic