February 06, 2008
This is the way to show or hide your full post on the main page of your blog. This is different from my old "Read More " methods. If in old "Read More" Methods it will show "Read More" link, then if you click the link you will load and go to another page that will show your full post/articel. But with my next methode below, if you click the link you will see your full post/articel in the same page and it no needs time to load, it only expand your full post. Do you want to try it? here is the trick: <script src='http://kendhin.890m.com/Readmore.js' type='text/javascript'/> <div class='post-body entry-content'> <div class='post body'> <div class='post-body entry-content' expr:id='"post-" + data:post.id'> <b:else/> <div class='post-header-line-1'/> <span id="fullpost">
1. Login to Blogger, Chose "Layout --> Template --> Edit HTML
2. Click "Download Full Templates" link to back up your template.
3. Check on the "Expand Template Wdiget" Check Box.
4. Copy the code below and paste above this code </head>
5. Then find this code <div class='post-header-line-1'/> .
6. If You found it you will see a code like this:
7. The next step is change or replace the code (Only Number 6 code) to be like this:
<b:if cond='data:blog.pageType == "item"'>
8. Under it you will see a code like this <p><data:post.body/></p>
9. Put the code below under it.
<style>#fullpost {display:none;}</style>
<p><data:post.body/></p>
<span id='showlink'>
<p><a expr:onclick='"javascript:showFull(\"post-" + data:post.id + "\");"' href='javascript:void(0);'>[+/-] Show Full Post...</a></p>
</span>
<span id='hidelink' style='display:none'>
<p><a expr:onclick='"javascript:hideFull(\"post-" + data:post.id + "\");"' href='javascript:void(0);'>[+/-]Hide Full Post...</a></p>
</span>
<script type='text/javascript'>checkFull("post-" + "<data:post.id/>")</script>
</b:if>
10. So, the full code will like this :
<div class='post-body entry-content' expr:id='"post-" + data:post.id'>
<b:if cond='data:blog.pageType == "item"'>
<p><data:post.body/></p>
<b:else/>
<style>#fullpost {display:none;}</style>
<p><data:post.body/></p>
<span id='showlink'>
<p><a expr:onclick='"javascript:showFull(\"post-" + data:post.id + "\");"' href='javascript:void(0);'>[+/-] Show Full Post...</a></p>
</span>
<span id='hidelink' style='display:none'>
<p><a expr:onclick='"javascript:hideFull(\"post-" + data:post.id + "\");"' href='javascript:void(0);'>[+/-] Hide Full Post...</a></p>
</span>
<script type='text/javascript'>checkFull("post-" + "<data:post.id/>")</script>
</b:if>
11. Save Your Editing.
12. Go to menu "Setting --> Formatting"
13. On the bottom page you will see a box beside text "Post Template". Copy the code below and paste in to the box
</span>
14. Save your setting.
15 If you want to post an articel place your part articel above this code <span id="fullpost">. Then the remain or full post put between this code <span id="fullpost"> and this </span>
GOOD LUCK>>>>>



87 Responses to "Show or Hide Your Full Post in Blogger"
We were unable to save your template
Please correct the error below, and submit your template again.
Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: Element type "div" must be followed by either attribute specifications, ">" or "/>".
aDios,
Mariano
aDios,
Mariano
I had tried it on the blog here and it did not work. You can see a nice functioning one here (but the person who set it up is no longer with the blog and no one knows how they did it).
Thanks for looking into it and aDios,
Mariano
the codes also does not functioned with my blogs.
i wish you can help
http://silent1412.blogspot.com
me too..i can't use this code ? there's an error..
why ? can use check it back ? a.s.a.p ..huhu
@Ainsya, Kaito, Mariano, I've try it many times on some blogs and it all successfull, I don't know why you failed.
@everyone who got a message "error message: Element type "div" must be followed by either attribute specifications, ">" or "/>". don't replace the number 5 code. leave it.
I have good news..this tutorial succeed !Its not fail ..thanks kendhin :)
Or i have to apply it only to new fresh template
http://kfgd63-sphinx.blogspot.com
Ciao & have a nice day.
Please correct the error below, and submit your template again.
Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: The element type "div" must be terminated by the matching end-tag "
Please help.......
thanks
Please help.......
thanks
I have one question though, is there a way to get the "show/hide full post" text to appear right below the text of the your post? I use an avatar and signature at the bottom of all my posts, and right now the "show/hide" text show up muttled in the middle.
any info would be great, thanks again!
www.postalrecall.blogspot.com
Hi
I have one issue with my blog in blogger,after my blogpost some other party links are generated which i completly does not control that.
which says
You might like: then other party links.
I shall be highly greatful to you have a look at my site and guide me if you have any knowledge about these links, from where it is generated and how can i control them.
Thanks
Raj (my site: www.latestcarblog.blogspot.com)
awaiting reply.
for Share. and we have : Blogger Templates Designs too.
ty Pls help me on this. Ty.
i'm blind fucking drunk right now and it still worked!
works well with IE but not with chrome browser
here my blog http://gbpjpy-analysis.blogspot.com/
Ihave tried what you suggested including the tip to leave no 6 code as is but still keep on getting the following message;
"We were unable to preview your template
Please correct the error below, and submit your template again.
Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: The element type "div" must be terminated by the matching end tag."
What to do??? I'm near my wits end!!
My blog adress: http://www.onsgeloofgesprek.blogspot.com
Daily Khabarnama
http://uhavetoknow.blogspot.com
blogger-godown.blogspot.com
my blog: http://iman-taqwa.blogspot.com
div class='post-header-line-1'/ ...
I think my template doesn't even have it.
I only found this....
div id='content'
div id='main'
div class='content-wrapper'
b:section id='mainsection' showaddelement='no'
b:widget id='Blog1' locked='true' title='Blog Posts' type='Blog'/
/b:section
/div
/div
HELP ME....PLEASE.... :o
If the readers find it difficult to install.
Then there's an alternative for this, to add little "Read More" after every post of your blog.
here's the link :
http://tinyurl.com/7q4w92
or
Click my name(Zain) to see that page.
It uses a simple [hcon] tag to hide contents. Example: [hcon]hiddentext[/hcon]
Give it a try:
http://neolit123.blogspot.com/2009/01/showhide-information-in-blog-posts.html
I don't have problem about this trick.Simple n useful.
So good trick.
I don't have problem about this trick.Simple n useful.
So good trick.
Science Garage,Klik here!
I don't have problem about this trick.Simple n useful.
So good trick.
Science Garage,Click here!
http://freeshare-warez.blogspot.com
http://tech-tweak.blogspot.com
step 8. Under it you will see a code i can't find this on my html can any one help me please ASAP
it work 100000%
by..............:))
pls help me anyone
my blog s
dextopwallpaper.blogspot.com
http://amazingly-acoustic.blogspot.com
I used to use another type of code but it became redundant when I needed the Show/Hide on a number of posts. This code, however can be used on a lot(if not all) of your posts.
I used this code last year to get the show/hide feature and it's been working flawlessly until...
now!
My Show post pulls up the following error in the status screen below the browser:
javascript:void(0);
I don't know what it means but the link "show post" (more cents on my blog) isn't working anymore.
Any suggestions?
Thanks!
Thanks
please can you fix this?
http://about-new-blogger.blogspot.com
http://www.google.com/support/forum/p/Chrome/thread?tid=6b3d967e9160c84b&hl=en
http://amen24.googlepages.com/Readmore.js
per the nice person at:
http://graphicpedia.net/?p=50
(you may also want to save the js file somewhere)
http://tips-tricks-for-blogger.blogspot.com/
U WILL BE SURPRISE CHECK THIS OUT MAN!
www.mobilesoftworld.com
http://amen24.googlepages.com/Readmore.js
any advice
Post a Comment