• Resolved inspirechristianwriters

    (@inspirechristianwriters)


    I’m displaying Event as Pages and I’m seeing the “About the Author” box at the bottom of the event. Is it possible to turn this off? It’s not appearing on standard WP pages, though I do have it enabled for posts.

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hello,

    Try adding the following wherever you store your custom css:

    .mh-author-box.clearfix{
    display:none!important;
    }
    Thread Starter inspirechristianwriters

    (@inspirechristianwriters)

    Won’t that also hide it from actual posts where I want it to appear? I’m displaying events as Pages and my regular pages don’t display this box, so it seems odd it’s doing it for events

    So you DON’T want it on events pages only?

    Thread Starter inspirechristianwriters

    (@inspirechristianwriters)

    Yes . . . and it doesn’t appear on any _pages_ other than events

    Apologies, but I am still not quite understanding on where it should and should not be. The css method will work, I just need a better understanding so I can tailor it to fit the request.

    Thread Starter inspirechristianwriters

    (@inspirechristianwriters)

    This forum is for the Events Manager plugin, correct? So I’m only concerned with Events. I just created an Event yesterday with my wife as the ‘owner’ of the event so that bookings will be emailed to her. Beneath the event details her “About the Author” box appears but I don’t want it to appear on Event pages such as https://www.inspirewriters.com/events/critique-group-leader-training-fellowship/

    Plugin Support angelo_nwl

    (@angelo_nwl)

    it might be due to theme displaying author info on post; you can try to set single events page to Page under Events > settings > pages > event pages > display events as =Page

    Thread Starter inspirechristianwriters

    (@inspirechristianwriters)

    I am displaying Events as pages, that’s why I’m so surprised the box is showing on the Event page

    Thread Starter inspirechristianwriters

    (@inspirechristianwriters)

    I just looked in the code for a single page (page.php) and commented out one line, which fixed the problem. It seems to me that the Event is still being treated as a Post rather than a page:

    	while (have_posts()) : the_post();
    		if (is_page()) {
    			mh_before_page_content();
    			get_template_part('content', 'page');
    		} else {
    			mh_before_post_content();
    			get_template_part('content', 'single');
    			//mh_after_post_content(); //I commented this out and it fixed it
    		}
    		comments_template();
    	endwhile; ?>

    It seems the is_page() function is returning false but should be true.

    This is a theme issue, rather than something related to Events Manager. You may need to contact the developer of the theme for help with this.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Hide “About the Author” box’ is closed to new replies.