Forum Replies Created
-
AuthorPosts
-
November 27, 2014 at 9:32 pm in reply to: How to properly integrate Events Calendar default layout override with Genesis #133094morktronMember
Hi Susan, I haven't resolved this yet. It would be great if someone could help me out, thanks
October 12, 2014 at 6:45 pm in reply to: Change breadcrumb text for custom post type taxonomy #127606morktronMemberHi Susan, thanks for getting back to me. No I haven't resolved this yet unfortunately. Also I actually need it in another client's site as well now.
In this case they need the parent page of the custom post type to be a link in the breadcrumbs. I see automating this in WordPress is very tricky and involves something called the 'walker'.
So unless WP core makes this easier I'll manually add the correct links conditionally into the breadcrumbs via function.php if it is possible?
morktronMemberHi Derekalvarez, I've spent the whole morning trying to get Events Calendar to work with Genesis - now thanks to you I have it working 🙂
Here is the updated code for it to work with Genesis HTML 5 themes. Just put it here: [your-theme]/tribe-events/default-template.php
If anyone can see any errors or improvements please don't be shy.
<?php /* Default Events Template - Customised for Genesis HTML5 themes */ if ( !defined('ABSPATH') ) { die('-1'); } get_header(); ?> <div class="content-sidebar-wrap"> <main class="content"> <div id="tribe-events-pg-template"> <?php tribe_events_before_html(); ?> <?php tribe_get_view(); ?> <?php tribe_events_after_html(); ?> </div> <!-- #tribe-events-pg-template --> </main> <aside id="sidebar" class="sidebar sidebar-primary widget-area"> <?php do_action( 'genesis_sidebar' ) ?> </aside> </div> <?php get_footer(); ?>
morktronMemberWow, thanks so much for posting this, I never would have worked that one out myself. I've got my custom widget area working now, thanks to you 🙂
-
AuthorPosts