You are currently browsing comments. If you would like to return to the full story, you can read the full entry here: “Remove Navigation Links For Static Pages in Blogger”.
Related posts:
- Create Static Pages in Blogger – Part 2
Note: Blogger now supports static pages. To learn how to create pages in Blogger, follow the instructions outlined in How to Create Pages in Blogger. I recently wrote a post... - How to Create Static Pages in Blogger
Note: Blogger now supports static pages. To learn how to create pages in Blogger, follow the instructions outlined in How to Create Pages in Blogger. With some coding, you can... - Hiding Static Pages from Main Page in Blogger
Since I wrote the post titled Create Static Pages in Blogger – Part 2 I have been asked on numerous occasions about hiding the static page from the homepage or... - How to Change Your Comment Links in Blogger to DoFollow
There is always much talk about nofollow and dofollow links on web sites. Much of the discussion is about whether you should make a link nofollow. For blogs, this discussion... - How to Create Pages in Blogger
A few months ago Blogger implement one of the most requested changes – the addition of static pages. While there is a limit of 10 pages per blog, allowing the...


Hi, this doesn’t work for me because if there are more posts on the page with date != given_date there a nextprev includable will be included more than once.
For me it worked better like this:
seems my previous post was truncated
maybe a pseudocode works
if (blog.pagetype == item)
{
if (post.dateHeader == given_date)
{ nothing } //i don’t know if a negative condition works in blogger
else
{ include nextprev }
}
A negative condition works just fine. You can do something like the following (in pseudocode):
if (blog.pageType == item)
{
if (post.dateHeader != given_date)
{
include nextprev
}
}
When I copy paste the code, I get this:
our template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: The content of elements must consist of well-formed character data or markup.
Any idea what the problem might be?
yes same as Kelie above. I get the same error code. Is this because I already edited my HTML to not shot the post date at the top?
I realized there was a problem with the code I posted. I had closed the if tag too soon. If you are still experiencing problems, I have corrected the code so you can copy the new code into your template.
i figured out why i was getting that error. this may solve your issue too Kelie
in my blog html I already had a code above the code…so all i did was move the
at the end of that code, right before
the code did not come through on my post above and it wont seem to let me post again
darn the code i inserted did not come through.
in my blog html I already had a code of b:loop above the
b:include name=’nextprev’
so all i did was move the
!– navigation –
b:include name=’nextprev’ – right before -b:if -b:loop
Perfect, Paul.
thanks paul
however, now the navigation is gone from the posts that are not dated with the dates of my Static pages.
Makes sure you include != in the if statement. If you are still having difficulty, send me your template and I’ll have a look.
Paul, thanks. Still having issues…i sent you a link to my HTML file in a TXT file, via a link.
I sent it through the CONTACT page on this site.
Please let me know if you have any troubles grabbing it.
Thanks again!!
kevin
I downloaded it without any issues and sent you an e-mail with an updated template.
I just copied your code and pasted it into my template and changed the date format and voila! It worked like a charm…thank you so much!!
You’re welcome. I’m glad it worked for you.
Thank you SO much! It worked perfectly, first time – even for ignorant me!
Brilliant article(s), by the way. Very logical, thorough and well expressed. Keep up the good work – I’m subscribing to your site!