Posted by Luca Thu 8th Feb 2007 10:58 - Syntax is PHP - 214 views
Download | New Post | Modify | Hide line numbers

Download | New Post | Modify | Hide line numbers
PHP parser reported no syntax errors in this post!
Description:
This is the correct code that should substitute the highlighted code in the
next part
$car=get_query_var('cat');
$myCategory=get_category($car);
if ($myCategory->category_description) { ?>
This is the correct code that should substitute the highlighted code in the
next part
$car=get_query_var('cat');
$myCategory=get_category($car);
if ($myCategory->category_description) { ?>
wp_specialchars(apply_filters('category_description',__($myCategory->category
_description,'personal'),$myCategory)); ?>
-
get_header()?>
-
-
-
-
"content">if (have_posts()) { ?>
class="archive-title">
$post = $posts[0]; // Hack. Set $post so that the_date() works.if (is_category()) { /* If this is a category archive */} elseif (is_day()) { /* If this is a daily archive */the_time('F jS, Y');} elseif (is_month()) { /* If this is a monthly archive */the_time('F, Y');} elseif (is_year()) { /* If this is a yearly archive */the_time('Y');} elseif (is_author()) { /* If this is an author archive */_e('Author Archive','theme');_e('Blog Archives','theme');} ?>$myCategory=get_category(get_query_var('cat'));if ($myCategory->category_description) { ?>category_description,'personal'),$myCategory)); ?>class="archive-subscribe">
_e('Subscribe to this category','theme') ?>} ?>class="navigation center">posts_nav_link(' | ', __('« Previous Entries','theme'), __('Next Entries »','theme'));?>while (have_posts()) { the_post(); ?>class="post">require('post.php'); ?>comments_template(); // Get wp-comments.php template ?>class="post-footer">} ?>class="navigation center">posts_nav_link(' | ', __('« Previous Entries','theme'), __('Next Entries »','theme'));?>} else { ?>class="center">('Not Found','theme'); ?>
class="center">("Sorry, but you are looking for something that isn't here.",'theme'); ?>
} ?>"sidebar">get_sidebar(); ?>get_footer();?>
PermaLink to this entry https://pastebin.co.uk/10092
Posted by Luca Thu 8th Feb 2007 10:58 - Syntax is PHP - 214 views
Download | New Post | Modify | Hide line numbers
Comments: 0