WordPress.org

Ready to get started?Download WordPress

Forums

NextGen gallery code showing in post excerpts (4 posts)

  1. Skinny_Latte
    Member
    Posted 4 years ago #

    I am using the NextGen gallery plugin, but when I look at my excerpts in my list of posts the code for the gallery shows up as

    function startGallery_6() {
    var myGallery = new gallery($(”myGallery_6″), { timed: true, [...]

    Is there anyway to stop this?

    thanks for any help

  2. esmi
    Theme Diva & Forum Moderator
    Posted 4 years ago #

    Is the relevant template file using the_excerpt() or the_content()?

  3. Skinny_Latte
    Member
    Posted 4 years ago #

    It's being called in my archive template with the_excerpt()

  4. esmi
    Theme Diva & Forum Moderator
    Posted 4 years ago #

    Try replacing the_excerpt() with the_content() in archive.php and see if that helps at all.

Topic Closed

This topic has been closed to new replies.

About this Topic