Send emails to your email to debug scripts that you can't see the errors for. This helps for scripts such as background scripts, API scripts, asynchronous scripts and so on.
I am currently working on my own content management system and decided I would release a little pre-installation checklist script that makes sure you have all the required functions enabled on your hosting environment and shows you what you currently have and what is required in the end. If you have all the requirements that the script requires, it shows a little button at the bottom to continue the installation, if not, an error.
You can easily change the file you want to check writing to by editing $file
It comes with some styling already and in a nice table. Enjoy and let me know how it is.
This simple function allows you to automatically generate breadcrumbs!
Notice that it is important to follow the example given as a comment
I mean:
- array(URL, TEXT, BOOLEAN) : "TRUE" makes the link active
This will generate a selection list of options for states. Pass the state that should be selected to the function and it will set that state as selected.
This is I think a cleaner way to handle generating a list of selection options. The only thing that needs to be done to add or remove a country is to modify the countries array.
The WordPress 4+ admin screens render badly in Chrome 44+, it's a Chrome bug which is being tracked but here's a little snippet to fix it in the short-term.
Simply add this snippet to your functions.php file.