HTML Removing One Post
I was wondering by using the HTML in “text” widget for the sidebar how I can remove one post from it. I have so far devised this, which works correctly. [archives type= postbypost limit= 5] Next I am looking to remove one post from this and was wondering if anybody knew how to?
Incase anyone was wondering why I simply didnt just use the “recent posts” widget, I was wanting the sticky post to display the date when the blog was last updated, in which case this would show up at the top of the “recent posts” widget.
The blog I need help with is blackpooltramnews.wordpress.com.
Using the Archives shortcode does not provide us with a means of excluding any published posts. Using the Archives widget does not provide this ability to exclude published posts either. The published posts in your Archives will be displayed using either one. If you wish to exclude one then your will have to abandon using the shortcode and simply place title links to the posts you want to appear in your text widget in it yourself. Then you will also have to manually update it.
Ok, Thanks a lot for your help.
The ulitmate aim I was trying to achieve was to change the date on the Google search engine, which shows the date of my sticky post. Is there any other ways you can think of that would work?
No there aren’t. Every post whether or not it’s a sticky post has the post title date of publication included in the URL for that post. We cannot chnage permalink structore on our free hosted WordPress.com blogs. However, if what you want is for the date which appears in the theme you use to be eliminated you have three options.
(1) use a theme that does not have dates displayed next to the blog post titles;
(2) purchase a custom design upgrade and hide the display of the date best to the blog post titles in the theme you are using now.
(3) create a static front page for your blog rather than using a sticky post at all. In this case you create 2 static pages. One to display as your front page and one to display your published posts on.
Thanks very much for your help again!
You’re welcome and best wishes with your blog. :)
The topic ‘HTML Removing One Post’ is closed to new replies.