Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

talk2ameya on "Facebook like button on homepage not expanding after click"

$
0
0

My website

I've put up the facebook like button (manually through code) beside the post date and comment count on the posts that are displayed on the homepage.

The button works perfectly, but when I click on it, it is ideally supposed to expand down fully to give me the option to add some text and post on facebook.

In my case, it expands, but only till the width of the button.
(You'll have to visit my site and see to understand what I'm talking about)

How do I get it to expand properly?

Here's my code in content.php:

<div class="entry-meta">
<?php hemingway_rewritten_posted_on(); ?>

<?php if ( ! post_password_required() && ( comments_open() || '0' != get_comments_number() ) ) : ?>

<span class="comments-link"><span class="sep"> / </span>

<a href="<?php echo get_permalink($post->ID); ?>#fbcomments">
<fb:comments-count href="<?php echo get_permalink($post->ID); ?>">    </fb:comments-count>&nbsp;comments </a>

</span> <span class="sep"> / </span>

<fb:like href="<?php the_permalink() ?>" width="300" layout="button_count" action="like" show_faces="false" share="false"></fb:like>

<?php endif; ?>

<?php edit_post_link( __( 'Edit', 'hemingway-rewritten' ), '<span class="edit-link"><span class="sep"> / </span>', '</span>' ); ?>

</div><!-- .entry-meta -->

Viewing all articles
Browse latest Browse all 8245

Trending Articles