Viewing 2 replies - 1 through 2 (of 2 total)
  • noda

    (@nodarik)

    Hi there

    This comes from your theme and you should contact theme developer,

    Thread Starter oneglobeonly

    (@oneglobeonly)

    Hi
    i am a beginner and a following Alessandro Castellani
    on
    https://www.youtube.com/playlist?list=PLriKzYyLb28nUFbe0Y9d-19uVkOnhYxFE

    to bild a Theme from start. Below you can se how my file functions.php lock like.

    ?php

    function kjelll2_script_enqueue() {

    wp_enqueue_style(‘customstyle’, get_template_directory_uri() . ‘/css/kjelll.css’, array(), ‘1.0.0’, ‘all’);

    wp_enqueue_script(‘customjs’, get_template_directory_uri() . ‘/js/kjelll.js’, array(), ‘1.0.0’, true);

    }

    add_action( ‘wp_enqueue_scripts’, ‘kjelll2_script_enqueue’);

    function kjelll_theme_setup() {

    add_theme_support(‘menus’);

    register_nav_menu(‘primery’, ‘Primery Header Navigation’);
    register_nav_menu(‘secondary’, ‘Footer Navigation’);
    }

    add_action(‘init’, ‘kjelll_theme_setup’);

    Can you find anything wrong?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Log in problems in WordPress’ is closed to new replies.