[Resolved] Content duplicated in categories when I create an entry

Home Forums Support [Resolved] Content duplicated in categories when I create an entry

Home Forums Support Content duplicated in categories when I create an entry

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #784692
    Fernando

    I insert text in a category and everything is fine, the problem is that when I create an entry and assign that category, the content is duplicated. Why does this happen?

    Example:
    https://repuestocar.online/limpiadores-llantas-coche/

    #784898
    Leo
    Staff
    Customer Support

    Hi there,

    I’m not quite sure what you mean.

    Can you try #1 here to eliminate any plugin conflicts first?
    https://docs.generatepress.com/article/debugging-tips/

    If that doesn’t help, can you try #4 here so we know if it’s a GP issue or not?

    It will also help if you can allow us to right click when debugging.

    Let me know 🙂

    #785265
    Fernando

    Hi Leo, thanks!

    I’ve deactivated all the plugins and the problem continues.

    I’ve tried changing the theme to “twenty seventeen” and the problem doesn’t appear.

    Can you check now what it’s all about? I’ve activated the GeneratePress theme again.

    #785707
    Leo
    Staff
    Customer Support

    The page link you provided is now showing: “¡Vaya! Esa página no se puede encontrar.”

    Do you see the problem again with GP activated?

    #791132
    Fernando

    Hi Leo,

    Ok, show this other url: https://repuestocar.online/category/anticongelantes-coche/

    There you can see how the content of the category is first, then in half an entry and then again the content of the category with the same images.

    Why does it happen?

    #791313
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Are you using any hooks? If so, do any of those hooks have anything related to taxonomy descriptions?

    #791681
    Fernando

    Hi Tom,
    I use a hook for Google Tag Manager. Anyway all plugins are disabled right now…
    How do we do it? Do I give you access to the administrator by private?

    #792116
    Leo
    Staff
    Customer Support

    You can send it through Account Issue here:
    https://generatepress.com/contact/

    Please leave all plugins disabled and include the topic URL.

    Thanks!

    #792261
    Fernando

    Okay, I just sent it 😉

    #794988
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Your parent theme archive.php has this line added to it: http://prntscr.com/mdiskb

    If you remove that, the issue should go away.

    #800043
    Fernando

    Hi Tom,

    What does that mean? What has already been fixed with that?

    Do I have to include that code in every installation that happens the same? Or is it an exceptional case?

    #800054
    Fernando

    Hi,
    I’ve activated all the plugins again to see if it’s true that it was fixed, and the duplicate content reappears in the category pages as before…

    What’s going on? 🙁

    #800133
    David
    Staff
    Customer Support

    Hi there,

    go to Dashboard > Appearance > Editor.
    Select the archive.php file as per the image Tom provided.
    Find the Line that Tom has underlined in red in that image.
    And delete that line. And then save the changes.

    #800392
    Fernando

    It worked,

    Thank you so much! 😀

    #800557
    Tom
    Lead Developer
    Lead Developer

    No problem! 🙂

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