Beiträge von Fos86

    Hallo zusammen,

    ich würde gerne die Font preloading function in meine function.php einbauen. Ich benutze das Theme OceanWP und weiss nicht wo ich die Funktion da einbringen kann.

    /** Head Font Preloading **/
    function font_preloading_preload_key_requests() { ?>
    <link rel="preload" as="font" type="font/woff2" href="/wp-content/plugins/elementor/assets/lib/font-awesome/webfonts/fa-regular-400.woff2" crossorigin="anonymous">
    <link rel="preload" as="font" type="font/woff2" href="wp-content/plugins/elementor/assets/lib/font-awesome/webfonts/fa-solid-900.woff2
    " crossorigin="anonymous">
    <link rel="preload" as="font" type="font/woff2" href="wp-content/plugins/elementor/assets/lib/eicons/fonts/eicons.woff2?5.9.1" crossorigin="anonymous">
    add_action( 'wp_head', 'font_preloading_preload_key_requests' );

    Diese Funktion würde ich nun gerne in die function.php einbauen, aber weiß nicht wo ich das machen soll. Kann mir jemand vielleicht kurz aufzeigen an welcher Stelle ich die Preloading function einbauen kann. Am Anfang und am Ende habe ich bereits versucht und es hat nicht funktioniert. Vieeeeelen Dank im Voraus.

    <?php

    /**
    * Theme functions and definitions.
    *
    * Sets up the theme and provides some helper functions
    *
    * When using a child theme (see http://codex.wordpress.org/Theme_Development
    * and http://codex.wordpress.org/Child_Themes), you can override certain
    * functions (those wrapped in a function_exists() call) by defining them first
    * in your child theme's functions.php file. The child theme's functions.php
    * file is included before the parent theme's file, so the child theme
    * functions would be used.
    *
    *
    * For more information on hooks, actions, and filters,
    * see http://codex.wordpress.org/Plugin_API
    *
    * @package OceanWP WordPress theme
    */

    // Exit if accessed directly
    if ( ! defined( 'ABSPATH' ) ) {
    exit;
    }

    // Core Constants.
    define( 'OCEANWP_THEME_DIR', get_template_directory() );
    define( 'OCEANWP_THEME_URI', get_template_directory_uri() );

    /**
    * OceanWP theme class
    */
    final class OCEANWP_Theme_Class {

    /**
    * Main Theme Class Constructor
    *
    * @since 1.0.0
    */
    public function __construct() {

    ab hier kommt noch gaanz viel mehr code... den lasse ich weg

    Hallo zusammen,

    zunächst einmal bin ich nicht sehr versiert im Umgang mit Wordpress.

    Folgendes Problem: Habe Multisite erfolgreich eingerichtet (Option Unterverzeichnis) und wollte nun eine neue Website über den Netzwerkverwaltung anlegen. Hat auch alles gut geklappt. Nun habe ich versucht das Dashboard des Unterverzeichnis zu gelangen doch bekomme ich dann folgende Meldung;
    [h=1]Internal Server Error[/h][COLOR=#000000][FONT=&quot]The server encountered an internal error or misconfiguration and was unable to complete your request.[/FONT][/COLOR]
    [COLOR=#000000][FONT=&quot]Please contact the server administrator, service@webmailer.de and inform them of the time the error occurred, and anything you might have done that may have caused the error.[/FONT][/COLOR]
    [COLOR=#000000][FONT=&quot]More information about this error may be available in the server error log.


    Anbei sende ich euch die URL des Unterverzeichnisses: http://derlovecoach.com/tipps
    Meine Hauptdomain funktioniert jedoch ganz normal. Das Problem ensteht nur wenn ich versuche Unterverzeichnisse anzulegen.

    Ich weiß ehrlich gesagt nicht weiter und hoffe sehr das mir jemand hier helfen kann.

    Vielen Dank im Voraus.

    Mit besten Grüßen
    Fawaz Mohamed[/FONT][/COLOR]

    Hallo zusammen,

    zunächst vorab, ich bin kein versierte Wordpress User von daher kann es sein das die Frage sehr einfach zu beantworten ist. Ich habe mir heute Multisite bei Wordpress eingerichtet damit ich diverse Unterverzeichnisse anlegen kann.

    Es funktioniert auch soweit und ich sehe die Netzwerkverwaltung und kann auch neue Websites anlegen. Wenn ich dann eine neue angelegt habe (Website-Adresse und Titel angegeben habe dann erstellt er das Unterverzeichnis.

    Jetzt folgt das Problem: Wenn ich versuche auf dem Unterverzeichnis Dashboard zu gelangen erhalte ich folgende nachricht:

    "Internal Server Error

    [COLOR=#000000][FONT=&amp]The server encountered an internal error or misconfiguration and was unable to complete your request.[/FONT][/COLOR]
    [COLOR=#000000][FONT=&amp]Please contact the server administrator, service@webmailer.de and inform them of the time the error occurred, and anything you might have done that may have caused the error.[/FONT][/COLOR]
    [COLOR=#000000][FONT=&amp]More information about this error may be available in the server error log."

    Folgend findet ihr den Link für das Unterverzeichnis: http://derlovecoach.com/tipps/
    Meine Hauptdomain funktioniert jedoch noch einwandfrei, nur keine der Unterverzeichnisse.


    Ich hoffe es gibt jemanden der mir da draussen helfen kann da ich daran im Moment echt zerbreche.

    Vielen Dank im Voraus.

    Beste Grtüße
    Fawa


    [/FONT][/COLOR]