Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Page & Category Menu Bars »

[SOLVED] How can I remove the "private" prefix from private pages?


  #1  
Old Oct 24, 2010, 12:45 PM
jstein
 
95 posts · Sep 2010
I have marked them private so that they don't show up in the menu and simply use links within the text on my site. But when I navigate to the page using those links, the page title has a prefix that reads "Private". Can I remove this? Or is there another way to create a page that doesn't show up in the menu bar and doesn't have this prefix added to it?

Thanks for your suggestions!
  #2  
Old Oct 24, 2010, 04:10 PM
jstein
 
95 posts · Sep 2010
I guess that was pretty blunt, yep. I have been searching the internet for ways to do this without success so far. I've actually tried both of the links you suggested. Tried them without success. Likely because I'm pretty new at all this an really need some hand holding some times because I am light years from being a techie with all this stuff, maybe like you...

So let me ask a specific question, because I have already tried creating a php file and putting the cade in the file without success. Is there anything more specific that you can offer that those two write ups don't?

Feel free to be blunt.

Last edited by jstein; Oct 24, 2010 at 04:13 PM.
  #3  
Old Oct 29, 2010, 06:44 PM
jstein
 
95 posts · Sep 2010
Well, all that was great info and I tried it, but lo... The 'private' prefix is still showing. I even put the <?php and ?> at the beginning and end of the whole string of code.
I created a .php file in the theme>function directory and pasted the exact code you sent me into it.

Any other thoughts about something I may have overlooked?
  #4  
Old Oct 29, 2010, 07:54 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Atahualpa is built to not have to edit core theme files directly and I would recommend against it as you will have to edit the same files again should you upgrade the theme. What you want to do is handled pretty easily in the menu section of the theme options. You just put the ID of the page you don't want to show in the appropriate box. Instructions for determining the ID are also on that same page.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #5  
Old Oct 29, 2010, 08:07 PM
jstein
 
95 posts · Sep 2010
Are you referrin gto 'new menu 1' and 'new menu 2' in the 'Header' section of ATO? And if so, specifically which options should I be tweaking?

Thanks again Larry!
  #6  
Old Oct 29, 2010, 08:15 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Yes. See this screenshot for details.

If you use the new WordPress menu system under Appearance>Menus you can just build the menu as you wish with only the pages you want to show.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #7  
Old Nov 1, 2010, 07:44 AM
jstein
 
95 posts · Sep 2010
HI Larry,
What I'm actually trying to do though is to just get rid of the prefix that reads, "Private". I Did what you suggested about creating a test menu item in the Appearance section but it made my whole menu disappear so I nixed that one. I'm sure there's a way to do it, but I didn't get it yet.

As for the 'private' prefix though, any simple fix?
  #8  
Old Nov 1, 2010, 08:50 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
If you set it to private only logged in users can see it. Is that your intention?
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #9  
Old Nov 1, 2010, 04:51 PM
jstein
 
95 posts · Sep 2010
Actually no. I want everybody to be able to see it. And I don't have a log in option. It's just a basic web site that anybody can see. Am I the only one that can see those private pages because I'm the admin and my computer recognizes me? Won't everybody be able to see those pages...the ones that have the "private" prefix?

I wonder if creating all new menu's with the 'men' option is the route I need to take. Your thoughts?
  #10  
Old Nov 1, 2010, 08:07 PM
jstein
 
95 posts · Sep 2010
This is probably why my post has been confusing. I actually do want people to be able to see these pages. I just don't want them to show up in the menu. That's what I thought 'private' meant.

How do I make them viewable to the public, but not show up in the menu bar?
  #11  
Old Nov 1, 2010, 10:47 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
As previously mentioned you can build a menu using the WordPress menu system or you could also use the Exclude Pages plugin which gives you a checkbox on each page you can uncheck if you don't want it to show up in the menu.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #12  
Old Nov 2, 2010, 02:21 PM
jstein
 
95 posts · Sep 2010
I downloaded and installed the plugin you mentioned and IT SEEMS TO BE WORKING NOW! Thanks again!

Last edited by jstein; Nov 2, 2010 at 02:27 PM.

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Private Pages/Posts etc For Certain Users Only maxhugen Atahualpa 3 Wordpress theme 3 Nov 9, 2009 07:47 PM
"Private" Pages jfrenaye Page & Category Menu Bars 13 Oct 8, 2009 01:56 PM
[SOLVED] Private Page Link Yields &quot;Not Found&quot; result Alexi Page & Category Menu Bars 2 Aug 8, 2009 07:37 PM
PM ("Private Message") limits Flynn Announcements 0 Jul 22, 2009 08:23 AM
Private Pages joehandsome Page & Category Menu Bars 2 Feb 17, 2009 01:21 AM


All times are GMT -6. The time now is 12:41 AM.


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.