CSS
-Tricks
treehouse :
what would you like to learn today?
Web Design
Web Development
iOS Development
Show search box
Search
Search in:
All
Articles
Forums
Snippets
Videos
✕
Home
Forums
Snippets
Gallery
Videos
Almanac
Demos
Lodge
Navigation 'n' Search
Forums
Illustration by Nick Sirotich
Forums
»
PHP Problems
Textmate Action/Script with Wordpress header.php & style.css
lollielala
Permalink to comment
#
July 2012
Hi,
I'm working with Mamp, Wordpress & Textmate.
Would like to update 2 files at once.
When making edits & saving (press ⌘+s) in my style.css file,
I'd like to rename the link in eg. href="/css/style.css?v=1234567" in header.php file by appending a incremental higher number & also renaming the style.css file
I like the idea of
Version Control with Cachebusting ...
but I'm not sure how to do this as an all in 1 action type of thing...
Any suggestions?
- Does anyone understand the question (:
lollielala
Permalink to comment
#
July 2012
Hey folks, any suggestions?
Add a Comment
I'm working with Mamp, Wordpress & Textmate.
Would like to update 2 files at once.
When making edits & saving (press ⌘+s) in my style.css file,
I'd like to rename the link in eg. href="/css/style.css?v=1234567" in header.php file by appending a incremental higher number & also renaming the style.css file
I like the idea of Version Control with Cachebusting ... but I'm not sure how to do this as an all in 1 action type of thing...
Any suggestions?
- Does anyone understand the question (: