Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • worked for me! thanks e3mobile!

    Thread Starter elpaso411

    (@elpaso411)

    roblagatta, sorry for now replying sooner! I tried adding the “//” as you suggested. It seems as if it worked! I don’t see the large image, nor the warning code anymore. Thanks again for all of your help. It is much appreciated.

    I’m not sure if I have to open a new thread for this other issue I’m having, the calendar homepage used to say “calendar of events” but now there is no title. https://elpaso411.com/events/

    Thanks again!

    Thread Starter elpaso411

    (@elpaso411)

    I will email you a copy of the theme tonight.

    As far as your question on the image front.. that is an image within the entry. If the event has no image, then no image appears at all. Events with images will display the image as a cover image on both the main events page, as well as the event page itself.

    Do you know anything about the “Warning: Missing argument 2 for TribeEventsTemplates::load_…” ? I can edit the code to remove that huge cover image, but this warning message sticks around no matter what.

    Thread Starter elpaso411

    (@elpaso411)

    Not sure why the huge banner is appearing above all the posts. It looks as if it makes a separate copy of the event image and displays it above the elpaso411.com/events page, as well as the event page itself. other events with different event images do the same thing. only time it doesn’t show is when the event doesn’t have an image included.

    I went into Events Calendar Settings and I set page template to “full-width.” My “full-width” page code begins like this..

    <?php
    /*
    Template Name: Full-width Page
    */
    ?>
    <?php get_header(); ?>
    
    <div class="wrapper full-width">
    
    	<?php while (have_posts()) : the_post(); ?>
    
    	<div id="content">
    
    		<?php
    		$image = ui::getImage('950', '350',$cropLocation);
    
    		if ($image) { ?>
    		<div class="cover">
    			<img src="<?php echo $image; ?>" alt="<?php the_title_attribute(); ?>" />
    		</div>
    		<?php } ?>

    When I remove this section of the code, the huge header image goes away. But I’m not sure if this will affect any other regular blog posts that may be set to “full-width.”

    <div class="cover">
    			<img src="<?php echo $image; ?>" alt="<?php the_title_attribute(); ?>" />
    		</div>

    The other problem, “Warning: Missing argument 2 for TribeEventsTemplates::load_…” just won’t go away. I have disabled all plugins, and tried changing permalinks to “/%postname%/” and nothing. Hope all this info helps. thanks for the help!

    Thread Starter elpaso411

    (@elpaso411)

    roblagatta – here is a link with the exact same problem.

    https://elpaso411.com/events/

Viewing 5 replies - 1 through 5 (of 5 total)