Come creare Mostra o nascondi link per messaggi su Blogger

December 10

Scrivi un sacco di post lunghi? Vuoi rendere più facile per adattarsi più post su una pagina? Aggiungere mostra / nascondi link.

istruzione

1 Accedi al tuo account. Vai al cruscotto. Vai a "Gestione Template" e selezionare "Modifica HTML".

2 Aggiungere le seguenti righe di codice di stile CSS del tuo modello tra la tags:
.posthidden (display: none)
.postshown (display: inline)

3 Aggiungere il seguente codice al tuo modello tra la e 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.