Customise the_title in admin area

I’d leave the public-facing titles (the_title()) alone so you don’t have to mess with filtering things if you change plugins or themes. Adding postmeta is not a big deal, and it’s not hard to maintain/sustain. It also will not get removed/overwritten with updates. The biggest benefit here is that if you forget to add a … Read more

Set featured image on creating new post

Ok, it’s my fault. I’ve installed a “blank”-theme to have a blank frontend (because I only use the API) – but I didn’t realize that a theme changes something in the Admin Frontend. By adding this to the functions.php I re-enabled the box: add_theme_support(‘post-thumbnails’);

Disabling WP-Admin Caching in htaccess

Your hoster is wrong. no logged in user should be cached, admin side or not. This is not just an annoyance type of issue, it is an actual security problem that might cause the disclose of your passwords. Just remove the last caching line from your htaccess, it is unlikely to do you any good … Read more

Options site set empty fields after submitting

A few things to note in your code: Two inputs share the same name of “email”, so when those values get sent in the form submission, the second one will overwrite the first. The input name attribute value should match the name of the option being saved. Instead of “email”, use “fhwtest_email”. Without that, the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)