Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #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
 
20,001 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
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
  #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
 
20,001 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
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.
  #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,320 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 08:26 AM.


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