How to position php code image and text (one line)
Posted: Thu Feb 05, 2009 3:12 pm
Hey,
Hopefully i can explain this right.
My question is i want to change the position of the avatar in my wordpress blog's post description. I want it to be all in one line. I am not a expert in coding so i don't know how to do this.
This is how it looks now: http://techunfolding.com/pichosting/example2.png
and i want it to look like this: http://techunfolding.com/pichosting/example1.png
<?php userphoto_the_author_thumbnail() ?> Thats the code for inserting the users avatar.
Here is the code that i have:
Hopefully i can explain this right.
My question is i want to change the position of the avatar in my wordpress blog's post description. I want it to be all in one line. I am not a expert in coding so i don't know how to do this.
This is how it looks now: http://techunfolding.com/pichosting/example2.png
and i want it to look like this: http://techunfolding.com/pichosting/example1.png
<?php userphoto_the_author_thumbnail() ?> Thats the code for inserting the users avatar.
Here is the code that i have:
Code: Select all
<?php get_header(); ?>
<div id="main">
<div id="contentwrapper">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="topPost">
[b]THIS IS THE TOP OF THE DESCRIPTION[/b]
<h2 class="topTitle"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
<p class="topMeta">by <?php the_author_posts_link(); ?> on <?php the_time('M.d, Y') ?>, under <?php the_category(', '); ?></p>
<?php if(function_exists('the_ratings')) { the_ratings(); } ?> [b]<?php userphoto_the_author_thumbnail() ?>[/b]
<div class="topContent"><?php the_content('(continue reading...)'); ?></div>
<span class="topTags"><?php the_tags('<em>:</em>', ', ', ''); ?></span>
<div class="cleared"></div>
</div> <!-- Closes topPost -->
[ /code]
Any help would be great! Thanks.