Best WordPress Theme & Plugin For Photographers

Imagely Blog

Digital Photography Tips, Tutorials and Resources
How To Hide Password Protected Galleries From Displaying In Recent Posts

How To Hide Password Protected Galleries From Displaying In Recent Posts

Written By: author avatar Chris Christoff
author avatar Chris Christoff
    

Many NextGEN Gallery users take advantage of protecting their galleries with passwords. This is done using the WordPress feature for password protection of posts and pages.

A use case for doing so might be implementing a proofing gallery for a client, or a private gallery of family photos.

By default, if you create a blog post with password protection it will wind up in your blog archives, on your main blog page and even in the Recent Posts widget. That is not ideal as it can confuse your website visitors as to why there is new content inaccessible to them. It would look something like this:

How To Hide Password Protected Galleries From Displaying In Recent Posts

By installing the plugin, Hide Password Protected Content, you can automatically hide that content from showing in your blog feed or Recent Posts widget. Your site will now look like this:

How To Hide Password Protected Galleries From Displaying In Recent Posts

The best part is this works for any password protected content and not just NextGEN Galleries.

It’s worth noting that if you want granular control over indexing of your pages and posts as well, use Yoast SEO to prohibit a page or post from being indexed by search engines.  If you do not, no need to worry as search engines cannot crawl a page or post that is password protected anyway.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how NextGEN Gallery is funded, why it matters, and how you can support us.

author avatar
Chris Christoff

Experience the Imagely Difference

Best WordPress Theme & Plugin For Photographers

Enter the URL of your WordPress website to install

Upgrade to Imagely Pro

Imagely is perfect for photographers, designers, bloggers, and creative professionals who want more than just a gallery.

Built in eCommerce and print fulfillment

90+ themes and designs

Tons of customizations and options

14 day money back guarantee

Popular on Imagely Right Now!

How to Start a Photography Business: Step-by-Step Guide

How to Start a Photography Business: Step-by-Step Guide

Share this with other photographers Share on Facebook Share on X (Twitter) Share on Pinterest…
25 of the Best WordPress Plugins for Photographers

25 of the Best WordPress Plugins for Photographers (2025 Guide)

Share this with other photographers Share on Facebook Share on X (Twitter) Share on Pinterest…

Add A Comment