Custom theme not visible in Appearance

Wordpress initial install. Version 5.3index.php<!DOCTYPE html><html lang="en"><head><me

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
  • Where do you put the files? Is it in wp-content/themes/your-theme? – Sally CJ Commented Nov 23, 2019 at 22:19
  • Correct @SallyCJ. Thats the directory . – Linards Berzins Commented Nov 25, 2019 at 15:25
Add a comment  | 

2 Answers 2

Reset to default 2

You 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

相关推荐

  • Custom theme not visible in Appearance

    Wordpress initial install. Version 5.3index.php<!DOCTYPE html><html lang="en"><head><me

    1天前
    40

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信