function removeHeadLinks() { remove_action('wp_head', 'rsd_link'); remove_action('wp_head', 'wlwmanifest_link'); } add_action('init', 'removeHeadLinks'); remove_action('wp_head', 'wp_generator'); // Area 1, located at the top of the sidebar. register_sidebar( array( 'name' => __( 'First Sidebar', 'abstractum' ), 'id' => 'First Sidebar', 'description' => __( 'The primary widget area', 'abstractum' ), 'before_widget' => '
  • ', 'after_widget' => '
  • ', 'before_title' => '

    ', 'after_title' => '

    ', ) ); // Area 2, located below the Primary Widget Area in the sidebar. Empty by default. register_sidebar( array( 'name' => __( 'Second Sidebar', 'abstractum' ), 'id' => 'Second Sidebar', 'description' => __( 'The secondary widget area', 'abstractum' ), 'before_widget' => '
  • ', 'after_widget' => '
  • ', 'before_title' => '

    ', 'after_title' => '

    ', ) ); function abstractum_comment( $comment, $args, $depth ) { $GLOBALS['comment'] = $comment; switch ( $comment->comment_type ) : case '' : ?>
  • id="li-comment-">

    %s', get_comment_author_link() ) ); ?>
    comment_approved == '0' ) : ?>
    $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
  • 'Main Menu (Pagemenu when left blank)', 'footer_menu' => 'Additional Menu in Footer' ) ); } add_theme_support( 'post-thumbnails' ); add_custom_background(); //Show homebutton in wp_page_menu fallback function my_page_menu_args( $args ) { $args['show_home'] = true; return $args; } add_filter( 'wp_page_menu_args', 'my_page_menu_args' ); //Makes Theme Option Page add_action('admin_menu', 'abstractum_theme_page'); function abstractum_theme_page () { if ( count($_POST) > 0 && isset($_POST['abstractum_settings']) ) { $options = array ('logo_img', 'logo_alt','twitter_user','latest_tweet','facebook_link','keywords','description','analytics','copyright','home_box1','home_box1_link','home_box2','home_box2_link','home_box3','home_box3_link','blurb_enable','blurb_text','blurb_link','blurb_page', 'footer_rss','actions_hide','portfolio','blog','slider','logo_shadow','logo_round','custom_background','background','menu_ajax','background_color'); foreach ( $options as $opt ) { delete_option ( 'abstractum_'.$opt, $_POST[$opt] ); add_option ( 'abstractum_'.$opt, $_POST[$opt] ); } } add_theme_page(__('Abstractum Options'), __('Abstractum Options'), 'edit_themes', basename(__FILE__), 'abstractum_settings'); } function abstractum_settings() {?>

    abstractum Options Panel

    Info
    This style is designed by Mathias Beke
    You may adapt the style to your needs, but don't forget to think about the developer who spent some hours on coding this theme...
    General Settings

    current logo:
    <?php echo get_option('abstractum_logo_alt'); ?>

    Leave blank if you don't need a logo.

    This logo is also used as favicon, though it will only work on newer browsers due to the filetype.

    Cavern Walls Melted rainforest
    Sandstone Canvas Water Sheets

    Select 'Custom' if you want to use your own background. You can chose your own image at 'Appearance', 'Background'

    Box shadow and rounded borders don't work with all browsers. The browsers need to support HTML5

    Color

    To display a Background color select first None for the Background image and insert then the color here. Background color must be entered with color code. Like #8fc676 or rgb(123, 189, 89). Leave blank to restore.

    If enabled, you will see nice transitions and effects when browsing the pages of your site. This function uses jQuery (which is installed by default. If you really want to limit the data usage of your blog disable it, else leave it enabled...)

    Social Links

    Footer
    Copyright Info

    Leave blank to restore. Don't use html code here.

    SEO

    Keywords comma separated