• Resolved kr4ft3r

    (@kr4ft3r)


    Hello. I am aware that inactive themes cannot be changed via wordpress admin options, but I expected direct changes to theme files uploaded via ftp to work (changes on inactive theme are not visible on page using that theme), yet it seems Jonradio keeps using some cached version of template rather that read from files I edited. Is this true?
    What I tried is changing header file of theme (and afterwards several other files) to write page title on place of blog title, afterwards I was adding debug outputs at several places but no changes were visible, ever. Then I tried editing files using WordPress builting theme file editor, and this didn’t cause any change either, well one time it DID alter the template on pressing the save button, which is confusing me most, but I tried many more times and it just didn’t work.
    So, is it true that plugin is using some cached version of template and doesn’t read from files, and are there by any chance any workarounds?

    https://www.ads-software.com/plugins/jonradio-multiple-themes/

Viewing 7 replies - 1 through 7 (of 7 total)
  • The only caching that the plugin does is avoid repeated determinations of what Theme to use. As a given URL is being rendered (HTML generated and sent to your browser), it determines what Theme to use the first time it intervenes, then just returns that cached value. Even if you hit the Refresh button on your browser, it will again determine what Theme to use the first time it intervenes.

    But there is a lot of Caching going on within WordPress itself. And most WordPress sites have a Caching plugin installed.

    To say things another way, my plugin tells WordPress what Theme to use; it is up to WordPress to go get that Theme.

    I have never tried what you are doing. I always edit Themes on my local computer workstation, uninstall the old copy of the Theme in WordPress, then FTP or Upload (in the Install Themes Admin panel) the updated Theme to the /wp-content/themes/ folder.

    I always edit Themes on my local computer workstation, uninstall the old copy of the Theme in WordPress, then FTP or Upload (in the Install Themes Admin panel) the updated Theme to the /wp-content/themes/ folder.

    I should add that, for some Caching Plugins I’ve seen, even doing that might still require you to manually refresh the Cache through the Caching Plugin’s Settings Admin panel.

    Thread Starter kr4ft3r

    (@kr4ft3r)

    There is absolutely no caching plugin installed. Yet for some reason theme never updates to match what is in theme files.

    I’ll put together some “Test Cases” on my Test Systems and see if I can re-create the problem. I’ll report back here with whatever I find out.

    In another support post, you talk about a BuddyPress-related plugin. My plugin does not work with BuddyPress, though this is not the kind of behaviour that should occur if you are using it.

    I did some testing with the built-in Theme Editor on the WordPress Admin panels. It works for me on an alternate theme with my plugin activated.

    But it is tricky to use, and it fooled me into editing the wrong Theme the first time I used it.

    From the Admin panels, Appearance-Editor:

    1. From the drop-down list on the right, choose the Theme you want to edit;
    2. Click the SELECT button right beside the drop-down list — that is what I forgot to do;
    3. Wait for the list of Theme files to refresh
    4. Click on the file name you want to edit
    5. Wait for the file content to refresh
    6. Make your changes
    7. Click on the Update Files button

    If that is not your problem, I would suggest setting WP_DEBUG to TRUE in your wp-config.php file to see if you are getting some errors during any of these steps, especially after the Update Files button, which would indicate Permissions issues.

    The usual Warning: setting WP_DEBUG to TRUE on a live web site can corrupt your web site pages if any plugins or themes are generating warning messages.

    Thread Starter kr4ft3r

    (@kr4ft3r)

    Sorry, it seems to be alternate theme issue. It was Tonal theme, I changed to another one and it works fine.

    Good know, thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Can't edit alternate (inactive) theme with notepad’ is closed to new replies.