Hiding featured image from gallery

  • Author
    Posts
  • #15206

    Hi there

    I realise this query has already been posted, but I’ve followed the instructions but am having problems making it work.

    The previous post stated:

    To exclude a specific image from a gallery, please follow these steps:

    If you haven’t already, upload your gallery to WordPress;
    Navigate to Media → Library;
    Find the Featured image which you would like to hide from the gallery;
    Hover over this image, and click View;
    In your browser’s URL bar, you will see an image id, for example ‘id=684’;
    Copy this id number (In this example, it’s 684)
    Return to your gallery;
    Switch to the Text editor mode;
    Find the gallery shortcode: ‘[gallery]‘;
    Exclude the image id, like so: ‘[gallery exclude="684"]‘;
    Click Update.

    I having problems with step 5. No image id appears, what shows in my URL is:
    http://ninabrowndesign.com/2012/04/01/magazine-design/archantcover/

    ‘archantcover’ is the name of the file. Do you know how I get the image id?

    Thanks!

    The blog I need help with is: (visible only to logged in users)

    #15311
    scottrrollo
    Theme Author

    Hi there,

    To clarify, this ID number will appear at the top of your browser’s URL address bar.

    If you’re still having trouble locating your image ID, please let us know!

    #15344
    ninabrowndesign
    Member
    Original poster

    Thanks Scott!

    I have actually found that some of my images have an ID number, some of them do not.

    So the end of the URL with id numbers ends e.g:
    http://ninabrowndesign.com/?attachment_id=658

    Ones without:
    http://ninabrowndesign.com/2012/04/01/uktp/uktp-logo/

    Do you know why this might be?

    N

    #15351
    scottrrollo
    Theme Author

    Hi again!

    The following link is an image attachment:
    http://ninabrowndesign.com/?attachment_id=658

    This link, though, is a blog post:
    http://ninabrowndesign.com/2012/04/01/uktp/uktp-logo/

    The ID of this post is 629. If you would like to find the ID of any other posts, please provide us with a link to the these posts, and we would be happy to help :)

    Let us know if you have any questions!

    #15389
    ninabrowndesign
    Member
    Original poster

    Great! Thanks again Scott.

    N

    #15401
    scottrrollo
    Theme Author

    No problem! We’re happy to help :)

  • The topic ‘Hiding featured image from gallery’ is closed to new replies.