• Resolved Longbow

    (@faithfl)


    Hello all,
    I am super frustrated.

    I like Events Calendar use and functionality, but why do I have to fight with it to fit in my theme?

    I expect the /events/ pages to fit my theme, alas it does not. So, how do I:

    – Edit templates so they adopt my WP theme’s fonts, sizes and colors?

    – Edit template so that Events Calendar pages live on a page, like very other page on the site?.

    Look at this page:
    https://viadecristo.org/events/

    Then, look at any other page:
    https://viadecristo.org/about/

    Desired outcome: All the calendar stuff fits in pages like other pages on my site.

    Thanks for any help.
    Looking through your documents is not helping.
    Trying to discern what file I need to edit is a good place to start.

    -e

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter Longbow

    (@faithfl)

    So, I’m plodding along, editing CSS one item at a time.
    Why is this so much work?

    S. O. S.

    -e

    GeoffBel

    (@geoffbel)

    Hey @faithfl

    Yikes! Sorry for the inconvenience.

    Although there are many ways to customize the look and feel of your calendar, it sounds like you would be a prime candidate for our WordPress Customizer feature.

    Let us know if that works for you,
    Geoff

    Thread Starter Longbow

    (@faithfl)

    Hi Geoff,
    This is not my first go with Events Calendar.
    We run Pro on one site and I added it the free version to this non-profit site.

    What is so frustrating to me is that EC does not adapt to the theme. Why force the fonts, colors, etc. that you guys like, instead of using my theme’s?

    I’ve styled my way to it working on this site, but there’s hours I can’t get back.

    I’ll look at the Customizer and hope it helps, but it doesn’t answer my questions.
    What files do I edit to manage templates (Event and Events)?

    I wanted to dig into template files, but your file/directory structure is arcane to me.
    Magento makes more sense and their structure is a beast, but at least it’s documented.

    -e

    allenzamora

    (@allenzamora)

    Hi @faithfl,

    Thanks for getting in touch, and sorry to hear about your experience.

    Our How to Customize Template Files contains information on where the The Events Calendar template files are located https://theeventscalendar.com/knowledgebase/k/customizing-template-files-2/

    You might also find this resource to be useful: https://theeventscalendar.com/knowledgebase/k/basic-template-settings/

    I hope that helps answer your question. If I misunderstood what you’re trying to do or if you require further clarification, please let us know, and we’ll be more than happy to continue helping until you get your desired result.

    Kind regards,
    Allen
    TEC Support

    Thread Starter Longbow

    (@faithfl)

    Thank you

    Thread Starter Longbow

    (@faithfl)

    Ok, I’m making progress, but still have issues.

    Can you help?

    1.) page.php

    <?php get_header(); ?>
    
    <div class="content">
    	
    	<?php get_template_part('inc/page-title'); ?>
    	
    	<?php while ( have_posts() ): the_post(); ?>
    	
    	<article <?php post_class(); ?>>	
    		
    		<div class="post-wrapper group">
    			<div class="entry-content">
    				<div class="entry themeform">
    					<?php the_content(); ?>
    					<div class="clear"></div>
    				</div><!--/.entry-->
    			</div>
    			<div class="entry-footer group">
    				<?php if ( comments_open() || get_comments_number() ) :	comments_template( '/comments.php', true ); endif; ?>
    			</div>
    		</div>
    
    	</article><!--/.post-->	
    	
    	<?php endwhile; ?>
    
    </div><!--/.content-->
    
    <?php get_sidebar(); ?>
    
    <?php get_footer(); ?>

    2.) default-template.php in my ../tribe/events/v2/

    <?php
    
    use Tribe\Events\Views\V2\Template_Bootstrap;
    
    get_header(); ?>
    
    <div class="content">
    	
    	<?php get_template_part('inc/page-title'); ?>
    	
    	<?php while ( have_posts() ): the_post(); ?>
    	
    	<article <?php post_class(); ?>>	
    		
    		<div class="post-wrapper group">
    			<div class="entry-content">
    				<div class="entry themeform">
    					<?php the_content();
                        
                        echo tribe( Template_Bootstrap::class )->get_view_html(); ?>
                        
    					<div class="clear"></div>
    				</div><!--/.entry-->
    			</div>
    		</div>
    
    	</article><!--/.post-->	
    	
    	<?php endwhile; ?>
    
    </div><!--/.content-->
    
    get_footer();

    This adds the calendar in a page, but, it’s not rendering the page properly…

    I’ve turned it off for the moment, so it’s not live.
    Anything you can see in this code?

    Thanks,
    -e

    Plugin Support Abz

    (@abzlevelup)

    Hi @faithfl,

    Apologies for the delay here, could you make sure to tag my username (@abzlevelup) so I could be updated whenever there’s an update in this ticket.

    I’m curious, could you provide more context and what would you like to accomplish here? Moreover, please make sure to update the plugins to the latest version.

    Looking forward to helping you with this one.

    Best,
    Abz

    Plugin Support Abz

    (@abzlevelup)

    Hi @faithfl,

    Since we haven’t heard from you in a while on this topic we will assume that the problem was fixed or is no longer applicable and with that I will mark this as resolved.

    If that is not the case, please let me know and I will gladly remove the “Resolved” tag and try to help you further. Or you can create a new topic with the problem if you prefer.

    Best Regards,
    Abz

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Why doesn’t Events Calendar work within my theme?’ is closed to new replies.