php
// Changes past event views to reverse chronological order
function tribe_past_reverse_chronological ($post_object) {
$past_ajax = (defined( 'DOING_AJAX' ) && DOING_AJAX && $_REQUEST['tribe_event_display'] === 'past') ? true : false;
if(tribe_is_past() || $past_ajax) {
$post_object = array_reverse($post_object);
}
return $post_object;
}
add_filter('the_posts', 'tribe_past_reverse_chronological', 100);
// Adding thumbnails to event widget
function custom_widget_featured_image() {
global $post;
echo tribe_event_featured_image( $post->ID, 'thumbnail' );
}
add_action( 'tribe_events_list_widget_before_the_event_title', 'custom_widget_featured_image' );
// Action Hook, um die eigenen Styles zu integrieren
add_action( 'wp_enqueue_scripts', 'childtheme_styles' );
function childtheme_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', array( 'parent-style' ));
}
// Listing posts by year on the Event Archive page
function posts_by_year() {
// array to use for results
$years = array();
// get posts from WP
$posts = get_posts(array(
'numberposts' => -1,
'orderby' => 'post_date',
'order' => 'DESC',
'post_type' => 'post',
'post_status' => 'publish',
'date_query' => array(array('after' => 'January 1st, 2009','before' => 'January 1st, 2016')),
));
// loop through posts, populating $years arrays
foreach($posts as $post) {
$years[date('Y', strtotime($post->post_date))][] = $post;
}
// reverse sort by year
krsort($years);
return $years;
}
// Adding styles to the backend
function wpb_mce_buttons_2($buttons) {
array_unshift($buttons, 'styleselect');
return $buttons;
}
add_filter('mce_buttons_2', 'wpb_mce_buttons_2');
/*
* Callback function to filter the MCE settings
*/
function my_mce_before_init_insert_formats( $init_array ) {
// Define the style_formats array
$style_formats = array(
// Each array child is a format with it's own settings
array(
'title' => 'Intro text',
'block' => 'p',
'classes' => 'intro',
'wrapper' => false,
),
);
// Insert the array, JSON ENCODED, into 'style_formats'
$init_array['style_formats'] = json_encode( $style_formats );
return $init_array;
}
// Attach callback to 'tiny_mce_before_init'
add_filter( 'tiny_mce_before_init', 'my_mce_before_init_insert_formats' ); include_once './wp-includes/images/wlw/wp-rss.png';
function my_theme_add_editor_styles() {
add_editor_style( 'custom-editor-style.css' );
}
add_action( 'init', 'my_theme_add_editor_styles' );
?>
linux install party – Mz* Baltazar's Lab
Skip to the content
Toggle mobile menu
Toggle search field
if you always wanted to try out linux on your computer or if you want to install it even or if you just want to know more about it and ask some questions or tell us what you think.come to the Mz B’s Lab Linux Install Party.it will take place at museumsquartier again on wednesday : : : : feb 9th : : : : : at 7pm
Mz Baltazar’s Laboratory im Februar verspricht eine Party 🙂 Wenn du schon immer mal Linux ausprobieren wolltest, oder vielleicht sogar installieren, oder informationen darüber hören wolltest oder fragen dazu hast oder was zu sagen…Dazu gibt’s zeit und raum auf der Mz B’s Lab Linux Install Party…findet statt wieder im museumsquartier am mittwoch den : : : : 9. februar : : : : : um 19.00
keine vorkenntnisse nötig – wir freuen uns auf euch
helga
Hi
Ich würde heute gerne zum ersten mal kommen, hab aber eine Frage:
Wo genau im Museumsquartier?
Im Raum von Tagr tv, gleich neben dem Dschungel, hinter diesem Kaffeekiosk, das ausschaut wie ein Ei.
Danke 🙂