Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #16985
    scatmax
    Participant

    Hello,

    I installed Events Maker and the look of my website changed.

    The container of content in the blog loop, posts and pages has disappeared.
    See containers in Breadcrumbs, Sidebar Widgets

    This is that I had before installing the plugin:

    i.e.

    article id=”post19″> class=”post-19 page type-page status-publish hentry”

    .hentry, .no-results, #author-info, #disqus_thread, #content .error404 {
    background-color: #fff;
    border-bottom: 2px solid #ccc;
    -moz-border-radius: 5px;
    border-radius: 5px;
    position: relative;
    width: auto;
    word-wrap: break-word;
    }

    After installing the plugin I have this:

    <article id=”post19″> class=”post-19 page type-page status-publish”

    article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
    }

    It looks like the .hentry disappeared.
    I

    Blog Loop: https://www.childrendomatter.org
    Page: https://www.childrendomatter.org/who-we-are/
    Post: https://www.childrendomatter.org/our-mission-in-myanmar/

    and of course Event too: https://www.childrendomatter.org/events/event/mandy-greening-way-of-the-roses-cycle-may-2017/

    I am stuck and I don’t know what to do. Please help.
    Thank you

    #16994
    scatmax
    Participant

    Fixed it!

    From plugin/includes/class-templates.php

    I removed:

    add_filter( ‘post_class’, array( $this, ‘remove_hentry’ ) );

    and

    public function remove_hentry( $classes ) {
    $classes = array_diff( $classes, array( ‘hentry’ ) );

    return $classes;

    Now I got back the original layout.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.