Answer the question
In order to leave comments, you need to log in
Is it always necessary to display the entire content of the site from the WordPress admin panel?
Hello!
The question is: Do I always need to display the entire content of the site from the WordPress admin panel?
What I mean: laid out the site (html, css, js)-> uploaded to the local server (openserver)-> created a theme and set up everything for php (index.html in index.php, header.php, footer.php, style .css)->in index.php in place of the header-get_header() section, footer-get_footer()->transferred to the hosting and that's it. If you need to change or add something to the client, connect through FileZilla and change it in a text editor (product image, name, headings, add sections). It is clear that if the client wants to constantly post news, then this can be configured through the output of posts, and everything else is much easier through FileZilla.
The second option: everything is the same, but the content (images, text, table of contents) is displayed through the "Posts" and "Headings" section, the_post_thumbnail() images, the_title() section table of contents, etc. ( example ).
Which option is more acceptable, which is better, what is required in web studios?
Answer the question
In order to leave comments, you need to log in
The customer should not be dependent on the developer if he needs to change or add content, and he himself does not know how to edit html through filezilla.
therefore, when landing a topic, you need to give the maximum opportunity to change the content. If the main one is a long landing, then at least change the content pictures and text, the ability to create posts and pages, the ability to create some necessary custom post types, such as reviews.
Provide general site settings where you can change phones, addresses, social networks, provide the ability to insert metrics scripts from the admin panel. Checkout all standard pages, 404, search, etc.
In your example, by the way, a person hardcodes category IDs into a topic, which is not correct.
And just split it into a header-footer, then what's the point in such a fit? Landos can also be filled with static, for static there is a wonderful admin panel Textolite
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question