Answer the question
In order to leave comments, you need to log in
Creating a WordPress theme using Ctrl+C, Ctrl+V, and what are the consequences of this approach?
A bit of background, I made sites on ModX Evo, but faced with the categorical desire of some people to have a site on WordPress, with their layout and other things, I thought about it, decided to pull it up a little and turned to tutsplus, which talks about child themes, syntax and other things.
But today I came across a video of Wordpress integration of layout in 12 minutes,
if we briefly take a WP theme template, insert HTML code, insert a couple of PHP injections like: <?php wp_nav_menu('prymary') ?> , and everything "works".
Now the questions are:
1) What are the disadvantages in this approach if the result is at the moment! delivery satisfies the customer
2) Is it worth bothering more and further?
Answer the question
In order to leave comments, you need to log in
If done strictly according to the video. It will work, but nothing more.
But with this approach, most plugins will not start, and if you add wp_head, there will be conflicts.
An ordinary blog, from a normal layout, if Api reaches WP in 1-2 hours.
In the video, by the way, he pulled 1 template in like 12 minutes, what he did, in this form, is done in 3 minutes.
the main thing is that this is wp_header
also wp_footer
necessary for the adequate performance of different plugins. And so if you are not interested in WordPress
satisfies the customer
The approach is fundamentally wrong.
The theme loses the ability to update / when updating everything will break. This is at least. And as a result - holes and hacking.
The mechanism of child themes was just invented for customizing themes. And this is no more difficult than the wrong approach.
It surprises me when they say that WP is copy-paste and not programming. If a person says so, then he has not met a senior on WP. As for the question, this is bad, try to write everything by hand and only more pieces can be copied and pasted, I think.
Check out this channel. There is a video on how both the html template is stretched and how the PSD template is stretched. And it certainly won't take 12 minutes.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question