How to create 'no-show' page
Good Morning and Happy New Year everyone
I would like to create several landing pages for Twitter, Facebook and few other referral sources that are more explanatory of the nature of the blog than simply arriving to the latest post. Using the 'Create Page' routine in Atahualpa (3.1.7) The page comes up with a header line of "PRIVATE: NAME OF PAGE". It also is registered as a page on my Top menu and pages. This is not what I want to happen. Can I simply create a page that has a permalink but does not appear anywhere else except via direct permalink. How best to create a WordPress/Atahualpa generated page, with sidebars et al, and not have it appear elsewhere? Any tips appreciated. Alex |
See Atahualpa Theme Options -> Page Menu Bar -> Exclude pages from Page Menu Bar?
|
Got it. Thanks Flynn.
Final question: Is there a way to NOT display the word "Private" in the title of the page? Thx |
Seems you've set the page's visibility to "private". See
Site Admin -> Pages -> [Hover over page title] -> Edit -> Visibility (Right upper corner) -> Edit Or did you want the pages to be "private" and still not have "Private" in the title? |
Hi Flynn,
You answered and asked the question I should have grasped and didn't. You asked ... "want the pages to be "private" and still not have "Private" in the title?" The answer is yes, that's exactly what I want to do. No "private" in the title of the page. Thanks Alexi |
Not tested, you could try this: At the bottom of functions.php add the following code, without causing blank lines or spaces
PHP Code:
|
That was perfect Flynn. Thank you so very much!!!
Alex |
After trying the fix immediately back in December and having the problem described below, I didn't get back around to trying it again until this morning ... only a half a year later :-(
I edited the functions.php file using the Wordpress editor but once again, as back in december, the minute I added the snippet and saved the file, the site rendered blank white and I needed to replace the functions file to get the site to display again. Here is what the end of the functions.php looks like after I inserted your code snippet. I pick up by including the last of your functions ... ================================================== =============== // new comment template for WP 2.7+, legacy template for old WP 2.6 and older if (!function_exists('paged_comments')) { include_once (TEMPLATEPATH . '/functions/bfa_custom_comments.php'); function legacy_comments($file) { if(!function_exists('wp_list_comments')) $file = TEMPLATEPATH . '/legacy.comments.php'; return $file; } add_filter('comments_template', 'legacy_comments'); } function bfa_remove_word_private($string) { $string = str_ireplace("private: ", "", $string); return $string; } add_filter('the_title', 'bfa_remove_word_private'); ?> ============================================== Any additional thoughts on what might be happening. Can anyone figure out what I am doing wrong? |
The part you posted looks fine. It has to be something above that, or in another file.
|
<sigh> Thanks Flynn
|
All times are GMT -6. The time now is 07:50 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.