BuddyBoss Home – Web Support Forums Solutions Social Learner Feature request: display blog categories and tags in header

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Question

    #42425

    Anonymous
    @

    see image as example

    Answers

    #42674
    @vapvarun

    Hi @nmschaller, you can add this after line 108 inside the single.php of the child theme.

    
    <span class="category-link fa fa-folder">
                    <?php the_category(', '); ?>            </span>
                              <?php if (get_the_tags()){ ?> <span class="tag-link fa fa-tag">
                    <?php the_tags(); ?>            </span> <?php } ?>
                            </div>
    

    And add following css in custom css

    
    .tag-link , .category-link{ margin-left: 35px; margin-top: 10px;    margin-bottom: 10px;    color: #fff;}
    .tag-link a , .category-link a { 
    color: #fff;
    font-weight: 700;
    }
    
    .tag-link a:hover , .category-link a:hover {  
      color: #fff;
      opacity: .8;
    }
    

    I have also attached how it will display

    Regards
    Varun Dubey

Viewing 2 posts - 1 through 2 (of 2 total)
  • The question ‘Feature request: display blog categories and tags in header’ is closed to new replies.