Forums

How Do I Remove The Word Private? (4 posts)

  1. timmys51
    Member
    Posted 3 years ago #

    Is there to remove the word private from my pages? I have some pages set to private to keep them from being listed on my home page, but when someone goes to that page the page header has the word private in it, is there a way remove this from the page header?

    Thanks in advance for the help.

    Tim

  2. timmyt
    Member
    Posted 3 years ago #

    I would like to know the same thing.

  3. s_ha_dum (was apljdi)
    Member
    Posted 3 years ago #

    'get_the_title()' around line 106 in wp-includes/post-template.php does the substitution. Looks like you can undo it by hooking to the 'the_title' filter.

  4. timmyt
    Member
    Posted 3 years ago #

    Thought I'd report back:

    I found that if I created a parent page, then assigned the pages I want to be private (in other words, not appear on the navbar at the top of my blog) as children (or kids or subpages or whatever), then make the parent page private, it works. The word "Private" does not appear on the pages, but their titles also don;t appear in the navbar. I hope this solution lasts. The only drawback is that the permalinks (under the options I've chosen) include the parent page, so they aren't as simple.

    It would be a great feature to be able to put an asterisk or something instead of a number in the "page order" field with the effect of having the page be published but not appear in the navbar.

Topic Closed

This topic has been closed to new replies.

About this Topic