• Resolved Tim Derouin

    (@tderouindesign)


    I am trying to set a custom header image on an event setup with The Events Calendar version 4.6.13 by Modern Tribe, Inc.

    I am able to select a custom header image from my media library but it does not change on the live page. Perhaps this is not possible with The Events Calendar plugin?

    Let me know what you think, thanks!

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ryan Hellyer

    (@ryanhellyer)

    This should work. I’m not sure why it wouldn’t. I’m hectically busy right now, but I’m putting an alert in my calendar to remind me to look into this later for you.

    Thread Starter Tim Derouin

    (@tderouindesign)

    Thank you @ryanhellyer and no worries as I appreciate your efforts.

    I did attempt to disable all other plugins and activated other themes without success.

    I look forward to hearing from you.

    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    Sorry for the delay in responding. I tested this just now, but on my test site it is working perfectly.

    Has this problem perhaps fixed itself automatically due to an update to the events calendar plugin?

    Thread Starter Tim Derouin

    (@tderouindesign)

    Hello @ryanhellyer,

    Thanks for the update. I still cannot get that to work. Perhaps it is my theme template used for the event calendar? The page in question can be seen here: https://www.sledmass.com/event/annual-golf-tournament/

    The following php is used for where the image gets placed:

    <img src="<?php header_image(); ?>"/>

    This is in my functions.php doc:

    add_theme_support( 'post-thumbnails' );
    
    $args = array(
    	'default-image' => get_template_directory_uri() . '/images/slider-lone-rider1.jpg', 
    	'uploads'       => true,
    );
    add_theme_support( 'custom-header', $args );

    Thoughts?

    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    I have absolutely no idea why it’s not working sorry. I don’t see any potential clashes with the code you posted above.

    If you’d like me to investigate further, I’ll need admin / file system access to a site which has this problem for me to test on. Since I can’t replicate the problem, I’m not sure how else I can help debug it sorry.

    I can be contacted privately with credentials via https://ryan.hellyer.kiwi/contact/. Just make sure you link to this thread in the email so I know what it’s referring to 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Use with event posts with the Event Calendar plugin’ is closed to new replies.