• hi
    i see in my them the page
    page.php
    i see there the code php

    <?php get_header(); ?>
    
    <div id="content">
    <?php if (have_posts()) : ?>
    
    	<?php while (have_posts()) : the_post(); ?>
    			SDDDDD
    		<div class="post" id="post-<?php the_ID(); ?>">
    			<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h1>
    			<p class="meta">Posted  by <?php the_author() ?> - <?php the_time('F jS, Y') ?></p>
    
    			<div class="entry">
    				<?php the_content('Read More »'); ?>
    			</div>
    
    			<p class="postmetadata">Posted in <?php the_category(', ') ?> - <?php edit_post_link('Edit','',' - '); ?><?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
    <p><?php the_tags(); ?></p>
    		</div>
    
    	<?php endwhile; ?>
    
    		<p align="center"><?php next_posts_link('« Previous Entries') ?>   <?php previous_posts_link('Next Entries »') ?></p>
    
    	<?php else : ?>
    		<h2 align="center">Not Found</h2>
    		<p align="center">Sorry, but you are looking for something that isn't here.</p>
    <?php endif; ?>
    </div>
    
    <?php
    get_sidebar();
    get_footer();
    ?>

    and i want to create page in php that use with this theme
    so i copy the code and try to enter to this url
    http://localhost/wordpress/wp-content/themes/Answers/page1.php
    but this write
    Fatal error: Call to undefined function get_header() in C:\wamp1\www\wordpress\wp-content\themes\Answers\page1.php on line 1

    why?
    what i need to do?

    (i want to

Viewing 2 replies - 1 through 2 (of 2 total)
  • I don’t really understand what you are trying to do… Are you trying to create a new template page for your posts/pages?

    Thread Starter yosi1999

    (@yosi1999)

    yes
    but i want to do this via ftp
    this is some php files that i want to add…
    not via ‘tags via admin panel’
    how please?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘want to edit ned page…’ is closed to new replies.