• Hi,

    I am currently working on my wordpress theme and to be honest – I am total newbie in case of coding/styling. What I would like to do is to bring a box with comments count before the post title starts on my blog page. Here is the visualization:

    View post on imgur.com

    Currently it looks different, there is only a number of comments. I would like to put there a box and place a number on it like in the visualization above.

    Here’s the actual code:

    <div <?php post_class("clearfix"); ?>>
                                            <div class="third">
                                                <h2><?php comments_number('0 | ', '1 | ', '% | ' );?><?php the_title(); ?></h2>
                                                <div class="meta clearfix">
                                                    <h6 class="date"><?php _e('Opublikowano:','loc_canon'); ?> <?php echo mb_localize_datetime(get_the_time(get_option('date_format'))); ?></h6>
                                                    <h6 class="tags"><?php if (isset($canon_options_post['show_tags'])) the_tags("",""); ?></h6>
                                                </div>
                                            </div>

    Could you help, please?

    Thanks in advance!

    [bump removed]

The topic ‘Box with comments count’ is closed to new replies.