Post in Categories (5 posts)

  1. reddoormedia
    Posted 2 years ago #

    I have a blog going using the category events. I have Events in my top menu in the site that takes you to the blog. Once you arrive on the landing page you see the title Post in Category: Events

    Is it possible to just have the title: Events
    and not Posts in Category: Events


  2. Sarathlal N
    Posted 2 years ago #

    That depend with your theme.

    In almost WordPress theme, there is a category.php file to display category archive.

    First make a child theme for your theme & then copy that category.php file from parent theme in to child theme.

    Then edit header section of category.php file in your child theme.

  3. reddoormedia
    Posted 2 years ago #

    this is the code for category.php. Where do I make the edit?



    $cat_layout = axiom_option('blog_category_page_layout') == 'medium'?'land':'';
    $cat_sidebar = axiom_option('blog_category_sidebar_position') == ''?'right-sidebar':axiom_option('blog_category_sidebar_position');
    <div id="main" class="list-post <?php echo $cat_layout.' '.$cat_sidebar; ?> ">
    <div class="wrapper fold clearfix">

    <section id="primary" >
    <div class="content" role="main" >

    <?php get_template_part('inc/loop', "post" ); ?>

    </div><!-- end content -->
    </section><!-- end primary -->

    <?php get_sidebar(); ?>

    </div><!-- end main -->

    <?php get_sidebar('footer'); ?>
    <?php get_footer(); ?>

  4. _SSS
    Posted 2 years ago #

    Hi reddoormedia ,
    In all WordPress theme, there is a category.php file to display category archive.so can edit or inspect that file or your page i.e http://francesperkinscenter.org/?cat=3 and remove Post in category & save that file you can get your answer

  5. _SSS
    Posted 2 years ago #

    In this file you have call only function you need to check the where the post come from. means which function is that call your post. i think
    <?php get_template_part('inc/loop', "post" ); ?>
    u need to check out once . or in your page its under the class
    <Body class="category-events">
    --- here is some code ---
    then <h1 class="page-title" itemprop="headline">
    //You need to remove this Posts in category : Events
    </body >

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.