maxy
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Categories are displaying incorrectly on hompageHi Kevin,
Thanks for getting back to me. I replaced includes/featured.php with the original version. But they were exactly the same size, so I assume nothing had been altered?
just to confirm – this is where I found the file
/public_html/wp-content/themes/gazette-dev/gazette/includes/featured.php
I have just realised the “read more” is also only linking to the latest post as well!?
Any other ideas?
Thanks,
Graeme
Forum: Fixing WordPress
In reply to: Gravatar in BylineHi there,
I have the following code in my single.php
Its supposed to pull the Gravatar for the relevant author who has written the post and display their name as well within each single post. Similar code is within my comments.php and this works fine.
I can’t understand what I am missing – I’m no expert!
Thanks in advance –
</div><!–/post–>
<?php if (get_option(‘woo_author’) != “”) { ?>
<div class=”author_info”>
<h3>This post was written by:</h3><?php
// Determine which gravatar to use for the user
$email = get_the_author_email();
$grav_url = “http://www.gravatar.com/avatar.php?gravatar_id=”.md5($email). “&default=”.urlencode($GLOBALS[‘defaultgravatar’] ).”&size=48″;
$usegravatar = get_option(‘woo_gravatar’);
?><?php if ( $usegravatar ) { ?><span class=”author_photo”><img src=”<?php echo $grav_url; ?>” width=”48″ height=”48″ alt=”” /></span><?php } ?>
<p><?php the_author_posts_link(); ?> – who has written <?php the_author_posts(); ?> posts on /”><?php bloginfo(‘name’); ?>.</p>
<p><?php the_author_description(); ?> <br style=”clear:both;” /></p>
<p class=”author_email”>”>Contact the author</p>
</div><?php } ?>
Forum: Fixing WordPress
In reply to: author’s gravatar in published postHi there,
I have the following code in my single.php
Its supposed to pull the Gravatar for the relevant author who has written the post and display their name as well within each single post. Similar code is within my comments.php and this works fine.
I can’t understand what I am missing – I’m no expert!
Thanks in advance –
</div><!–/post–>
<?php if (get_option(‘woo_author’) != “”) { ?>
<div class=”author_info”>
<h3>This post was written by:</h3><?php
// Determine which gravatar to use for the user
$email = get_the_author_email();
$grav_url = “http://www.gravatar.com/avatar.php?gravatar_id=”.md5($email). “&default=”.urlencode($GLOBALS[‘defaultgravatar’] ).”&size=48″;
$usegravatar = get_option(‘woo_gravatar’);
?><?php if ( $usegravatar ) { ?><span class=”author_photo”><img src=”<?php echo $grav_url; ?>” width=”48″ height=”48″ alt=”” /></span><?php } ?>
<p><?php the_author_posts_link(); ?> – who has written <?php the_author_posts(); ?> posts on /”><?php bloginfo(‘name’); ?>.</p>
<p><?php the_author_description(); ?> <br style=”clear:both;” /></p>
<p class=”author_email”>”>Contact the author</p>
</div><?php } ?>
Forum: Plugins
In reply to: Gravatar plugin vs. core code?Hi there,
I have the following code in my single.php
Its supposed to pull the Gravatar for the relevant author who has written the post and display their name as well within each single post. Similar code is within my comments.php and this works fine.
I can’t understand what I am missing – I’m no expert!
Thanks in advance –
</div><!–/post–>
<?php if (get_option(‘woo_author’) != “”) { ?>
<div class=”author_info”>
<h3>This post was written by:</h3><?php
// Determine which gravatar to use for the user
$email = get_the_author_email();
$grav_url = “http://www.gravatar.com/avatar.php?gravatar_id=”.md5($email). “&default=”.urlencode($GLOBALS[‘defaultgravatar’] ).”&size=48″;
$usegravatar = get_option(‘woo_gravatar’);
?><?php if ( $usegravatar ) { ?><span class=”author_photo”><img src=”<?php echo $grav_url; ?>” width=”48″ height=”48″ alt=”” /></span><?php } ?>
<p><?php the_author_posts_link(); ?> – who has written <?php the_author_posts(); ?> posts on /”><?php bloginfo(‘name’); ?>.</p>
<p><?php the_author_description(); ?> <br style=”clear:both;” /></p>
<p class=”author_email”>”>Contact the author</p>
</div><?php } ?>
Forum: Fixing WordPress
In reply to: Gravatar avatars in postsHi there,
I have the following code in my single.php
Its supposed to pull the Gravatar for the relevant author who has written the post and display their name as well within each single post. Similar code is within my comments.php and this works fine.
I can’t understand what I am missing – I’m no expert!
Thanks in advance –
</div><!–/post–>
<?php if (get_option(‘woo_author’) != “”) { ?>
<div class=”author_info”>
<h3>This post was written by:</h3><?php
// Determine which gravatar to use for the user
$email = get_the_author_email();
$grav_url = “http://www.gravatar.com/avatar.php?gravatar_id=”.md5($email). “&default=”.urlencode($GLOBALS[‘defaultgravatar’] ).”&size=48″;
$usegravatar = get_option(‘woo_gravatar’);
?><?php if ( $usegravatar ) { ?><span class=”author_photo”><img src=”<?php echo $grav_url; ?>” width=”48″ height=”48″ alt=”” /></span><?php } ?>
<p><?php the_author_posts_link(); ?> – who has written <?php the_author_posts(); ?> posts on /”><?php bloginfo(‘name’); ?>.</p>
<p><?php the_author_description(); ?> <br style=”clear:both;” /></p>
<p class=”author_email”>”>Contact the author</p>
</div><?php } ?>
Forum: Themes and Templates
In reply to: GravatarHi there,
I have the following code in my single.php
Its supposed to pull the Gravatar for the relevant author who has written the post and display their name as well within each single post. Similar code is within my comments.php and this works fine.
I can’t understand what I am missing – I’m no expert!
Thanks in advance –
</div><!–/post–>
<?php if (get_option(‘woo_author’) != “”) { ?>
<div class=”author_info”>
<h3>This post was written by:</h3><?php
// Determine which gravatar to use for the user
$email = get_the_author_email();
$grav_url = “http://www.gravatar.com/avatar.php?gravatar_id=”.md5($email). “&default=”.urlencode($GLOBALS[‘defaultgravatar’] ).”&size=48″;
$usegravatar = get_option(‘woo_gravatar’);
?><?php if ( $usegravatar ) { ?><span class=”author_photo”><img src=”<?php echo $grav_url; ?>” width=”48″ height=”48″ alt=”” /></span><?php } ?>
<p><?php the_author_posts_link(); ?> – who has written <?php the_author_posts(); ?> posts on /”><?php bloginfo(‘name’); ?>.</p>
<p><?php the_author_description(); ?> <br style=”clear:both;” /></p>
<p class=”author_email”>”>Contact the author</p>
</div><?php } ?>
Hi there,
I have the following code in my single.php
Its supposed to pull the Gravatar for the relevant author who has written the post and display their name as well within each single post. Similar code is within my comments.php and this works fine.
I can’t understand what I am missing – I’m no expert!
Thanks in advance –
</div><!–/post–>
<?php if (get_option(‘woo_author’) != “”) { ?>
<div class=”author_info”>
<h3>This post was written by:</h3><?php
// Determine which gravatar to use for the user
$email = get_the_author_email();
$grav_url = “http://www.gravatar.com/avatar.php?gravatar_id=”.md5($email). “&default=”.urlencode($GLOBALS[‘defaultgravatar’] ).”&size=48″;
$usegravatar = get_option(‘woo_gravatar’);
?><?php if ( $usegravatar ) { ?><span class=”author_photo”><img src=”<?php echo $grav_url; ?>” width=”48″ height=”48″ alt=”” /></span><?php } ?>
<p><?php the_author_posts_link(); ?> – who has written <?php the_author_posts(); ?> posts on /”><?php bloginfo(‘name’); ?>.</p>
<p><?php the_author_description(); ?> <br style=”clear:both;” /></p>
<p class=”author_email”>”>Contact the author</p>
</div><?php } ?>
Forum: Themes and Templates
In reply to: different css on one pageThanks so much, its worked perfectly!!!!
Forum: Themes and Templates
In reply to: different css on one pageI cant locate any line in my header.php that declares style.css?
Forum: Themes and Templates
In reply to: different css on one pageMine seems to be more complicated (I want to do the same). Can anyone help?
Forum: Fixing WordPress
In reply to: 2 sidebars on same side in Atahualpa?This actually works perfectly!!! but this moves both sidebars to the right. Does anyone know how to move them to the left?
Thank so much
Forum: Fixing WordPress
In reply to: 2 sidebars on same side in Atahualpa?Yeah I have the same problem, can anyone please help?