Cześć,
mam pewien problem. Korzystam z WordPressa podpiętego pod własną stronę główną na któej mam kod wyświetlania newsów:
<?php
$args = array( 'posts_per_page' => 10, 'order'=> 'DESC', 'orderby' => 'date' ); $postslist = get_posts( $args );
foreach ( $postslist as $post ) :
setup_postdata( $post ); ?>
<table border="0" width="600" cellspacing="0" cellpadding="0" height="50">
<tr>
<td width="600" height="33" background="http://meteo24.com.pl/images/site/news-bkg.png">
<b>
<font color="#FF9600" size="5" face="Arial">
</font>
</b>
<font color="#FF9600" size="5" face="Arial"> <id="post-<?php the_ID(); ?>">
<?php the_title(); ?></font>
</td>
</tr>
<tr>
<td width="600" height="1"><font color="#000" size="2" face="Verdana"><?php the_time('d F Y'); ?>, dodał: <b><?php the_author(); ?></font></td>
</center>
</tr>
<center>
<tr>
<td width="600" height="29"><font face="Arial" size="2"><?php the_content(''); ?> </font></td>
</tr>
<tr>
<td width="600" height="30">
<p align="center"> <a href="<?php the_permalink(); ?>" rel="bookmark"><img border="0" src="http://meteo24.com.pl/images/site/news-more.png" width="600" height="31"></a></p>
</td>
</tr>
Całość wyświetla się tak jak tutaj:
http://wstaw.org/m/2016/02/04/1.jpg, a chciałbym żeby było tak jak tutaj:
http://wstaw.org/m/2016/02/04/2.jpg. Nie wiem jak zrobić rozdzielenie frazy: <?php the_content(''); ?> osobno na text i osobno na obrazek...
Pozdrawiam