WordPress.org

Ready to get started?Download WordPress

Forums

Locked posts in menu (1 post)

  1. shastaw
    Member
    Posted 1 year ago #

    I have a menu that displays a set of posts, some of which are open to anyone and some of which require registration to receive a password.

    I used to organize these using a post-organizer and there was a class that I could use to style the locked entries differently. The built-in menus seem like a more reliable way to do this these days and the plug-in was getting long in the tooth. Time to update!

    Everything works great, except that there is nothing in the code created by WordPress that I can use to style locked entries differently. Is there a way to get the WordPress Menu code to spit out a class that indicates which entries are locked?

Topic Closed

This topic has been closed to new replies.

About this Topic