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

wptest angelegt und geprüft.

parent 1a387a76
<?php
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">
<head>
<?php wp_head(); ?>
</head>
<body>
<header><h1>A simple one-page theme.</h1></header>
<section>
<h2>With a section here</h2>
<p>And some text below.</p>
</section>
<footer>© Maximilian Schmitt, Dennis Schoepf</footer>
<?php wp_footer(); ?>
</body>
</html>
\ 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;
}
header,section,footer{
height: 100%;
background-color: #fafaf9;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
header, footer{
background-color: #000;
color: #fff;
}
section{
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