WordPress.org

Ready to get started?Download WordPress

Forums

possible to NOT display a published post? (4 posts)

  1. maviefol
    Member
    Posted 5 years ago #

    Is it possible to create a post, publish it BUT not have it come up on my blog? I'm at http://www.maviefolle.com

    I have a 'Daily Dog' nav button that is linked to an uploaded photo. When clicking on the nav button the photo opens larger.

    I can't figure out a way to put text or content in with the enlarged photo. So therefore I've been creating a post also apart from the nav button image.

    Creating a post also seems to be the only way for the photo and it's text/description to go into CATAGORIES for filing....

    Is there some code to use so that when I create a post for the new dog pic...that the post WILL NOT show up on the website, but the content (pic and text/description) will STILL show up in the catagory marked in the post?

  2. Dagon Design
    Member
    Posted 5 years ago #

    Here is one method:

    http://www.sandboxdev.com/blog/wordpress/2008/180

    It just involves adding a line of code in your loop, to check and see if it is the ID of that particular post, and if it is, it skips it and goes to the next.

  3. maviefol
    Member
    Posted 5 years ago #

    Thank you SO much. I'm going to try it as soon as I figure out where to find my catagory ID. Any suggestions? I checked the file manager for catagories, but I can't figure it out.
    Thanks! You are very nice to take the time to respond!

  4. Dagon Design
    Member
    Posted 5 years ago #

    One method is to go to the page to edit categories in the admin panel, hover the mouse over the one you want, and look at the URL at the bottom of your browser - it will show the cat ID there.

Topic Closed

This topic has been closed to new replies.

About this Topic