signalnorth
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Line Property ConfusionSolved it, added this to the first CSS line:
float:left!importantForum: Plugins
In reply to: Install a .HTC file?The problem is it does’t render correctly in WP though if you put it inside the theme.
For example, I have it working here: https://lucaswynne.com/ in the class .count – that class creates a circle around the number of comments display in the upper right hand corner of each excerpt. But instead it just disappears in IE.
Forum: Hacks
In reply to: The WP Mystery Code!That code isn’t doing much to help. If I use this though:
<?php query_posts('posts_per_page='); if ( have_posts() ) : while (have_posts()) : the_post(); ?>
I get posts, but it’s now repeating the posts instead of showing the previous posts like it should be.
Forum: Hacks
In reply to: The WP Mystery Code!Ok, I have it showing as many as I want now – but still the error on the second page.
Forum: Hacks
In reply to: The WP Mystery Code!I think that may be the solution. But for some reason it only wants to show one post now, even though I have 5 in the category and have assigned the category. Hmm. Any ideas?
I’m using 3.0.3.
Forum: Plugins
In reply to: CSS3 for IE?Anybody?
Forum: Themes and Templates
In reply to: How to recognize images!?You, good sir, are a miracle worker. If there was a like button I would click it vigorously.
Forum: Themes and Templates
In reply to: How to recognize images!?Min-height makes it bigger when there’s no image too though. Anybody!? Help! HELLLLLP! (Slightly dramatic, but expresses my dismay)
Forum: Hacks
In reply to: Fetching Thumbnails – Easily Solved PHP Hack, Need Help!Thanks, it worked!
Forum: Hacks
In reply to: Show user profile fields on pageUse the same function you would use to get the name of an author for a post is what I’d do.
Forum: Themes and Templates
In reply to: Inline Paragraph BreaksPost example page: https://lucaswynne.com/?p=62
When I take that image out the paragraph is 4 less pixels down the page. I can’t figure it out.
Forum: Hacks
In reply to: Fetching Thumbnails – Easily Solved PHP Hack, Need Help!This is what I have…
function catch_that_image() { global $post, $posts; $first_img = ''; ob_start(); ob_end_clean(); $output = preg_match_all('/<img.+src=[\'"]([^\'"]+)[\'"].*>/i', $post->post_content, $matches); $first_img = $matches [1] [0]; if(empty($first_img)){ //Defines a default image $first_img = ' '; } return $first_img; }
And in the index it does not work with the original code and does not work with the code provided. :-S
Forum: Themes and Templates
In reply to: Inline Paragraph BreaksThat is one issue. Just another way of attacking it.
Forum: Themes and Templates
In reply to: Inline Paragraph BreaksOr somebody could help me fix my other issues.
When I display block everything aligns just fine. But then when I put a right or left aligned image at the top of the post the margin on the paragraph moves down an additional 4 pixels. I’m picky on pixel-perfect. Of course, this only happens when the image is at the top of the post The following circumstances produce this problem:
Paragraph CSS:
#single_wrap p { color:#525252; font-size:14px; line-height:30px; margin:0px 0 12px 0!important; display:block }
Images CSS;
#single_wrap img { border:0px; background:#E6E6E6; max-width:660px } #single_wrap p img { } /* Images */ .aligncenter { margin:20px auto -8px auto!important } .alignleft { display:inline; float:left; margin:10px 15px 7px 0 } .alignright { display:block; float:right; margin:10px 0px 7px 15px }
Forum: Hacks
In reply to: Fetching Thumbnails – Easily Solved PHP Hack, Need Help!This is the code I’m using
<a href="<?php the_permalink() ?>"><img src="<?php echo catch_that_image() ?>" class="index" alt="<?php the_title(); ?>" title="<?php the_title(); ?>, <?php comments_number('No comments','One comment','% comments'); ?>" /></a>
That last code still doesn’t do what I’d like it to.