Inhaltsverzeichnis

Wordpress


wp-config.php

define( 'AUTOSAVE_INTERVAL', 900 );
define( 'WP_POST_REVISIONS', 6 );
define( 'ALLOW_UNFILTERED_UPLOADS', true );


/* Multisite */
define( 'WP_ALLOW_MULTISITE', true );
define( 'MULTISITE', true );
define( 'SUBDOMAIN_INSTALL', true );
define( 'DOMAIN_CURRENT_SITE', 'infokeller.net' );
define( 'PATH_CURRENT_SITE', '/' );
define( 'SITE_ID_CURRENT_SITE', 1 );
define( 'BLOG_ID_CURRENT_SITE', 1 );

Plugins

https://de.wordpress.org/plugins/simple-download-monitor/

https://de.wordpress.org/plugins/autodescription/

https://de.wordpress.org/plugins/ultimate-category-excluder/

https://de.wordpress.org/plugins/wp-super-cache/

https://de.wordpress.org/plugins/wp-sweep/

https://de.wordpress.org/plugins/xcloner-backup-and-restore/

https://de.wordpress.org/plugins/code-block-pro/

https://de.wordpress.org/plugins/email-encoder-bundle/

https://de.wordpress.org/plugins/disable-json-api/

https://de.wordpress.org/plugins/members/

https://de.wordpress.org/plugins/password-protect-page/

All in One Invite Codes

https://de.wordpress.org/plugins/contact-form-7/

https://de.wordpress.org/plugins/list-category-posts/

https://de.wordpress.org/plugins/post-views-counter/

Really Simple CAPTCHA

Syntax-highlighting Code Block (with Server-side Rendering)

https://de.wordpress.org/plugins/woocommerce/

https://de.wordpress.org/plugins/wp-external-links/

https://de.wordpress.org/plugins/wp-featherlight/

WP PGP Encrypted Emails

WP Super Cache

WP-Sweep

functions.php

Textauszug auch auf Seiten

add_post_type_support( 'page', 'excerpt' );

https://hashthemes.com/add-excerpt-to-wordpress-page-post/

adding-loginlogout-existing-menu-wordpress

/* https://wpbeaches.com/adding-loginlogout-existing-menu-wordpress/ */
add_filter( 'wp_nav_menu_items', 'themeprefix_login_logout_link', 10, 2 );

function themeprefix_login_logout_link( $items, $args  ) {

    if( is_user_logged_in()  ) {
            $loginoutlink = wp_loginout( 'index.php', false );
            $items .= '<li class="menu-item login-but">'. $loginoutlink .'</li>';
            return $items;
    }
    else {
            $loginoutlink = wp_loginout( 'wp-admin', false );
            $items .= '<li class="menu-item login-but">'. $loginoutlink .'</li>';
            return $items;
    }
}
/*Entfernt den Footer vom GeneratePress-ChildTheme*/
add_action( 'after_setup_theme', 'tu_remove_footer_area' );
function tu_remove_footer_area() {
    remove_action( 'generate_footer','generate_construct_footer' );
}
function ik_admin_bar_remove_wplogo() {
    global $wp_admin_bar;
    $wp_admin_bar->remove_menu( 'wp-logo' );
}
add_action( 'wp_before_admin_bar_render', 'ik_admin_bar_remove_wplogo', 0 );


add_filter( 'wp_nav_menu_items', 'themeprefix_login_logout_link', 10, 2 );

zusätzliches CSS

@media only screen and ( min-width: 1000px ) {
	/* mobile Geräte */

body {
	overflow-y: scroll;
	font-family: sans-serif, -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 22px;	
	
}

	/*Header-hintergrundfarbe*/
.inside-header {
    background-color: #000;
}

.main-navigation a {
    font-size: 73%;
}

.main-title a, .main-title a:hover {
    color: #ccc;
}
	
.entry-title {
		color:red;
	font-weight: 900;
}


.entry-title a {
    color: #5F9EA0;
}


.wp-block-video figcaption {
    margin-top: 0em;
	font-size: smaller;
	font-style: italic;
}


code, kbd, tt, var {
	font: 85% Monaco,Consolas,"Andale Mono","DejaVu Sans Mono",monospace;
}

blockquote {
    border-left: 25px solid rgba(0,0,0,.05);
    padding: 20px;
    font-size: 90%;
}	
	
	
	
	
}