| bio | website | craigfreeman.net |
|---|---|---|
| location | Denver, CO | |
| age | ||
| visits | member for | 1 year, 3 months |
| seen | May 13 at 22:18 | |
| stats | profile views | 2 |
|
Dec 14 |
awarded | Popular Question |
|
Aug 27 |
accepted | How do I add version control to my workflow? |
|
Aug 2 |
awarded | Commentator |
|
Aug 2 |
awarded | Scholar |
|
Aug 2 |
accepted | Enqueue styles after a plugin |
|
Aug 2 |
comment |
Enqueue styles after a plugin Ah, if I echo out the <link>'s (instead of enqueuing them), then they get added to the <head> after cforms using wp-head hook and priority 11. It makes more sense just to place the links in header.php. Thanks for the help! |
|
Aug 2 |
comment |
Enqueue styles after a plugin That makes sense, though when I changed the hook and priority, it was either added before cforms again (priority: 1-9) or added to wp_footer() (priority > 9) add_action('wp_head', 'rm_theme_styles', 11); |
|
Aug 2 |
comment |
Enqueue styles after a plugin @ChipBennett Found it.. Edited above. |
|
Aug 2 |
revised |
Enqueue styles after a plugin Added additional code for reference |
|
Aug 2 |
awarded | Editor |
|
Aug 2 |
revised |
Enqueue styles after a plugin Clarified whose code is displayed |
|
Aug 2 |
comment |
Enqueue styles after a plugin @ChipBennett Yes, that's my code. I don't want to mess with cforms's code (or any plugin's code). Cforms is a large plugin and there's no obvious functions.php for it, so I can't post it's code. I just know that it's JS and CSS files are loaded in the header after my enqueued stylesheets. |
|
Aug 1 |
asked | Enqueue styles after a plugin |
|
Feb 13 |
comment |
How do I add version control to my workflow? Thanks, I'll have to refer back to it. The master/slave database setup sounds interesting. Thanks for the guidance |
|
Feb 13 |
awarded | Supporter |
|
Feb 13 |
comment |
How do I add version control to my workflow? This looks interesting; may solve quite a few of the issues. I'm going to check this out, thanks. |
|
Feb 9 |
comment |
How do I add version control to my workflow? @Wyck Alright, thank you. Is there a term for this kind of wonky development process? |
|
Feb 9 |
comment |
How do I add version control to my workflow? @EAMann I do it more often than I care to (Find/Replace...). I really just wanted to see if there was a better way (industry standard) of building websites using Wordpress as a CMS, which increasingly seems like it's more trouble than its worth. |
|
Feb 9 |
comment |
How do I add version control to my workflow? @Wyck Rather than dropping content alongside the theming, it makes sense to separate the two processes. I like the idea of a dev area for theming and a staging area for content dropping independent of each other. The only issue I see is that clients like to see both the theme and the content (the site in its entirety; static pages) prior to launching it live. |
|
Feb 9 |
comment |
How do I add version control to my workflow? @EAMann Great response, thank you! The only thing I would add to the workflow you described would be to write code, commit changes, push to development site, get comments back from client, ... I hadn't considered two separate workflows because regularly we will have to change the content ourselves for the clients. Occasionally we'll have to put HTML in the content to accommodate for special requests within the content (special styles, etc). Sometimes they require client approval before going live, which is why the databases would need to sync. Are there best practices for this kind of setup? |