steelfrog
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Blue border around imagesIn your CSS, replace this:
#colLeft p img { padding : 8px; background : #f0f0f0; border-right : 1px solid #cccccc; border-bottom : 1px solid #cccccc; }with this:
#colLeft p img { padding : 8px; background : #f0f0f0; border: 0; }[EDIT] I missed the ‘social icons’ part. Scratch this change then. I thought you wanted to remove the border on your post images. See solution next poster has offered.
Forum: Themes and Templates
In reply to: Uploaded a New Theme to WordPress. What Next?In most cases, all you would need to do is download the theme and place it in your wp-content/themes directory. Once it’s in there, go into your control panel under the Appearance section and activate the new theme.
Forum: Fixing WordPress
In reply to: Two different sizes of thumbnailsYou can set another thumbnail. For example, if you add this to your function:
add_image_size( ‘my_thumbnail’, 50, 50, true );
You would then call that preset by using the following:
<?php the_post_thumbnail(‘my_thumbnail’); ?>
Forum: Fixing WordPress
In reply to: Header img skewedYou’re using HTML to set the image height to 89px rather than setting the height in your design application (e.g., Photoshop). The original image size does not match the image size set in your HTML.
Image size: 350px × 140px (scaled to 350px × 89px)Forum: Fixing WordPress
In reply to: header image clickableThe issue is caused by your CSS
text-indentvalue. I’m not sure exactly what you’re trying to hide, but that’s not the best way to do it.Forum: Fixing WordPress
In reply to: Pictures won’t display…On your post pages, the path to images seem to have been broken by some third-party Plugin that replaces image paths:
<img src="<!-- Include the Google Friend Connect javascript library. -->/2010/04/DSC_0631.jpg" alt="" class="full" />Forum: Fixing WordPress
In reply to: comment_reply_link() generates no output?Any other piece of code needed to help me figure out what I’m doing wrong here? I really don’t see what it could be.
Forum: Fixing WordPress
In reply to: comment_reply_link() generates no output?Yup. The JavaScript call is there and it loads. Maybe it’s something I’ve omitted in my comments callback? Here’s the code.
function steelfrog_comments($comment, $args, $depth) { $GLOBALS['comment'] = $comment; ?> <li <?php comment_class(); ?> id="li-comment-<?php comment_ID() ?>"> <div class="comment_info"> <div class="gravatar"> <?php echo get_avatar($comment,$size='50',$default='<path_to_url>' ); ?> </div> <div class="comment_poster"> <h5><?php comment_author_link(); ?></h5> <span><?php printf(__('%1$s at %2$s'), get_comment_date(), get_comment_time()) ?></span> </div> <div class="comment_options"> <ul class="options"> <li class="reply"><?php comment_reply_link(); ?></li> <li class="quote"><a href="#" title="Quote and reply this comment"><span>Quote this comment</span></a></li> <li class="link"><a href="#" title="Link to this comment"><span>Link to this comment</span></a></li> <li class="website"><a href="#" title="Website of commenter"><span>Website of commenter</span></a></li> <li class="edit"><a href="<?php echo get_edit_comment_link() ?>" title="Edit this comment"><span>Edit this comment</span></a></li> <li class="close"><a href="#" title="Toggle this comment"><span>Toggle this comment</span></a></li> </ul> </div> </div> <div class="comment_content"> <?php comment_text() ?> </div> <?php }[EDIT] Running
echo get_comment_reply_link()gets me no output either.Forum: Fixing WordPress
In reply to: comment_reply_link() generates no output?Had to double-check that one, but yes, it’s in there.
Forum: Themes and Templates
In reply to: Customized ‘edit comment’ link?Simply put, the
<span>needs to be inside the anchor as so:<a href="#"><span>Content</span></a>Forum: Themes and Templates
In reply to: Customized ‘edit comment’ link?Found the function to get the link:
<?php echo get_edit_comment_link() ?>, but now I need to find a condition that checks if the user has the right to edit the post or not so it can toggle its display.Forum: Fixing WordPress
In reply to: User-role based conditions without depracated $user_level?Marked as resolved. Thank you for your help! Much appreciated!
Forum: Fixing WordPress
In reply to: User-role based conditions without depracated $user_level?Not at all, I’m open to change. I’m just not sure how to implement the roles since I couldn’t find any proper documentation on it. I mean I could write a snippet that would allow a list of roles to display certain items, but that doesn’t seem proper should the role names change.
Forum: Fixing WordPress
In reply to: $user_level for admin account returned as 0?Thank you! I knew this had changed but I couldn’t find any proper documentation on it. Appreciate the help!
Forum: Fixing WordPress
In reply to: <pre> Tag StrippingI figured out a work-around.
Head into your Users configuration panel and enable the Rich Content Editor. Using the WYSIWYG editor, you can paste in the code without it parsing.
Guess this’ll work for now until I find a viable solution.