Modify PHP in a child theme

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9135
    Modify PHP in a child theme 2Mark
    Participant

    I want to be able to add some css ( { display:none;}) so that the word ‘comments’ and the associated comment count does not show in the site map for the canvas theme under the heading Posts per category.

    I had initial looked at doing this through css but have succeeded with the following. If I copy the appropriate php template from my main theme and put it into my child theme folder and modify the php in this then all is good. Is this a good way to do it?

    #9138
    Modify PHP in a child theme 3Jamie Marsland
    Keymaster

    Hi Mark,

    Yes that sounds like it should work,

    Jamie

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Scroll to Top