Hi,
ich nutzte das Theme BranfordMagazine 3. Seit WP 3 habe ich ein kleines Anzeigeproblem. Auf der Hauptseite werden einzelne Artikel ausgewählter Kategorien angezeigt. Diese Vorschau wird unrandet. Auserhalb des Kastens stand die entsprechende Kategorie des Artikels.
Diese Kategorieüberschrift ist eit WP3 leider weg.
Der Themehersteller hat seit kurzem das Theme zu einem kostenpflichtigen Theme gemacht und somit gibt es keinerlei Support für die alten Versionen.
Da dies aber der einzige "schönheitsfehler" ist, würde ich ungern dafür bezahlen.
die Sache wird in der Index des Themes ausgegeben, logisch.
Vielleicht hat ja einer von euch eine Idee
PHP
<?php get_header(); ?>
<div id="content">
<?php
// Include tabs with the lead story
include(TEMPLATEPATH . '/ui.tabs.php'); ?>
<div id="rightcol">
<?php
// "Featured articles" module begins
// enter the IDs of which categories you want to display
$display_categories = array(13,10,1,12);
foreach ($display_categories as $category) { ?>
<div class="clearfloat">
<?php query_posts("showposts=1&cat=$category");
$wp_query->is_category = false;
$wp_query->is_archive = false;
$wp_query->is_home = true;
?>
<h3><a href="<?php echo get_category_link($category);?>">
<?php
// name of each category gets printed
single_cat_title(); ?>
</a></h3>
<?php while (have_posts()) : the_post(); ?>
<?php // here the thumbnail image gets automatically generated fron the posts own image gallery ?>
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php postimage(75,75); ?></a>
<a href="<?php the_permalink() ?>" rel="bookmark" class="title">
<?php
// this is where title of the article gets printed
the_title(); ?>
</a><br />
<?php the_excerpt() ; ?>
<?php endwhile; ?>
</div>
<?php } ?>
</div>
<!--END LEFTCOL-->
<div id="rightcol">
<?php
// enter the IDs of which categories you want to display
$display_categories = array(8,11,564,9);
foreach ($display_categories as $category) { ?>
<div class="clearfloat">
<?php query_posts("showposts=1&cat=$category");
$wp_query->is_category = false;
$wp_query->is_archive = false;
$wp_query->is_home = true;
?>
<h3><a href="<?php echo get_category_link($category);?>">
<?php
// name of each category gets printed
single_cat_title(); ?>
</a></h3>
<?php while (have_posts()) : the_post(); ?>
<?php // here the thumbnail image gets automatically generated fron the posts own image gallery ?>
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php postimage(75,75); ?></a>
<a href="<?php the_permalink() ?>" rel="bookmark" class="title">
<?php
// this is where title of the article gets printed
the_title(); ?>
</a><br />
<?php the_excerpt() ; ?>
<?php endwhile; ?>
</div>
<?php } ?>
</div>
<!--END RIGHTCOL-->
</div>
<!--END CONTENT-->
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Alles anzeigen