• Resolved raizaduran

    (@raizaduran)


    Hi,

    When I post any blog and assign it to different categories, the list of categories shows at the top of the blog content and the toolbar shows posted by and the date the blog was posted.

    Help needed:
    1. Can I remove that section, which mentions all the categories that blog falls under
    2. Can I remove the toolbar which says, this blog was posted by “author name” and on date “the date blog was created”

    3. There is a comment icon also, which shows how many comments has been done on that specific blog. When I will remove the list of categories section; that entire block should be removed including that comment icon.

    Please help.

    Here is the screenshot to explain my query in a better way.

    https://www.dropbox.com/s/h4v8nycwabjfujm/huemanthemeedit.PNG

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi!

    Thanks for that image, makes it easy to understand.

    Remove the following lines from single.php with a child theme:

    <?php get_template_part('inc/page-title'); ?>

    And:

    <p class="post-byline"><?php _e('by','hueman'); ?> <?php the_author_posts_link(); ?> &middot; <?php the_time(get_option('date_format')); ?></p>

    And there you go!

    Thread Starter raizaduran

    (@raizaduran)

    wow so cool!!

    Thank you so much..

    You have always been a great help.

    Sorry for bumping an old thread, but I’m curious what exactly the code would be to make this work as I am interested as well

    Thread Starter raizaduran

    (@raizaduran)

    hi rffnralk,

    you won’t need to put a new code. All you need to remove the line of code mentioned by Alex from single.php file.

    what if I wanted to deactivate the line via a child theme?

    I did what you suggested for the time being and worked thanks!

    Ashish-Christian

    (@ashish-christian)

    Thanks Alex…!!

    ————————————————
    Hi!

    Thanks for that image, makes it easy to understand.

    Remove the following lines from single.php with a child theme:

    <?php get_template_part(‘inc/page-title’); ?>

    And:

    <p class=”post-byline”><?php _e(‘by’,’hueman’); ?> <?php the_author_posts_link(); ?> · <?php the_time(get_option(‘date_format’)); ?></p>

    And there you go!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Exclude Categories and Toolbar from a post’ is closed to new replies.