Return to Support

unable to overwrite cateogry.php with child theme

Home Forums Graphene WordPress theme Support unable to overwrite cateogry.php with child theme

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #646
    bill316
    Member

    Hi there!

    I would like to remove

    <h1 class="page-title">
    <?php
    printf(__('Category Archive: <span>%s</span>', 'graphene'), single_cat_title('', false));
    ?>
    </h1>

    from category.php using my child theme. For some reason, The category.php file is not showing up when I view the theme files with the built-in editor.

    I made an exact copy of the file from the original theme and placed it in the child theme folder.

    any ideas?

    #13150
    Syahir Hakim
    Keymaster

    Just create an empty category.php file in your child theme folder.

    #13151
    Numbers
    Member

    I created an empty one, i tried to do it a few times and no good, although i am not a code expert.

    #13152
    tommyz
    Member

    You know, I create a new one with the modified code and it doesn’t work. A hint might be the fact that the theme editor doesn’t show category.php when the child theme is selected.

    #13153
    Syahir Hakim
    Keymaster

    I just tried it and it works…

    What’s your website URL so I can take a look?

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.