This is a continuation of rename "older posts" and "newer posts" to post titles on blogger. This time, let's move them to different sections of the post page.
How can we make "older post" and "newer post" appear on post page only?
Post Page, the landing page for each and every blogger post.First, let's remove it from blogger homepage. Dont forget to backup your template!
1. Go to EDIT HTML page.
2. Tick EXPAND WIDGET TEMPLATES.
3. Press CTRL + F, type in <b:include name='nextprev'/> on the search bar.
4. You'll see a similar code like this:
<!-- navigation -->
<b:if cond='data:mobile'>
<b:include name='mobile-nextprev'/>
<b:else/>
<b:include name='nextprev'/>
DELETE the highlighted line: <b:include name='nextprev'/>.
5. SAVE TEMPLATE.
THE CODE.
<b:if cond='data:blog.pageType == "item"'>
<b:include name='nextprev'/>
</b:if>
what it means.
<b:if cond='data:blog.pageType == "item"'> if the page type is "item" page or also known as "post" page,
<b:include name='nextprev'/> show or "include" next and previous links
Where can we strategically place "previous post" and "next post" inside the post page?
-above title-below title
-below post body
-on footer section
-above comments
Before we move them, make sure to:
1. Backup your template as always.
2. Go to EDIT HTML page.
3. Tick EXPAND WIDGET TEMPLATES.
Let's get on with it. To move "older/previous posts" and "newer/next posts"..
.. ABOVE TITLE.
1. Press CTRL + F, search for <b:includable id='post' var='post'>
2. BELOW that line, add the code.
<b:if cond='data:blog.pageType == "item"'>
<b:include name='nextprev'/>
</b:if>
It will look something like this:
3. SAVE TEMPLATE.
.. BELOW TITLE.
1. Press CTRL + F, search for <div class='post-header'>2. ABOVE that line, add the code.
<b:if cond='data:blog.pageType == "item"'>
<b:include name='nextprev'/>
</b:if>
It will look something like this:
3. SAVE TEMPLATE.
.. BELOW POST BODY.
1. Press CTRL + F, search for <div class='post-footer'>2. ABOVE that line, add the code.
<b:if cond='data:blog.pageType == "item"'>
<b:include name='nextprev'/>
</b:if>
It will look something like this:
3. SAVE TEMPLATE.
.. ON FOOTER SECTION.
1. Press CTRL + F, search for <div class='post-footer'>
2. BELOW that line, add the code.
<b:if cond='data:blog.pageType == "item"'>
<b:include name='nextprev'/>
</b:if>
It will look something like this:
3. SAVE TEMPLATE.
.. ABOVE COMMENTS.
1. Press CTRL + F, search for <b:includable id='comments' var='post'>
2. BELOW that line, add the code.
<b:if cond='data:blog.pageType == "item"'>
<b:include name='nextprev'/>
</b:if>
It will look something like this:
3. SAVE TEMPLATE.
Bugs, Errors, Glitches, Fixes when moving "older" and "newer" post links.
There are two of them.Search for <b:include name='nextprev'/>. There should only be one.
It's missing. I can't find it.
Search for <b:include name='nextprev'/>. If there is none, make sure that the EXPAND WIDGET TEMPLATES is ticked. If it's still missing, choose from the above options where you'd like it to appear and follow the instructions.
I prefer my "older/previous post" on the left, "newer/next post" on the right.
You can switch their places easily by using Blogger's $startSide and $endSide. See Blogbulk's tutorial on this.
Other "Older Posts" and "Newer Posts" Tweaks.
4 ways to hide older posts and newer posts on blogger2 ways to rename older and newer posts to post title on blogger
Related Blog and Discussion.
Customizing Blogger Post Navigation Script"Home" "Older and "Newer" links
<< 14 Shared Thoughts >>
August 20, 2011 at 1:14 PM
Thanks! This was just what I needed. Appreciate the step-by-step!
August 23, 2011 at 12:35 AM
Hi, thanks for your submission to Blog Carnival: Blogging: Ninety Eighth edition. Your post is now published:
http://thatsblog.com/blog-carnival-blogging/blog-carnival-blogging-ninety-eighth-edition
-ThatsBlog.com
September 1, 2011 at 1:08 AM
dank ik ga het proberen
ria
October 28, 2011 at 9:47 AM
thanks...i have a problem and i don't know how i got here. in my blog http://www.losojosdeella.com i've set the navigation buttons to appear only on 'item' types, but i recently changed the whole structure of my blog and i would like to display a "next posts" and "previous posts" also in index pages (for instance, i search 5 latest posts on a label and once i get the list with thumbnails and snippets i want to be able to navigate to next 5 ones)
but if i disable "" i get a next/previous button after each post of the 5 posts displayed when searching a label....
how can i do this???
million thanks!!!
April 14, 2012 at 9:52 AM
Thanks!!!!!
November 12, 2012 at 2:20 AM
December 20, 2012 at 5:12 PM
i am using arrow images for my previous and next links. any suggestions on how to move them to the left and right margins of the page?
February 2, 2016 at 2:41 AM
I don’t even know how I ended up here, but I thought this post was
great.
Ace Utilities Keygen
December 23, 2017 at 3:26 AM
Buy Power Banks online at Axlworld.com. Having Different range of Portable Power Banks. Get Free Shipping, CoD options and it is fire-resistant power banks.
online power banks for mobile
December 25, 2017 at 1:16 AM
Asus laptop distributor in Delhi, Asus gaming laptops A wide range of ASUS Laptop in India. Check ASUS Laptop Price List in India and ASUS Laptop Review.
Asus Laptop Price List In India
February 17, 2018 at 12:07 AM
This information is very useful. thank you for sharing. and I will also share information about health through the website
Cara Mengobati telapak kaki Berlubang
Obat sariawan
Cara Mengobati Kuku Cantengan
Penyebab Mual dan BAB berdarah
Tips Menghilangkan Wajah kusam
Cara Mengobati Bisul
obat sakit dada
September 16, 2021 at 10:56 AM
Global “Big Data Storage Market” research report designed in a way that it can help to the businessman to acquire overall knowledge about the industry scenario and its most important factors. This report also provides accurate data which will help to developing and growing high in the industry. The company fungible helps you on flash storage and solves the most challenges like cost, production, supply chain, sourcing strategy, factor analysis, distribution business strategy. And their main goal and vision are to prevent invalid data-centric calculations between server nodes and invalid data exchanges between server nodes and to strengthen reliability security.
February 2, 2022 at 6:16 AM
WordPress actually built for non-technical people. The user interface is intuitive and friendly. To add a new design to your WordPress website, you can simply download a theme. If you need to add a new function, like a contact form, you just install a plugin Or you can hire a Wordpress Development company
November 21, 2023 at 6:45 AM
One of the standout aspects of working with a London-based logo designer is the cultural richness that permeates their creations. London's vibrant and dynamic atmosphere seems to echo in the logos they craft, adding a touch of cosmopolitan flair that resonates well with the diverse audience my business caters to. same day printing london
back to share