michaelhyatt
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Big Space Before TablesBy the way, here is what the source HTML looks like:
[Mod Note: Code segment removed. If you want to post large blocks of code, please use a pastebin (Alternate URL).]
Forum: Fixing WordPress
In reply to: How to Include One Tag While Excluding AnotherAndrew, you win the prize. That works! Awesome. Thank you so much.
(I would have never come up with that on my own.)
Forum: Fixing WordPress
In reply to: How to Include One Tag While Excluding AnotherI probably have 50 quotes, but it is growing every week. Thanks for your offer!
Forum: Fixing WordPress
In reply to: How to Include One Tag While Excluding AnotherI looked at that but, unfortunately, am not smart enough to actually translate it into the exact code snippet I need. If anyone can do that, I am in your debt!
Forum: Fixing WordPress
In reply to: How to Include One Tag While Excluding AnotherNot quite sure how I integrate that, but the logic makes sense.
Forum: Fixing WordPress
In reply to: How to Include One Tag While Excluding AnotherI just wish I wasn’t such a hack!
Forum: Fixing WordPress
In reply to: How to Include One Tag While Excluding AnotherI tried this previously and it did not work. The problem is that these posts have two tags: Quote and Long. In another place on my blog, I collect all the Quotes whether they are long or short. So the Long tag is an additional tag.
Thanks for your help.
Forum: Fixing WordPress
In reply to: Problem with comments_number functionI deactivated the IntenseDebate plugin and it worked. However, it appears that comments_number gets the correct number of comments. It is the IntenseDebate comment count that is off. It appears that it isn’t syncing correctly.
I’ll keep working on it. I have also posted a question in the ID forum.
Thanks.
Forum: Fixing WordPress
In reply to: Add Comment Count to Post TitleHere’s a pretty cool tutorial on how to do this.
Forum: Fixing WordPress
In reply to: Add Comment Count to Post TitleOkay, cool. Thanks.
Forum: Fixing WordPress
In reply to: Add Comment Count to Post Titlemisternifty,
comments_popup_link seems to get the correct number of comments when using IntenseDebate. However, there doesn’t appear to be the equivalent get_comments_popup_link. As a result, if I try to use it, it produces “Comments (23)”. I can’t seem to get JUST the number, like I can with get_comments_number.
Do you or does anyone else have a workaround?
If possible, I’d really lik the number to reflect the actual number of comments in Intense Debate for the particular post.
Thanks.
Forum: Fixing WordPress
In reply to: Add Comment Count to Post TitleShane,
Thanks. But I am not looking for a badge of the total comments for all posts. I just want the comments for the individual post. I think that what misternifty has given me does the trick.
Thanks,
Mike
Forum: Fixing WordPress
In reply to: Add Comment Count to Post TitleMisternifty’s solution totally worked. Thanks so much!
Forum: Fixing WordPress
In reply to: Add Comment Count to Post TitleThat didn’t quite work either. It is still over-writing. You can see it here: https://tr.im/t08b
Forum: Fixing WordPress
In reply to: Creating an IF-THEN condition within The LoopBrian Fegter of MisterNifty.com provided the solution. Here is the working code:
<?php get_header(); ?> <?php query_posts($query_string . "&showposts=20"); ?> <?php while (have_posts()) : the_post(); ?> <?php $external_link = get_post_meta($post->ID, 'external_link', true); ?> <div class="post"> <div class="p-head"> <p class="p-date"><?php the_time('l, F j, Y') ?></p> <?php if(!$external_link): ?> <h1><?php the_title(); ?></h1> <?php else: ?> <h1><a href="<?php echo $external_link; ?>" target="_blank"><?php the_title(); ?></a></h1> <?php endif; ?> </div> <div class="p-con"> <?php the_content(); ?> </div> <?php the_tags('Resource:  ',', '); ?> </div> <?php endwhile; ?> <?php include("nav.php"); ?> <?php get_footer(); ?>