ZenphotoCMS Forum
Remove RSS From News Article - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Remove RSS From News Article (/thread-5725.html)



Remove RSS From News Article - ThreeDot - 2009-08-22

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.

`

`




Remove RSS From News Article - sbillard - 2009-08-23

Might help if you told us which theme you are running. Anyway, if you search your theme files for the string RSSLink you will find all the places that the link is printed. You need to remove those function calls.




Remove RSS From News Article - ThreeDot - 2009-08-23

I'm using a modified ZenPage theme. I can identify the RSSLink string but when I remove all or part of this chunk
`

`
the page breaks. I guess I'm just not sure what part exactly to delete.




Remove RSS From News Article - sbillard - 2009-08-23

Delete just the function call-nothing else.




Remove RSS From News Article - acrylian - 2009-08-23

The printZenpageRSSLink() call you posted is just one of three RSS calls in the zenpage default theme. There is one in the header (to show the icon next to the brower's address bar) and also another one on the sidebar.php page you might want to remove also.