• Resolved janustudios

    (@jojithedevil)


    Hi there,

    I am trying to show Referee names under the match time on my fixtures page for the specific match. I am trying to use this code on my template of match-list.php however this is not working. I tried to use the same code as previous post you helped me. Can I please have the working code?

    I am trying to use the following code below but its not working.

    <span class="wpcm-match-referee">
    <?php $referee = get_post_meta( $post->ID, 'wpcm_referee', true );?>
    <?php echo $referee; ?>
    </span>

    Thank you very much!
    Really appreciate your help!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Leon

    (@leonterry)

    Hi,

    You just need to change the $post->ID to $match->ID in get_post_meta(). That should work ??

    Thank you Leon. Its working flawlessly. I cannot thank you enough! I will go just now and add a 5 star! I would add 10 if i could!

    Just wondering if you had any problems with the review system that I should report to WP? ??

    Hope that helps and enjoy the rest of your weekend!

    Thread Starter janustudios

    (@jojithedevil)

    Hi Leon,

    That worked! again flawless support from you!

    Just wondering if you had any problems with the review system that I should report to WP? ??

    The only support request i would say is if you could let them know to have an option of ten star! That would be sufficient!

    Thank you again! My weekend will be now stress free!

    Thank you

    Plugin Contributor Leon

    (@leonterry)

    Hi,

    No problem, you’re welcome ??

    Thanks for the review, it is very much appreciated.

    Cheers

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Show Referee on Fixtures page for each match!’ is closed to new replies.