Your site does have an RSS feed but it is currently invalid due to three blank lines at the top of the generated feed file. Try checking the theme’s header.php and functions.php files and remove any leading blank lines before the opening <?php
Thread Starter
Venesa
(@venesa)
I can see the 3 lines you mentioned when in view source. So I have checked those two php files you mentioned and some others and not found any leading blank lines before the opening <?php.
Where can this be coming from? What occurs before the ‘get_header’?
I changed to the wp classic theme to see if it srill occurs. It does not occur. The code coreeclty starts on the first line. There is no change in the code lines data except that there are no blank lines.
Not sure what to look for next. Any ideas?
Appreciate your help. Thanks.
Thread Starter
Venesa
(@venesa)
I found space at the end the last line of the footer (not the header) after </html> and that has deleted those threee lines but the RSS feed is still not working.
Any ideas?
Thread Starter
Venesa
(@venesa)
Okay it is working now. Not sure why. Maybe it just needed some time to reset itself.
Thanks for the suggestion.
I did not know that extra lines or spaces would affect the the theme. Does anyone know what is acceptable in coding as many programmers add lots of lines, spaces and tabs, other cram it up and you cannot write it very well.
Again I do appreciate your help. Cheers.
Normally blank lines aren’t an issue within a script or template file. It’s the leading (before the initial opening <?php) or trailing (after the final closing ?>) that can cause problems.