This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Trying to track down a possible theme conflict

  • Creator
    Topic
  • #23720
    inetinitiatives
    Participant

    Hi Jason,

    I’ve recently added a calendar plugin to a site that’s generating a broken post and I’m trying to track down where the conflict might be. I’m trying to eliminate if it’s conflicting with Barely Corporate (I love your themes and have never had that as a problem but wanted to check to be sure).

    The plug-in works pretty seamlessly: there is a full calendar (grid style) that is added to a page via a shortcode, then a custom post type is used to generate a page that gives event details, and another that can provide more detail on the event’s venue.

    The event detail page loads fine, however the event venue page, which I’m assuming uses essentially the same format, breaks the navigation layout (dropdown menus are split and no breadcrumb appears) as well as putting sidebar content below the page content. The weird thing is, I don’t have any sidebars/widgets configured to include the ones that show up on this page. This page should feature the same layout as the event detail page.

    I’m not getting a great response from the plug-in folks and was hoping that, before they try to say there’s a conflict with the theme, you might be able to point me in the right direction. I’ve always appreciated how helpful you’ve been in offering support so I hope this isn’t barking up the wrong tree by checking to see if there’s anyway that Barely Corporate could factor in.

    This is the event calendar display: http://www.cnhfoundation.org/event-calendar/

    This is the event detail page(post), with the sidebar being the default right sidebar: http://www.cnhfoundation.org/events/event/circle-k-fall-training-conference/

    This is the venue page, linked from “Old Oak Ranch” on the event detail page(post): http://www.cnhfoundation.org/events/venues/old-oak-ranch/

    Thanks very much for any feedback you can give me!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #23721
    Jason Bobich
    Keymaster

    Hi,

    What it looks like is the plugin integrates that page in a way where it’s not actually using a template file from the theme in its entirety. It’s basically outputting its own markup for the content and sidebar, and then slapping the theme’s header.php before and footer.php after.

    This is only going to work on some themes, and is not going to work with most themes. A more popular approach these days to what they’re doing is to use a full template file of the current theme like page.php, and then filter on the output to the_content.

    Anyway, I would ask them if there’s possibly some way you can modify the output of that page? Maybe they have some actions you can utilize to at least adjust the markup before and after? Or even better, maybe the plugin has some sort of template system you can utilize from a child theme?

    #23722
    Jason Bobich
    Keymaster

    Yeah, start here: http://docs.wp-event-organiser.com/theme-integration/how-do-i-customise-the-templates/ … you want to try to match the HTML markup output so it is the same as the theme.

    #23731
    inetinitiatives
    Participant

    Thanks Jason, I came across the template customization info on their site as well but since I really don’t know much about PHP was confused about why the event detail page would come out ok but the venue page wouldn’t.

    I’ll hack into it and see what I can accomplish!

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

The forum ‘Barely Corporate Responsive WordPress Theme’ is closed to new topics and replies.