a1184299b1
article-Interface & -Klasse + createArticle.php mit article.css (Editor) + neuer "Beitrag erstellen"-Button in Navbar
37 lines
1.3 KiB
PHP
37 lines
1.3 KiB
PHP
<!--
|
|
Seite: Beitrag erstellen
|
|
Inhalt: Formular für die Erstellung eines neuen Beitrags
|
|
-->
|
|
<form id="editor-form" class="wp-editor-scope editor-container">
|
|
|
|
<main class="editor-main">
|
|
<input type="text" id="post-title" name="title" placeholder="Titel hier eingeben" required>
|
|
<textarea id="post-content" name="content" placeholder="Schreibe deinen Beitrag..."></textarea>
|
|
</main>
|
|
|
|
<!-- Seitenleiste -->
|
|
<aside class="editor-sidebar">
|
|
|
|
<div class="sidebar-block">
|
|
<button type="submit" class="btn-publish">Veröffentlichen</button>
|
|
</div>
|
|
|
|
<div class="sidebar-block">
|
|
<label for="post-category">Kategorie <span class="required">*</span></label>
|
|
<select id="post-category" name="category" required>
|
|
<option value="" disabled selected>Kategorie wählen...</option>
|
|
<option value="allgemein">Allgemein</option>
|
|
<option value="technik">Technik</option>
|
|
<option value="lifestyle">Lifestyle</option>
|
|
</select>
|
|
</div>
|
|
|
|
<div class="sidebar-block">
|
|
<label for="post-tags">Schlagwörter</label>
|
|
<input type="text" id="post-tags" name="tags" placeholder="z.B. Webdesign, HTML, CSS (mit Komma trennen)">
|
|
</div>
|
|
|
|
</aside>
|
|
|
|
</form>
|