Commit 090f7d97 authored by Maximilian Schmitt's avatar Maximilian Schmitt
Browse files

wptest angelegt und geprüft.

parent 1a387a76
function add_theme_scripts(){
wp_enqueue_style( 'style', get_stylesheet_uri() );
wp_enqueue_script( 'script', get_template_directory_uri().'/js/main.js', array (), null, true);
add_action( 'wp_enqueue_scripts', 'add_theme_scripts' );
\ No newline at end of file
<html lang="en">
<?php wp_head(); ?>
<header><h1>A simple one-page theme.</h1></header>
<h2>With a section here</h2>
<p>And some text below.</p>
<footer>© Maximilian Schmitt, Dennis Schoepf</footer>
<?php wp_footer(); ?>
\ No newline at end of file
console.log("Hallo Welt");
\ No newline at end of file
Theme Name: CMS 2020 Theme
Author: Dennis & Max
Description: A theme for the Content Management Systems course 2020
Version: 0.1
Text Domain: minime
Tags: cms2020, minimal
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what
you've learned with others.
html, body{
height: 100%;
margin: 0;
font-family: sans-serif;
height: 100%;
background-color: #fafaf9;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
header, footer{
background-color: #000;
color: #fff;
background-color: #fff;
color: #000;
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment