Using OOP in themes

I see a lot of plugins making use of object-oriented coding when there isn’t really necessary. But what’s even worse is that theme developers are starting to do the same thing. Commercial themes and free popular themes like Suffusion, even my favorite theme – Hybrid, stuff all their functions inside a class, instantiate it once … Read more

Remove JSON API links in header html

Does anyone know how to remove the WordPress JSON API links in the header tag? <head> … <link rel=”https://api.w.org/” href=”http://example.com/wp-json/” /> <link rel=”alternate” type=”application/json+oembed” href=”http://example.com/wp-json/oembed/1.0/embed?url=…” /> <link rel=”alternate” type=”text/xml+oembed” href=”http://example.com/wp-json/oembed/1.0/embed?url=…” /> </head> I’d like to avoid using a plugin. If possible, is there a way to remove them with the remove_action function? remove_action( ‘wp_head’, ‘rsd_link’ … Read more

Opinions and recommendations on the best barebones base theme [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for … Read more

to perform the requested action wordpress needs to access your web server. please enter your ftp

I’m following Changing File Permissions « WordPress Codex, yet when I’m try to update and/or install plugin and/or theme through wp-admin, I’m getting following: To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web … Read more

WordPress frameworks and parent themes [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for … Read more

Tips for using WordPress as a CMS? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for … Read more