这是我第一次用快乐器做饭,也是我第一次使用购买力平价(不包括偶尔的服务器)。 也就是说,我没有PHP的任何东西,而且仅仅掌握了yn。
我试图创造一些定制的休息场所,一旦我去工作,我就照搬了《工作法典》,改变了身份证,并期望这项工作。 沉默可能吗? 不管怎么说,我拿到的是第203行的意外费用。
任何人都愿意告诉我,是什么原因? 提前感谢!
<!-- FEATURED LOOP -->
<div class="featured">
<?php $my_query = new WP_Query( category_name=featured&showposts=1 ); ?>
<?php if ( have_posts() ) : ?>
<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
<?php do_atomic( before_entry ); // origin_before_entry ?>
<div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
<?php do_atomic( open_entry ); // origin_open_entry ?>
<?php
if ( current_theme_supports( get-the-image ) ) {
if ( is_sticky ( $post->ID ) ) {
get_the_image( array( meta_key => Thumbnail , size => single-thumbnail , image_class => featured ) );
} else {
get_the_image( array( meta_key => Thumbnail , size => thumbnail , image_class => featured ) );
}
}
?>
<div class="sticky-header">
<?php echo apply_atomic_shortcode( entry_title , [entry-title] ); ?>
<?php echo apply_atomic_shortcode( byline , <div class="byline"> . __( [entry-published] · by [entry-author] · in [entry-terms taxonomy="category" before=""] [entry-edit-link before=" · "] , origin ) . </div> ); ?>
</div><!-- .sticky-header -->
<div class="entry-summary">
<?php the_excerpt(); ?>
<?php wp_link_pages( array( before => <p class="page-links"> . __( Pages: , origin ), after => </p> ) ); ?>
</div><!-- .entry-summary -->
<?php do_atomic( close_entry ); // origin_close_entry ?>
</div><!-- .hentry -->
<?php do_atomic( after_entry ); // origin_after_entry ?>
<?php endwhile; ?>
<?php wp_reset_postdata(); // reset the query ?>
<?php else : ?>
<!--END FEATURED LOOP-->
<!-- SUBFEATURED LOOP -->
<div class="subfeatured">
<?php $my_query = new WP_Query( category_name=subfeatured&showposts=1 ); ?>
<?php if ( have_posts() ) : ?>
<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
<?php do_atomic( before_entry ); // origin_before_entry ?>
<div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
<?php do_atomic( open_entry ); // origin_open_entry ?>
<?php
if ( current_theme_supports( get-the-image ) ) {
if ( is_sticky ( $post->ID ) ) {
get_the_image( array( meta_key => Thumbnail , size => single-thumbnail , image_class => featured ) );
} else {
get_the_image( array( meta_key => Thumbnail , size => thumbnail , image_class => featured ) );
}
}
?>
<div class="sticky-header">
<?php echo apply_atomic_shortcode( entry_title , [entry-title] ); ?>
<?php echo apply_atomic_shortcode( byline , <div class="byline"> . __( [entry-published] · by [entry-author] · in [entry-terms taxonomy="category" before=""] [entry-edit-link before=" · "] , origin ) . </div> ); ?>
</div><!-- .sticky-header -->
<div class="entry-summary">
<?php the_excerpt(); ?>
<?php wp_link_pages( array( before => <p class="page-links"> . __( Pages: , origin ), after => </p> ) ); ?>
</div><!-- .entry-summary -->
<?php do_atomic( close_entry ); // origin_close_entry ?>
</div><!-- .hentry -->
<?php do_atomic( after_entry ); // origin_after_entry ?>
<?php endwhile; ?>
<?php wp_reset_postdata(); // reset the query ?>
<?php else : ?>
<!--END SUBFEATURED LOOP-->