A A
Gratisanruf: 0800 - mediaplana
RSS

Wordpress: Shorten the title of posts or everything else you want

Tuesday, 25. March 2008

Knowtebook

In a recent project I needed a section with short notes (common as asides) and a list of posts in the sidebar. The problem was only, that the length of the posttitle was to long for my theme and my layout suffered under this small bug. I also didnt wanted to change the wordpress core files which might be replaced by updates in future. So I wrote a solution for this and am sharing it to the public. Alle additions are only to make in your theme. Use it for everything you want, just let the note intact or link back to this site.

Now, lets get ready:

Create or open the functions.php in your wordpress templates folder. We will add a function which makes all the work for us everytime we will need it.

(more…)

| Popularität: 12% | Tags:

Und was können Sie für Sie tun?

Kurznachrichten
  • Mediaplana ab August auch in Hamburg

  • Knowtebook bereits nach 1 Monat amortisiert dank Mediaplana

  • mediaplana startet neues Projekt KNOWTEBOOK. Weitere Details folgen in Kürze

Was unsere Kunden meinen
  • ~Als ich noch mit 5 unterschiedlichen Ansprechpartnern kommunizieren musste, ging vieles daneben, kostete Nerven und Geld. Mit Euch hat das aufgehört! (KNOWTEBOOK)
Expertise
  • Knowtebook hat ein monatliches Wachstum von über 600% seit seinem Beginn.

    Professionelle Suchmaschinenoptimierung? Fragen Sie uns.