Etikett: css

  • Brottsplatskartan v3 lanserad

    Efter att ha fått tuffa på i ungefär ett år utan tillsyn har jag under de senaste veckorna piffat till brottsplatskartan.se. Allt är inte klart ännu, men jag tycker ändå det är dags att låta besökarna ta del av den nya formen. En av grundideerna jag hade när jag startade sajten var att man på…

  • WordPress: function to format teaser different from body

    On many sites that I develop I want to show articles that contains both a teaser  text and a body text, and I want to be able to format the teaser different than the body. So…I made a function to accomplish this. What the function does is that it wraps everything in the post before…

  • wp_list_pages: customize the look of pages that have children

    Here’s a quick tip for WordPress and the use of wp_list_pages to create menus. On a web site you often have pages with sub-pages/children and often you want to style these pages a bit different. Perhaps add a plus-sign or an arrow in front of the page. When I was working with Nice Navigation for…