• Thanks for the theme WP Radcliffe!

    I want to add a list of categories and tags in the block “post-meta-top” on the main page by the file content.php, but as a result it did not correctly displayed .

    Can you tell me how should i add the category and tags correctly?

    Code in content.php:

    ” title=”<?php the_title(); ?>” class=”post-header section medium-padding”>

    <div class=”post-meta-top”>

    <?php the_time(get_option(‘date_format’)); ?>

    <?php the_category(‘, ‘); ?>

    </div>

    <h2 class=”post-title”><?php the_title(); ?></h2>

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Anders Norén

    (@anlino)

    Hi dmitry,

    It’s hard to say for sure without seeing the site in question, but I’d guess that it’s because the post-meta-top section doesn’t have any code to account for link elements. If you’ll send me a link to the site, I’ll take a look at it and make sure.

    — Anders

    Thread Starter Dmitry Kovalev

    (@dmitrykavalev)

    hi Anderes!

    thank you for attention
    here you can check the site https://testing.sgustokstudio.com

    as i told earlier i just added <?php the_category(', '); ?> at this box <div class="post-meta-top">... </div> in file content.php

    thank you for your help

    Thread Starter Dmitry Kovalev

    (@dmitrykavalev)

    at the box div “post-meta-top” duplicate unnecessary link on the post:

    <div class="post-meta-top">
    <a href="https://testing.sgustokstudio.com/?p=4">September 3, 2014</a>
    <a href="https://testing.sgustokstudio.com/?cat=2">Category 1</a>,
    <a href="https://testing.sgustokstudio.com/?cat=1" rel="category">Uncategorized</a>
    </div>

    what should i do this link do not add at the box?
    thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add Category’ is closed to new replies.