WordPress.org

Ready to get started?Download WordPress

Forums

Theme editor problem? (1 post)

  1. spider801
    Member
    Posted 7 years ago #

    I created custom page name portfolio.php and upload to my own theme that's work fine, but when i want to edit this portfolio.php page in admin theme editor i can not find it.

    All of my custom page are not showing in right side of theme editor like Header, Footer etc.

    How to edit my own custom pages in admin theme editor of wordpress 2.1?

    this is my source code of portfolio.php
    <?php
    /*
    Template Name: Portfolio
    */
    ?>
    <?php get_header(); ?>
    <div id="content">
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <div class="post" id="post-<?php the_ID(); ?>">
    <h2><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    <div class="post-content">
    <?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>
    <?php link_pages('<strong>Pages:</strong> ', '
    ', 'number'); ?>
    </div>
    <?php endwhile; else: ?>
    Sorry, no posts matched your criteria.
    <?php endif; ?>
    </div><!--/post -->
    </div><!--/content -->
    <div id="sidebar">
    <div class="sidewrap light1">
    <h3>Categories</h3>
    <ul class="ul-cat">
    <?php wp_list_pages('child_of=8&title_li=&depth=1'); ?>
    </ul>
    </div>
    <div class="sidewrap">
    <h3>Archives</h3>
    <ul class="ul-archives">
    <?php wp_get_archives('type=monthly'); ?>
    </ul>
    </div>
    <div class="sidewrap">
    <h3>Links</h3>
    <ul class="ul-blogroll">
    <?php get_links('-1', '<li>', '</li>', '', FALSE, 'id', FALSE, FALSE, -1, FALSE); ?>
    </ul>
    </div>
    </div><!--/sidebar -->
    <?php get_footer(); ?>

    thanks advance.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.