• Resolved freshclicks

    (@freshclicks)


    I’m trying to stylize the the page template used on a category page.

    In Events Manager Settings > pages > Event Categories
    I’ve changed “Categories page” to point to a WP page and I’ve change the template that page uses to my custom template.

    When I look at the source code of my category page, I see the correct template page is being called, but know matter what I do to the page, the style will not update.

    Any idea how to modify?

Viewing 1 replies (of 1 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    did you mean single events category page? if yes,
    you can try these steps

    – create taxonomy-event-categories.php in your theme directory then edit it
    – paste this lines

    
    <?php
    /**
     * Template Name: Fullwidth Page
     */
    get_header(); ?>
    <?php
    	$queried_object = get_queried_object();
    	$term_id = $queried_object->term_id;
           
    	$EM_Category = em_get_category($term_id);
    ?>
    <div id="indent">
    	<h2><?php echo $EM_Category->output('#_CATEGORYNAME'); ?></h2>
    	<p><?php echo $EM_Category->output('#_CATEGORYNOTES'); ?></p>
    	<p><?php echo $EM_Category->output('#_CATEGORYNEXTEVENTS'); ?></p>
    </div>
    <?php get_footer(); ?>
    

    – save

    note: you can also copy your theme page.php or single.php and then use the snippet above in the content area

Viewing 1 replies (of 1 total)
  • The topic ‘theme template category?’ is closed to new replies.