PHP
<?php
/*
Template Name: start
*/
?>
<?php get_header(); ?>
<?php $my_query = new WP_Query('showposts=1'); ?>
<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
<?php the_title(); ?>
<?php the_content(); ?>
<!-- Anpassen welche Templatetags du anzeigen willst -->
<?php endwhile; ?>
<?php while (have_posts()) : the_post(); ?>
<?php the_title(); ?>
<?php the_content(); ?>
<!-- Anpassen welche Templatetags du anzeigen willst -->
<?php endwhile; ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Alles anzeigen
Funktioniert hoffentlich.