Hallo @ all,
bei meinem Problem geht es um folgenden Code-Abschnitt:
PHP
<?php
global $myPosts;
$myPosts = '';
?>
<?php
$my_query = new WP_Query();
$my_query->query('cat=1,2,3&showposts=5&orderby=date');
if ($my_query->have_posts()) : while ($my_query->have_posts()) : $my_query->the_post();
$myPosts .= $post->ID . ",";
?>
<h4><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
<ul>
<li>
<a href="<?php the_permalink(); ?>"><?php the_content(); ?><span class="news"><?php the_date(); ?> | <?php comments_number(); ?></span><br /></a>
</li>
</ul>
Alles anzeigen
Bei jedem Artikel auf der Seite wird überder Headline ein komisches Fragezeichen Symbol ausgegeben, so als ob der Browser mit irgendwelchen Umlauten oder Sonderzeichen nicht klar kommt, die ich aber nirgendwo in meinem Code entdecken kann.
Im Anhang seht ihr das Problem auf einem Screenshot; hat vielleicht jemand eine Idee woran das liegen könnte?
MfG