I am not using RSS and would like to remove the relevant code from news.php to prevent the RSS icon and link from appearing. I am new to PHP and unsure what to remove without breaking the page.
`
<?php<br />
// single news article
if(is_NewsArticle() AND !checkforPassword()) { ?>
<?php if(getPrevNewsURL()) { ?>
<?php printPrevNewsLink(); ?>
<?php } ?>
<?php if(getNextNewsURL()) { ?>
<?php printNextNewsLink(); ?>
<?php } ?>
<?php if(getPrevNewsURL() OR getNextNewsURL()) { ?>
<?php } ?>
<?php printNewsTitle(); ?>
<?php printNewsDate();?>
<?php printNewsContent(); ?>
<?php<br />
// COMMENTS TEST
if (function_exists('printCommentForm')) { ?>
<?php printZenpageRSSLink("Comments-news","","",gettext("Subscribe to comments")); } // comments allowed - end<br />
} else {
echo "
";
// news article loop
while (next_news()): ;?>
<?php printNewsTitleLink(); ?>
<?php printNewsDate();?>
<?php printNewsContent(); ?>
<?php printCodeblock(1); ?>
<?php<br />
endwhile;
printNewsPageListWithNav(gettext('next »'), gettext('« prev'),true,pagelist);
} ?>
`
Comments
`
<?php<br />
// COMMENTS TEST
if (function_exists('printCommentForm')) { ?>
<?php printZenpageRSSLink("Comments-news","","",gettext("Subscribe to comments")); } // comments allowed - end<br />
} else {
echo "
";
// news article loop
while (next_news()): ;?>
`
the page breaks. I guess I'm just not sure what part exactly to delete.