As a developer I get tons of people/clients delivering bugs/issues. There are some default things, every developer will ask you, right of the bat before he/she will even look at it.
Since I've been answering this question so many times already, I thought I'd write a short list of things every (proper) developer should ask so I can point people to it, instead of answering the question.
Finding an error in your Wordpress(.org) site, can sometimes be a pain in the ass. That's why I wanted to write somewhat of a step by step plan on how to find the error.
I'm a big fan of Timber, a Wordpress plugin which renders Symfony's templating language Twig into php code.
If you use Timber you can now render all your output in a Twig file, instead of having to echo the logic and all elements in a the (php) widget file, which makes for cleaner template files.
If you are like me, you love the Yoast SEO plugin; one of the, if not the, most popular plugin for Wordpress.
One of its features is to exclude pages from the sitemap. You can do this by going to the 'Excluded posts' tab in Yoast's SEO settings or you can do it dynamically.
If you use the plugin Advanced Custom Fields a lot, like I do you're bound to run into some sort of limitation.
My problem (and so it seems, not just mine) was related to taxonomy and conditional logic. While building a site with profiles (with the use of an ACF form), I had a form where profile info had to be entered. For sex I had created a taxonomy, so I added it as a taxonomy field.
If you're like me, you love Advanced Custom Fields, for which I use the Pro version. I use it 99% of my projects because it's just one of the best plugins to create custom meta fields for all sorts of post types and terms.