Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am mikaeljorhult on github.
  • I am mikaeljorhult (https://keybase.io/mikaeljorhult) on keybase.
  • I have a public key whose fingerprint is CF86 BF14 901D E866 D179 5D83 EEB5 129E 9832 9B09

To claim this, I am signing this object:

@mikaeljorhult
mikaeljorhult / sv.yml
Last active December 21, 2015 18:49 — forked from soffes/en.yml
Swedish translation for Roon.
sv:
viewer:
comment_on_twitter: 'Kommentera på Twitter'
older: 'Äldre'
newer: 'Nyare'
feed: 'Feed'
share: 'Dela'
next_post: 'Nästa inlägg'
previous_post: 'Föregående inlägg'
no_posts: 'Inga inlägg ännu.'
array(
'name' => __( 'Date and time', 'theme' ),
'slug' => 'date_time',
'description' => __( 'Date and time of the event.', 'theme' ),
'type' => 'date_v2',
'type_date_v2_options' => array(
'show_as' => 'datetime',
'show' => 'on_click',
'default_date' => 'today'
)
@mikaeljorhult
mikaeljorhult / gist:2870948
Created June 4, 2012 21:31
Walker_Menu_Class outputting only plain anchor links.
<?php
class Stripped_Walker_Nav_Menu extends Walker_Nav_Menu {
function start_el(&$output, $item, $depth = 0, $args = array(), $id = 0) {
global $wp_query, $post;
$indent = ($depth) ? str_repeat("\t", $depth) : '';
$class_names = $value = '';
$classes = empty( $item->classes ) ? array() : (array) $item->classes;