Does anyone know if there's an option in Sublime Text 2 (or some other editing program) where I can change content in multiple files at one time? Let's say I want to change my phone number in the footer on every page, I have to open all files, and copy past it on every single page by myself. I know WordPress or a local server is a solution, but can it be done without that?
How to change html code in multiple files at one time
Yes, it is possible but all files that need to be modified must be opened. You can do this with a text editor application that supports tab editing like Notepad++. To try it, download the latest Notepad++ and install it. The latest version at the moment is Notepad++ 7.6.3. Once installed, start Notepad++ then open all the files you need to modify.
Notepad++ will open the files in multiple tabs. Once all files are opened, in Notepad++, click “Search” then select “Replace” or press CTRL + H. In “Replace” dialog, under “Replace” tab, enter the search string in “Find what” field. In “Replace with” field, enter the new text or string. Finally, click “Replace All in All Opened Documents” to replace the word or words in all files you opened.