Wordpress initial install. Version 5.3
index.php
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
test
</body>
style.css
/*
Theme Name: Gerboni
Theme URI: /
Author: Linards Bērziņš
Author URI: /
Description: Woocommerce theme for online shop
Version: 1.0
Text-domain: gerboni
License: GNU General Public License v2 or later
License URI: .0.html
Tags: e-commerce, blog, custom-menu, custom-logo, featured-images,footer-widgets, theme-options, translation-ready, right-sidebar, sticky-post, threaded-comments
*/
Theme Appearance dashboard:
Any advice appreciated.
Wordpress initial install. Version 5.3
index.php
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
test
</body>
style.css
/*
Theme Name: Gerboni
Theme URI: http://linards-berzins.co.uk/
Author: Linards Bērziņš
Author URI: http://linards-berzins.co.uk/
Description: Woocommerce theme for online shop
Version: 1.0
Text-domain: gerboni
License: GNU General Public License v2 or later
License URI: https://www.gnu/licenses/gpl-2.0.html
Tags: e-commerce, blog, custom-menu, custom-logo, featured-images,footer-widgets, theme-options, translation-ready, right-sidebar, sticky-post, threaded-comments
*/
Theme Appearance dashboard:
Any advice appreciated.
Share Improve this question asked Nov 23, 2019 at 7:16 Linards BerzinsLinards Berzins 551 gold badge2 silver badges7 bronze badges 2 |2 Answers
Reset to default 2You also need to create header.php, sidebar.php, footer.php for custom theme.
It doesn't look like you've built a full theme yourself from what you've posted so perhaps you could add more information to your question.
But, I think you should start by having a read here to check that you're doing it correctly: https://codex.wordpress/Theme_Development then post back again if you're still having problems.
Then copy the existing theme to a new folder and start modifying them to get a feel for how they work, then try and build your own.
And then when you're feeling more familiar with how the work, check out the information on child themes here: https://developer.wordpress/themes/advanced-topics/child-themes/
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744961752a4603429.html
wp-content/themes/your-theme
? – Sally CJ Commented Nov 23, 2019 at 22:19