示例#1
0
?>

<div <?php 
post_class();
?>
 id="post-<?php 
the_ID();
?>
">

	<?php 
fastfood_hook_entry_top();
?>

	<?php 
fastfood_featured_title();
?>

	<?php 
fastfood_extrainfo();
?>

	<?php 
fastfood_hook_post_content_before();
?>

	<div class="entry-content">

		<?php 
the_content();
?>
?>

<div <?php 
post_class();
?>
 id="post-<?php 
the_ID();
?>
">

	<?php 
fastfood_hook_entry_top();
?>

	<?php 
fastfood_featured_title(array('fallback' => sprintf(__('attachment #%s', 'fastfood'), get_the_ID())));
?>

	<?php 
fastfood_extrainfo(array('tags' => 0, 'cats' => 0));
?>

	<div class="entry-content entry-attachment">

		<?php 
fastfood_hook_attachment_before();
?>

			<p class="attachment">
		<?php 
if (wp_attachment_is_image()) {
示例#3
0
?>

<div <?php 
post_class();
?>
 id="post-<?php 
the_ID();
?>
">

	<?php 
fastfood_hook_entry_top();
?>

	<?php 
fastfood_featured_title(array('featured' => false));
?>

	<?php 
fastfood_extrainfo(array('comms' => 0, 'tags' => 0, 'cats' => 0));
?>

	<div class="entry-content">

		<?php 
the_content();
?>

	</div>

	<br class="fixfloat" />
示例#4
0
 id="post-<?php 
the_ID();
?>
">

	<?php 
fastfood_hook_entry_top();
?>

	<?php 
switch (FastfoodOptions::get_opt('fastfood_post_formats_standard_title')) {
    case 'post title':
        fastfood_featured_title(array('fallback' => sprintf(__('post #%s', 'fastfood'), get_the_ID())));
        break;
    case 'post date':
        fastfood_featured_title(array('alternative' => get_the_time(get_option('date_format')), 'fallback' => sprintf(__('post #%s', 'fastfood'), get_the_ID())));
        break;
}
?>

	<?php 
fastfood_extrainfo();
?>

	<?php 
fastfood_hook_post_content_before();
?>

	<div class="entry-content">
		<?php 
switch (FastfoodOptions::get_opt('fastfood_postexcerpt')) {