I tried to use the taxonomy-events-categories.php and it did not work for me at all. Here is one of the pages I can not seem to change:
https://uafalumni.com/events/activities/alumni-reunion/
I just need to replace the top and side navigation so it does not look like it is using the shopping cart or our stores menu to get around.
If you’re having trouble using Angelo’s solution, another option would be to use something is_page() in header.php to check which page the user is on and display images accordingly.
I have tried almost every thing I can. I even got a plugin to tell me which template I was using so I could find out what was going on and it could not even tell me what template/page I was using. It showed others to me just not the pages I needed.
https://uafalumni.com/events/activities/alumni-reunion/
It is like I have something messed up in the theme but not sure what it can be. Is there any other way to figure out what it is using? I have made category-activities.php, page-activities.php, page-events.php, taxonomy-events-categories.php, taxonomy-events.php, taxonomy-activities.php, a page template and assigned it to activities page. I am at a lost.
i finally got the template plugin to say the https://uafalumni.com/events/activities/alumni-reunion/ page is using this template: taxonomy-event-categories.php but for some reason it does not fetch the header and sidebar like it should. It still fetches the default header and sidebar.
Please take a look at my code and let me know what I am doing wrong. thank you. I did shorten the code up a bit so it was not so long.
<?php get_header('events'); ?>
<div class="content" id="content">
<?php get_sidebar("blogs")?>
<div class="leftside">
<div class="leftinside3" id="leftbar">
<div class="widgetBox">
<h1 class="cat-title"><?php the_category(', ') ?> Event</h1>
<div class="inside">
<?php
if (have_posts()) :
while (have_posts()) : the_post();
if (is_admin ()){
}else{
$counter = get_post_custom_values("post-counter");
if ($counter[0]==""){
add_post_meta($post->ID, 'post-counter', 1);
}else{
$newcounter = $counter[0] + 1;
delete_post_meta($post->ID, 'post-counter');
add_post_meta($post->ID, 'post-counter', $newcounter);
}
}
?>
<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
<div class="post_info">
<h1 class="bauhaus"><?php the_title(); ?></h1>
<div class="clear"></div>
</div>
<div class="clear"></div>
</div>
</div>
</div>
</div>
<div class="clear"></div>
</div>
<?php get_footer(); ?>
seems to work when I try this link https://uafalumni.com/events/activities/alumni-reunion/ ? am seeing widgets SHOP UAFAA and SUBSCRIBE NOW in the sidebar
No it should be the Events and subscribe in sidebar no shop UAFAA and the top navigation should not have the shopping cart in it.
Should look like this page: https://uafalumni.com/events/campus-tours-day1/
Which I got working just fine but can not get 2 pages to do that.
the only ones I seem to be having issue with are the Event categories I made in the Event manager plugin: for example Alumni reunion and Campus Tours. Otherwise i am able to accomplish the desired look for the rest. Not sure why I can not reach the Event Category single pages to change the header and sidebar on them.
can I know if you made custom template for single events page?