tompic823
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: W3 Total Cache] "Replace site's hostname" not working for subdomainsI have resolved this issue. I modified the w3_get_home_url() function in inc/define.php in the w3-total-cache plugins folder. You can see below that I added a line to set the home_url variable equal to the get_home_url() WordPress function (line 3), essentially treating my setup as if it’s a multisite setup. These instructions should be sufficient should anyone else experience this issue with this unique setup.
function w3_get_home_url() { static $home_url = null; $home_url = get_home_url(); if ($home_url === null) { $config = w3_instance('W3_Config'); if (w3_is_multisite() && $config->get_boolean('common.force_master')) { $home_url = get_home_url(); } else { // get_option is unusable here, it can cause problem when objCache isn't yet initialized // Which is why we save the 'home' option in our ConfigCache // We don't just use $config->get_string, because we want the cache to rebuild // when 'wordpress.home' is not (yet) present $home_url = $config->get_cache_option('wordpress.home'); $home_url = rtrim($home_url, '/'); } } return $home_url; }
Forum: Plugins
In reply to: [Plugin: W3 Total Cache] "Replace site's hostname" not working for subdomainsAnyone have any insight into this?
Forum: Fixing WordPress
In reply to: how to start making money with my blogWay to go on commenting on a topic that’s been dead for 8 months.
Forum: Fixing WordPress
In reply to: Resizing Comment BoxFixed the error by upgrading my version of the Theme. Thanks Peter!
Forum: Fixing WordPress
In reply to: Resizing Comment BoxBump. Any help would be greatly appreciated.
Forum: Fixing WordPress
In reply to: Resizing Comment BoxI checked styles.css but I’m not really sure what I’m looking for.
Forum: Fixing WordPress
In reply to: Resizing Comment BoxThanks for the suggestions but as you can see from my first post, I don’t have the “cols” in the commentbox line. I used the developer toolbar and it points to styles.css so I’ll take a look and see what I can do. I’ll report back with my finding. Thanks again!