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 » Center area post/pages »

Hide a Post but have a Link to it in Sidebar


  #1  
Old Apr 16, 2010, 07:38 AM
treeplant
 
35 posts · Mar 2010
I want to hide a Post so it does not show up in my posts or blog. But I want a link to it in the sidebar.
If I make it private, the link doesn't work. Yes I can do this with a page (hide the page in Atahualpa options), but it needs to be a Post, not a Page. How do I do this? I don't see an option to hide a Post in Atahualpa.

Thanks
  #2  
Old Apr 16, 2010, 03:51 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
you could put some code in 'The LOOP' to check for that post ID and just skip it. This shouldn't effect any of the widgets, just the center column
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Apr 16, 2010, 07:29 PM
treeplant
 
35 posts · Mar 2010
Thanks for the reply. I really don't know what code to put there.
Any suggestions?

Thanks,
Norm
  #4  
Old Apr 18, 2010, 05:33 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
you would need something like this to the begining of ATO->Style & edit CENTER COLUMN->The LOOP
HTML Code:
<?php if ( (get_the_ID()!= '106') or
         ((!is_front_page()) and  (get_the_ID() == '106') ) 
      ) { ?>
and
HTML Code:
<?php } ?>
to the end.

Make sure to change '106' to the post id you are refering to.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Apr 18, 2010, 11:32 AM
treeplant
 
35 posts · Mar 2010
Thanks! I'll try that.
  #6  
Old Apr 18, 2010, 01:52 PM
paulae's Avatar
paulae
 
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
There is a plugin called Hide Post. I wonder if you could use that, and then just make a text link in the sidebar to the post.
  #7  
Old Apr 18, 2010, 07:22 PM
treeplant
 
35 posts · Mar 2010
Will try that first. Sounds easier.
Thanks!

Bookmarks

Tags
hide, post, post options, sidebar link

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hide sticky ( title ) on "Recent post" sidebar nautilus Post-Kicker, -Byline & -Footer 0 Dec 19, 2009 06:41 PM
[SOLVED] How to hide or make invisible Text-Widget in sidebar multiram Sidebars & Widgets 4 Jul 23, 2009 08:02 AM
Hide subcategories in right sidebar Radical Sidebars & Widgets 0 May 15, 2009 05:12 AM
hide sticky post footer dyrathror Post-Kicker, -Byline & -Footer 1 Apr 26, 2009 01:08 AM
How to hide wordpress.org and the link in widget META budiary Sidebars & Widgets 2 Feb 16, 2009 03:27 PM


All times are GMT -6. The time now is 10:24 AM.


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