• Resolved AutoPilotDK

    (@autopilotdk)


    Hi!

    Just implemented QEM on a site, and it’s looking really nice πŸ˜‰ One thing seems to fail though.

    When viewing a single event, the description text appears twice. Once where I expect it to, at the top, and then again below the Share buttons at the bottom of the page.

    See https://imgur.com/a/glLVhZO

    Same issue in Edge, Chrome etc.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • is that possibly an issue created by another plugin or your theme? ( Maybe the share plugin?)

    You can investigate, first install the Health Check and Troubleshooting plugin. This allows you to disable things without impacting users.

    When install disable all plugins and reenable QEM and set the the theme to default. Does the issue persist?

    if not, switch back to your theme, has the issue returned?

    continue re enabling plugins one by one, when does the issue come back?

    let me know what you find.

    Thread Starter AutoPilotDK

    (@autopilotdk)

    Thanks for the swift reply!

    Health Check and Troubleshooting didn’t turn up anything (a few recommendations), and disabling plugins this way, only made it impossible to access https://detsundesind.dk/event/kakaoceremoni-01-07-23/

    However, the site runs Enfold theme. I’m noticing the event page lacks a footer. Enfold uses a separate page, as a footer. Could there be something out of the ordinary here? Like the event page is structured in a different way?

    Thanks, Enfold is a premium theme but fortunately I own a copy so I can test.

    Testing on a a vanilla Enfoldd setup there is no duplication,but there are hundreds of setting in Enfold any one of which may be the issue.

    By default the event uses the template file single.php

    I not that contains logic to display related post and it may just be that that is confused.

    If you edit single.php you will see the lines

    $blog_disabled = ( avia_get_option('disable_blog') == 'disable_blog' ) ? true : false;					if(!$blog_disabled)				{						
    //show related posts based on tags if there are any						get_template_part( 'includes/related-posts' );						

    The simplest thing to do is create a custom theme template specific to events and edit that and remove any ‘extras’ not required like related posts

    It’s very easy to create your own template

    1. Connect to your domain using FTP or file manager

    2. Navigate to the theme directory. Normally wp-content/themes/enfold

    3. Download the file called single.php to your computer.

    4. Open the file using a text editor.

    5. Add the following to the very top of the file: <?php /* Template Name: Single Event */ ?> and edit / remove / add any code you don’t want

    6. Save as: single-event.php.

    7. Upload the file to your theme directory.

    The event manager will detect the new template and use it for single events.

    How did you get on?

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

The topic ‘Content doubled in event’ is closed to new replies.