Hvordan skape Vis eller Skjul Linker for innlegg på Blogger
Skriv en masse lange innlegg? Vil gjøre det lettere å få plass til flere innlegg på en side? Legg vise / skjule koblinger.
Bruksanvisning
1 Logg inn på kontoen din. Gå til dashbordet. Gå til "Manage Mal" og velg "Rediger HTML".
2 Legg til følgende linjer til CSS-stil kode av malen mellom tags:
.posthidden (display: none)
.postshown (display: inline)
3 Legg til følgende kode i malen mellom og tags:
A
dd the following code to your template between the and tags:
Add the following code to your template between the and tags:
4
Add the following code between and tags:
1">
<$BlogItemBody$>
1')" rel="nofollow">
[+/-] show/hide this post
5
Save changes and republish the blog.
Tips & Warnings
- Looking for an alternative? Use post summaries. Always save a copy of your template before you start making changes.
- You cannot set show/hide links for just one post; they'll be applied to your whole blog.