Viewing 1 replies (of 1 total)
  • Thread Starter dfgphp

    (@dfgphp)

    Hello, first, create the template in the following format page_custom.php

    <?php
    /*
    Template Name: Custom_Page_Timtable
    */
    ?>
    <?php get_header(); ?>
    <div id=”content” class=”narrowcolumn”>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <div class=”post” id=”post-<?php the_ID(); ?>”>
    <div id=”wrapper”>
    <div class=”efectoimg”>
    <span></span><div class=”post-it”> TIMETABLE </div>
    <div class=”fondo”>
    <?php the_content(‘<p class=”serif”>Read the rest of this page ?</p>’); ?>
    <?php wp_link_pages(array(‘before’ => ‘<p>Pages: ‘, ‘after’ => ‘</p>’, ‘next_or_number’ => ‘number’)); ?>
    </div>
    </div>
    <?php endwhile; endif; ?>
    <?php //edit_post_link(‘edit’, ‘<p>’, ‘</p>’); ?>
    </div>
    </div>
    <?php get_footer();
    ?>

    Second: edit page in wordpress and adding template

    Best regards

Viewing 1 replies (of 1 total)
  • The topic ‘[wcs] does not show the page.’ is closed to new replies.