View Single Post
ישן 26-07-12, 19:00   # 6
dabi
חבר וותיק
 
מיני פרופיל
תאריך הצטרפות: Dec 2007
הודעות: 1,767

dabi לא מחובר  

למה זה לא עובד לי
אני מסתכל בקבצי תיקיה של העיצוב ורואה שיש בעצם קריאה לפונקציות ובאמצע הטקסט של העמוד
הנה העמוד

PHP קוד:
<?php
/*
Template Name: Archives with Content
*/
?>
<?php get_header
(); ?>
<div id="content" class="widecolumn">
 <?php if (have_posts()) : while (have_posts()) : the_post();?>
 <div class="post">
 <h2 id="post-<?php the_ID(); ?>"><?php the_title();?></h2>
 <div class="entrytext">
  <?php the_content('<p class="serif">Read the rest of this page &raquo;</p>'); ?>
 </div>
 </div>
 <?php endwhile; endif; ?>
 <?php edit_post_link('Edit this entry.''<p>''</p>'); ?>
</div>
<div id="main">
<?php include (TEMPLATEPATH '/searchform.php'); ?>
<h2>Archives by Month:</h2>
 <ul>
  <?php wp_get_archives('type=monthly'); ?>
 </ul>
<h2>Archives by Subject:</h2>
 <ul>
   <?php wp_list_categories(); ?>
 </ul>
</div>
<?php get_footer(); ?>
כשאני עושה עמוד כזה זה עושה לי שגיאה

Call to undefined function get_header()

מה אני צריך לאנקלד?
  Reply With Quote