Snedled.dk

Siderækkefølge – på dansk

Istedet for at skulle ændre rækkefølgen på sider, ved at rette hver enkelt sides rækkefølgenummer, kan man installere plugin’et CMS Page Order. Så kan man ændre rækkefølgen simpelt ved at trække og slippe.

Hent også de danske sprogfiler:

cms-page-order-da_DK.mo

cms-page-order-da_DK.po

Læs mere...

Cheche.dk

Snedled.dk har stået for udviklingen af et theme til nyopstartede Cheche. Continue reading

Læs mere...

WordPress Plugin: Text Snippet

Text Snippet replaces the shortcode text with the Text Snippet content.

Create you small Text Snippets for use in posts or pages. Include a Text Snippet with the shortcode the word. Create a Text Snippet with the title “the word”, and the Shortcode will be replaced by the Text Snippet Content.

Get the plugin at http://wordpress.org/extend/plugins/text-snippet/

Læs mere...

Instagram in wordpress

If you want to publish your Instagram feed on you wordpress site, you need to

  1. Get you image feed via http://instagram.heroku.com/help
  2. Use the RSS Image Feed plugin to display the image feed in you sidebar

See my front page for an example

The only limitation I’ve found so far, is that the image feed does not contain more than the 20 last images.

Læs mere...

Add description to navigational menu

If you want to add a description to a navigational menu in WordPress like this

add the following function as filter:

  function description_in_nav_el($item_output, $item, $depth, $args){
    return $item_output;
  	return preg_replace('/([^&lt;]*?)<span>{$item-&gt;post_content}</span>&lt;", $item_output);
  }

  add_filter('walker_nav_menu_start_el', 'description_in_nav_el', 10, 4);

Læs mere...

WordPress plugin: Multi-level Navigation Plugin

thylander.dk bruger jeg Multi-level Navigation Plugin til WordPress lavet af Pixopoint

Det er et plugin der giver mulighed for at lave en god gammel dropdown menu navigation.

Jeg fandt ud af, at den fik sitet til at køre langsommere, og har derfor lavet to nedenstående rettelser. Nogen kunne måske finde det interessant?

Continue reading

Læs mere...