Remote Editing, which cache file? (4 posts)

  1. flipper52
    Posted 10 years ago #

    Not used to php stuff, but I've edited SGML, XML< html...in text editors for a while. So, I grabbed my "Blog" directory using ftp, opened a ton of files in a text editor, finally did a search in the entire directory for a phrase that appears once in the entire directory's contens, and found ten instances... All in cache files with 24 bloody digits...whatever happened to index.blahblah?

    How is one supposed to do offline text/template editing of actual text, with so many cache files being the only possible sources of the output?

    I edited some bl;loated images from templates, externally, ftp'd them up to the web hosting, hit refresh, no problem. What gives with the text equivalent?

  2. moshu
    Posted 10 years ago #

    You mean you want to edit your theme?
    It's in wp-content/themes/theme-name folder. All the template files that make up a theme should be in a theme folder. WP comes shipped with 2 themes: classic and default.

  3. flipper52
    Posted 10 years ago #

    Not exactly what I was thinking of. I already altered the theme. I want to work offline, on my site. So I need to be able to edit and then upload editied files. Editing the theme is easy, but the actual content [links, posts, text in other words,not structure] is loaded by browsers, from which file?

    I see 6 caches with meta files.

    In a straight-up XHTML site, normally there will be a single, root-level index.html, but it doesn't appear that way in WordPress. There are empty index.php files all over the place. Seems redundant, but, whatever.

    Let me put it this way: When a browser parses the root page of the blog, which exact file is it accessing to display the content?

    Also, is there a way to convert the entire site to Strict rather than the default transitional? I tried a global search/replace, and it still shows up as Transitional when checking refreshed Source, online.


  4. moshu
    Posted 10 years ago #

    First of all there seem to be a fundamental misconception: all the content - posts, setting, comments etc. - is stored in the database, not in files. You cannot edit those "offline".
    Actually, there is a way, but it's too much headache: you will have to have a local install of the whole blog, and after making edits to export/import the database from your box to the online blog. I don't think it's worth...

    When you see your blog it is displayed through the index.php file of your active theme (which also calls for all the other template files for that theme).
    If you need to visualize it, go to my visual anatomy of a theme.
    The header.php of the theme contains the data about strict or transitional...

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.