Hide a Post but have a Link to it in Sidebar
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 |
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
|
Thanks for the reply. I really don't know what code to put there.
Any suggestions? Thanks, Norm |
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 HTML Code:
<?php } ?> Make sure to change '106' to the post id you are refering to. |
Thanks! I'll try that.
|
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.
|
Will try that first. Sounds easier.
Thanks! |
All times are GMT -6. The time now is 02:42 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.