This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

How best to remove comment reference in the sitemap template?

  • Creator
  • #13714
    Mark Regov

    I could simply remove – (comment_count ?>) from a content-template_sitemap.php file in my child folder. But I am guessing you have a more elegant way to accomplish this without copying php files over to the child folder.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
  • #13719
    Jason Bobich

    Hello Mark,

    This is exactly what I would do if I were you. This is why I move the content of the sitemap to a file content-template_sitemap.php — So you can edit this from your child theme, opposed to having to copy the entire page template file (i.e. template_sitemap.php), which can go through changes if we ever change the overall HTML markup of the theme.

    Mark Regov

    Thanks once again!

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