F
F
freeman02042016-06-01 16:47:36
WordPress
freeman0204, 2016-06-01 16:47:36

How to set up gulp + WordPress?

I want browserSync to work on the server. I looked at the lesson https://www.youtube.com/watch?v=wE-Oi84UJXE there it seems like that, only with an open server, but without it, how?
Recommend how to account for the workflow. It’s somehow more convenient for me to type it first, and then attach it to the vp. How do I set up my html files to make a copy of themselves into php files and separate everything by header.php index.php etc.? Is it worth it to do so?
How can you make your work easier in a bunch of gulp + WordPress. What are the general recommendations.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2016-06-01
@freeman0204

1 I recommend not to use WebDesign Master courses
. At least regarding WordPress, it has a lot of mistakes. Teaches wrong.
2 open server, and without it how?
css can be added to any other server, even to a remote one
https://github.com/BrowserSync/grunt-browser-sync/...
But it's better to develop it locally.
3 on the workflow
In my opinion, it is more correct to first make up html, then pull it on the engine.
To speed up the layout and subsequent stretching, I break the layout into blocks (footer.html, post-meta.html, nav.html, etc.). That is, during the layout in the project, I have these files separately, and grunt collects them into normal html. You can do the same with gulp.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question