redge
Forum Replies Created
-
Forum: Your WordPress
In reply to: Peopleproof.com – Prelude to a theme…I Love it! But you should’n display the URI next to the people in your Blogroll.
Forum: Fixing WordPress
In reply to: How to use Gravatar?!I will add the div!
For averyone who wonder how add gravatar in the MinimaPlus Theme look for this part in the comments.php :
<div class=”commentBox” style=”<?php echo $swap; ?>”>
<?php comment_text() ?>
<p class=”post-footer” style=”margin-bottom: 0px; padding-bottom: 0px;”>By <?php comment_author_link() ?> on <?php comment_date(‘m.d.y’) ?> <?php comment_time() ?> <?php edit_comment_link(__(“e”), ”); ?>
</div>Before <?php comment_text() ?> simply add this code : <img src=”<?php gravatar(r,60); ?>” align=”right”/>
And your done!
Forum: Fixing WordPress
In reply to: How to use Gravatar?!Yep ! I’ve changed the image from 60 to 40!
Forum: Fixing WordPress
In reply to: How to use Gravatar?!Thanks a lot IanD you’ve been very helpfull not only for me but for everyone out there whos trying to figure out how to do it!
Thanks again!!
Forum: Fixing WordPress
In reply to: How to use Gravatar?!Oh yeah! It worked when I put <img src=”<?php gravatar(r,60); ?>” align=”right”/> after <?php comment_author_link() ?>
But now the problem is how the gravatar is displayed. Look at my web site et https://www.pfinal.com and you’ll see what i’m talking about
Forum: Fixing WordPress
In reply to: How to use Gravatar?!Damn, all i get it error….
I’m using the MinimaPlus theme by Theron Parlin
You can found the theme here : https://www.thoughtmechanics.com/templatefiles/v2.2/download.php?get=MinimaPlus.zipForum: Fixing WordPress
In reply to: How to use Gravatar?!Ok I’ll try this and IanD, my URI is https://pfinal.com
Forum: Fixing WordPress
In reply to: Changes Not Showing Up?Press F5 to make a real-refresh of your page.
Forum: Fixing WordPress
In reply to: How to use Gravatar?!And I’ve put this code <img src=”<?php gravatar() ?>” alt=”” /> right after <$BlogCommentAuthor$> and gravatar don’t show up!
Forum: Fixing WordPress
In reply to: How to use Gravatar?!Yes i did
Forum: Fixing WordPress
In reply to: How to use Gravatar?!It’s not working. Do I have to put something between theses tags? I mean, wheres the ><
<img src=”<?php gravatar() ?>” alt=”” /></img>
Forum: Fixing WordPress
In reply to: How to use Gravatar?!Ok Ive put it like this : <$BlogCommentAuthor$><img src=”<?php gravatar() ?>” alt=”” /></img> said…
But it’s not working…
Forum: Fixing WordPress
In reply to: How to use Gravatar?!No because there is no <li class=”<?=$oddcomment;?> in my comments.php
I’m using the MinimaPlus Theme
Forum: Fixing WordPress
In reply to: How to use Gravatar?!Any ideas?
Forum: Fixing WordPress
In reply to: How to use Gravatar?!Davincim,
I do have the <li class=”<?=$oddcomment;?>” line but not the <ol class=”commentlist”> and <li class=”<?=$oddcomment;?>”
So here my complete code of comments.php :
<div id=”comments”>
<?php if ( !empty($post->post_password) && $_COOKIE[‘wp-postpass_’ . COOKIEHASH] != $post->post_password) : ?>
<?php _e(‘Enter your password to view comments.’); ?>
<?php return; endif; ?><dl id=”comments-block”>
<?php if ( comments_open() ) : ?>
<dd style=”margin: 0px; padding: 0px;”>
<p style=”margin: 0px; margin-bottom: 1em; padding: 0px;”><b><?php comments_number(__(‘No Comments’), __(‘1 Comment’), __(‘% Comments’)); ?> so far</b>
<?php else : // If there are no comments yet ?>
<?php endif; ?>
<?php if ( comments_open() ) : ?>“>Leave a comment
<?php endif; ?>
<?php if ( $comments ) : ?><?php $myvar=0; ?>
<?php foreach ($comments as $comment) : ?>
<?php $myvar++; ?>
<?php if ($myvar == 1) {$swap = “background-color: #eeeee6; padding: 5px;”;} ?>
“>
<div class=”commentBox” style=”<?php echo $swap; ?>”><?php comment_text() ?>
<p class=”post-footer” style=”margin-bottom: 0px; padding-bottom: 0px;”>By <?php comment_author_link() ?> on <?php comment_date(‘m.d.y’) ?> <?php comment_time() ?> <?php edit_comment_link(__(“e”), ”); ?>
</div><?php if ($myvar == 1) {$myvar = -1; $swap = “background-color: #e5e5e5; padding: 5px;”;} ?>
<?php endforeach; ?><?php else : // If there are no comments yet ?>
<?php endif; ?>
</dd>
</dl><div class=”right”><?php comments_rss_link(__(‘RSS feed for comments on this post.’)); ?>
<?php if ( pings_open() ) : ?>
” rel=”trackback”><?php _e(‘TrackBack URI’); ?>
<?php endif; ?>
</div>
<?php if ( comments_open() ) : ?>
<b><?php _e(‘Leave a comment’); ?></b>
<?php _e(“Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed:”); ?><?php echo allowed_tags(); ?>
<form action=”<?php echo get_settings(‘siteurl’); ?>/wp-comments-post.php” method=”post” id=”commentform”>
<input type=”text” name=”author” id=”author” class=”textarea” value=”<?php echo $comment_author; ?>” size=”15″ tabindex=”1″ />
<label for=”author”><?php _e(‘Name’); ?></label> <?php if ($req) _e(‘(required)’); ?>
<input type=”hidden” name=”comment_post_ID” value=”<?php echo $post->ID; ?>” />
<input type=”hidden” name=”redirect_to” value=”<?php echo htmlspecialchars($_SERVER[‘REQUEST_URI’]); ?>” /><input type=”text” name=”email” id=”email” value=”<?php echo $comment_author_email; ?>” size=”15″ tabindex=”2″ />
<label for=”email”><?php _e(‘E-mail’); ?></label> <?php if ($req) _e(‘(required)’); ?><input type=”text” name=”url” id=”url” value=”<?php echo $comment_author_url; ?>” size=”15″ tabindex=”3″ />
<label for=”url”><?php _e(‘URI’); ?></label><label for=”comment”><?php _e(‘Your Comment’); ?></label>
<textarea name=”comment” style=”border: 1px solid #000;” id=”comment” cols=”40″ rows=”6″ tabindex=”4″></textarea>
<input name=”submit” id=”submit” type=”submit” tabindex=”5″ value=”<?php _e(‘Say It!’); ?>” />
<?php do_action(‘comment_form’, $post->ID); ?>
</form><?php else : // Comments are closed ?>
<?php endif; ?>
</div><!– Begin #comments –>
<!– ItemPage>
<div id=”comments”><BlogItemCommentsEnabled>
<h4><$BlogItemCommentCount$> Comments:</h4>
<dl id=”comments-block”>
<BlogItemComments>
<dt class=”comment-poster” id=”c<$BlogCommentNumber$>”>“>
<$BlogCommentAuthor$> said…
</dt>
<dd class=”comment-body”><$BlogCommentBody$>
</dd>
<dd class=”comment-timestamp”>” title=”comment permalink”><$BlogCommentDateTime$>
<$BlogCommentDeleteIcon$>
</dd>
</BlogItemComments>
</dl>
<p class=”comment-timestamp”><$BlogItemCreate$>
</BlogItemCommentsEnabled>
<p class=”comment-timestamp”>
“><< Home</div>
</ItemPage –>
<!– End #comments –>