WordPress.org

Ready to get started?Download WordPress

Forums

gallery question remove thumbnails (8 posts)

  1. isonychia
    Member
    Posted 2 years ago #

    When i create a gallery and insert the shortcode the final page displays the images and then thumbnails underneath it. When you click the images you get the full image with the option to scroll through the others. You can scroll through the others as there are small images overlayed at the bottom of the active photo.

    However on the page below the images is another set of smaller thumbnails. So if I have 10 photos in my gallery the page that shows that gallery actually has 20 images. 10 medium images(that when clicked show full size images) and underneath 10 thumbnails.

    I don't need the thumbnails as it's redundant. How do i get rid of them.

    It looks like this is the code being generated that is responsible:

    <div id="gallery-1" class="gallery galleryid-985 gallery-columns-2 gallery-size-thumbnail">

    I think this is generating that set of thumbnails:

    gallery-size-thumbnail

    I cant figure out how to tell the gallery to omit that.

    Thanks
    iso

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    Have you tried:

    - deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - switching to the Twenty Eleven theme to rule out any theme-specific problems.

    - resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

  3. isonychia
    Member
    Posted 2 years ago #

    I tried that and it didn't work.

    Esmi is the code I pasted generated from the shortcode?

    This: <div id="gallery-1" class="gallery galleryid-985 gallery-columns-2 gallery-size-thumbnail">

    I tried tracking it down in my theme and I don't know how it's being generated so i assume it comes from the shortcode.

    Thanks
    iso

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    Yes - it's generated by the shortcode but that output can be modified by the theme.

  5. isonychia
    Member
    Posted 2 years ago #

    How would I check that?

    which file can i check in?

    Thnaks
    esmi

  6. esmi
    Forum Moderator
    Posted 2 years ago #

    Did you try the steps I suggested above?

  7. isonychia
    Member
    Posted 2 years ago #

    yes.

    They didn't work.

    I looked at my themes files and cant find a place that addresses galleries or has the word "galleries" in it for me to track down what part of my theme is creating or modifying the gallery.

    iso

  8. isonychia
    Member
    Posted 2 years ago #

    Ok i think i know whats controlling it.

    When i make these galleries i guess i am using a custom post type called portfolio. It looks like a native wp control panel for Portfolios but I couldn't find anything on PORTFOLIOS in the codex. So I assumed it had to do with custom post types and it was created for this theme.

    In the wp admin panel there is a section called Portfolio> All Project> Add New project>Project Categories>Project Tags>Portfolio Types>Sort Projects.

    When I look at some of my projects in the list view it has x amount of headings. One of the headings is description. In the description area is not text (as I want it) but instead it's a preview of the thumbnails.

    Problem is it's too complicated for me to explain and since I don't know about custom post types and how the PORTFOLIO admin section was created I don't know how to fix it.

    The theme has it's own CP that allows me to turn on and off the DESCRIPTION of the project and that gets rid of the thumbnails but it also gets rid of the text description.

    I must be using the PORTFOLIO system to show my galleries incorrectly.

    iso

Topic Closed

This topic has been closed to new replies.

About this Topic