• Hi there

    Hi guys. I am new to these forums, so hi! Sorry if I put this in the wrong forum…

    I am currently in the process of developing a WordPress theme for my rugby club. The site is hosted on a rather slow shared server, so I have been reading a lot about how to optimize WordPress themes to speed them up. I was wondering the following:

    1. Does each bloginfo() call represent a separate SQL query?
    2. A lot of the websites I have been reading recommend turning unnecessary dynamic code into HTML, things like title etc. Now it is unlikely that these things will change often, but I *would* like to give my committee the option of changing it, but I was wondering about writing blog settings into a flat file using either serialize/unserialize or json_encode/json_decode or something along those lines rather than into the database, then load them once at the start of the theme and call them from variables. Could somebody with a better understanding of PHP/Mysql comment on whether that is likely to make any improves than all these separate SQL queries?

The topic ‘Storing theme settings’ is closed to new replies.