• Hello,

    what’s wrong with the following script:

    <div class="cat">Categorie: <?php the_category(', ') . " " . the_tags(__('Tags: '), ', ', ' | ') . comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')) . edit_post_link(__('Edit'), ' | '); ?></div>

    because the category and reactions are not seperated. They are locked together.

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try:

    <div class="cat">Categorie: <?php the_category(', ') . " " . the_tags(__('Tags: '), ', ', ', ' | ') . comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')) . edit_post_link(__('Edit'), ' | '); ?></div>

    If you break it apart like this you can arrange each piece that is <?php function(); ?> and put br tags or whatever you need between.

    <div class="cat">
    Categorie: <?php the_category(', '); ?>
    
    <?php the_tags(__('Tags: '), ', ', ' | '); ?>
    
    <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
    
    <?php edit_post_link(__('Edit'), ' | '); ?>
    </div>
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘No space between category and reactions’ is closed to new replies.