• Resolved djdancer

    (@djdancer)


    I’m using WordPress 4.5.3, Artisteer 4.1

    Duplicate content is showing up on my pages, all pages. I believe it’s an issue with my Artisteer. I had another site that this happened to, opened a ticket with Artisteer but it was never resolved.

    I see I have “art-postcontent clearfix” twice. What can I do to fix this?

    <div class=”art-postcontent clearfix”>
    <p>This will work out this time around.</p>
    </div>
    <div id=”comments” class=”art-comments”>
    <h1 class=”art-postheader”>
    <div class=”art-comment art-postcontent clearfix”>
    <p>This will work out this time around.</p>
    </div>
    <div class=”art-pager”>

    Here is a copy of my style.css I used to comment out “Post”, “Edit” and “Comment Form”
    .art-postheader {
    display: none !important;
    }

    .art-postmetadataheader {
    display: none !important;
    }

    .art-pager {
    display: none !important;
    }

    .art-commentsform {
    display: none !important;
    }

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter djdancer

    (@djdancer)

    Can anyone help with this? I don’t know if it helps but if I inspect the code on the page with Firebug I see two headers and clearfix’s. If I take one away in Firebug it works fine but I don’t know how to take them out of the code for the template so all pages don’t have double content.
    <div class=”art-content-layout”>
    <div class=”art-content-layout-row”>
    <div class=”art-layout-cell art-content”>
    <article id=”post-11″ class=”art-post art-article post-11 page type-page status-publish hentry”>
    <div class=”art-postmetadataheader”>
    <div class=”art-postcontent clearfix”>
    <div id=”comments” class=”art-comments”>
    <h1 class=”art-postheader”>
    <div class=”art-comment art-postcontent clearfix”>
    <p>This will work out this time around.</p>
    </div>
    <div class=”art-pager”>
    </div>
    <div class=”art-commentsform”>
    </article>
    </div>
    </div>
    </div>

    You should contact the Artisteer support. I have looked at the code that Artisteer software produces and it not pretty. My guess is that it duplicated some statements in the wordpress loop.

    Thread Starter djdancer

    (@djdancer)

    I did contact Artisteer but they keep telling me it’s not their template. We are going back and forth with it. This is a new WordPress install now because I rebuilt it just to see if it was an issue with my install. It was fine once again until I added my theme again.

    It doesn’t happen with any other templates. I only have 2 plugins installed and it doesn’t make a difference whether or not they are installed because I added the template this time before the plugins. I have not made a lot of changes to the code except to comment out the side bars again after I installed the template.

    I’m hoping someone can point me to the right thing to look for in the right file.
    TIA

    Thread Starter djdancer

    (@djdancer)

    This issue was resolved by commenting out the following code which caused duplicate content.
    .art-comments {
    display: none !important;
    }

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

The topic ‘Duplicate Content on page’ is closed to new replies.