When I recently was asked to make a WordPress site for a client, I thought it would be really easy, but it's turning out really difficult. Partly, because I'm new to web development, but also because two things didn't work as expected, and it really throws me.
Firstly I found the codex difficult to read, that probably is my own fault.
Secondly, nothing seems to be object oriented. Wouldn't this make it easier to code something?
For example, making a new post should be something like:
$custom_post = new post($settings); //you could even have a loading an old post option. $custom_post->add_new_meta($metaname,$metavalue); echo $custom_post->get_meta();
Or we could extend the post class to make a custom post type, even.
If there is a good reason, then please explain, because, as a novice, I am obviously a little out of my comfort zone.
Thank you for reading!