Strange actions….
-
I’m really confused by PHP and XHTML. I literally copy and pasted a section in my sidebar that I wanted to bring up a list of the most recent posts in a seperate category. Here is my current work in progress, have a look at the sidebar:
http://www.andreanott.com/wordpress
As you can see, there are to different “Kyle Lawson” things in the right sidebar, both of which are calling for that information from different categories. Now, all of that works just fine, but as you can also see, the second one for some reason is centering the title of the posts. I don’t understand because I literally copy and pasted the whole thing. Below is the coding in its exact form in sidebar.php – If anyone has any suggestions as to how to fix this I’d be greatly appreciative.
Thanks (once again) for the immense help of this forum.
<img src=”http://www.andreanott.com/lawson.png” alt=”lawson” align=”left” />
<div class=”latest” align=”left”><table border=”0″ width=”80″>
<?php c2c_get_recent_posts ($num_posts = 3,
$format = “<tr><td>%post_date% – </td><td>%post_URL%</td></tr>”,
$categories = ‘4’,
$orderby = ‘date’,
$order = ‘DESC’,
$offset = 0,
$date_format = ‘m/d/Y’,
$authors = ”,
$include_passworded_posts = false); ?></table>
<HR size=”1″ color=”white”>
<center><div class=”ul”><LI>Kyle’s Blog
(last updated
<?php c2c_get_recent_posts ($num_posts = 1,
$format = “%post_date%“,
$categories = ‘8’,
$orderby = ‘date’,
$order = ‘DESC’,
$offset = 0,
$date_format = ‘m/d/Y’,
$authors = ”,
$include_passworded_posts = false); ?>)</LI></UL></DIV></center></div><img src=”http://www.andreanott.com/lawson.png” alt=”lawson” align=”left” />
<div class=”latest” align=”left”><table border=”0″ width=”80″>
<?php c2c_get_recent_posts ($num_posts = 3,
$format = “<tr><td>%post_date% – </td><td align=left>%post_URL%</td></tr>”,
$categories = ‘3’,
$orderby = ‘date’,
$order = ‘DESC’,
$offset = 0,
$date_format = ‘m/d/Y’,
$authors = ”,
$include_passworded_posts = false); ?></table>
<HR size=”1″ color=”white”>
<center><div class=”ul”><LI>Adam’s Blog
(last updated
<?php c2c_get_recent_posts ($num_posts = 1,
$format = “%post_date%“,
$categories = ‘8’,
$orderby = ‘date’,
$order = ‘DESC’,
$offset = 0,
$date_format = ‘m/d/Y’,
$authors = ”,
$include_passworded_posts = false); ?>)</LI></UL></div></center></div>
The topic ‘Strange actions….’ is closed to new replies.