DerekKnox
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Custom Index.php Invalidates RSS FeedsWC3 Feed Validator does the same thing (for feeds as opposed to web pages). My issue is obviously that the feed has web page elements.
I thought of possibly implementing that approach and may eventually resort to it. I am aware of Word pasting its formating, but was unaware that some of my posts contain this, I’m assuming they’re from older posts when I may have originally written the post in word. Thanks again for your help.
Forum: Fixing WordPress
In reply to: Custom Index.php Invalidates RSS FeedsAnd my RSS url now is shows the difference
Forum: Fixing WordPress
In reply to: Custom Index.php Invalidates RSS FeedsThe site is my own hosted site, and I’m using wordpress for the blog section of my site titles “lab” hence the (derekknox.com/lab) url.
I just changed the
<?php require('./wp-blog-header.php'); ?>To the first line of my index.php file. It now validates this part, but the excess html makes the RSS invalid. Check here and let me know what you think (thanks for the help by the way!)…
Forum: Fixing WordPress
In reply to: Custom Index.php Invalidates RSS FeedsWordPress states in Integrating WordPress with your website to the code
<?php /* Short and sweet */ define('WP_USE_THEMES', false); require('./wp-blog-header.php'); ?>or
<?php require('./wp-blog-header.php'); ?>where both basically state that WordPress is not to use any themes (‘WP_USE_THEMES’, false).
Forum: Fixing WordPress
In reply to: Custom Index.php Invalidates RSS FeedsNo, this is the (require code)
<?php require('./wp-blog-header.php'); ?>The next place I’m using php is in the body tag to populate the body with my wordpress posts.