mirror of
https://github.com/danpros/htmly.git
synced 2026-04-23 14:06:23 +05:30
Example theme settings
This commit is contained in:
parent
efda7a3595
commit
8f5899a1dc
2 changed files with 18 additions and 2 deletions
|
|
@ -6,8 +6,8 @@
|
|||
<?php echo $metatags;?>
|
||||
<link rel="stylesheet" id="twentyfifteen-fonts-noto" href="<?php echo site_url();?>system/resources/css/noto-serif.css" type="text/css" media="all">
|
||||
<link rel="stylesheet" id="twentyfifteen-fonts-sans" href="<?php echo site_url();?>system/resources/css/open-sans.css" type="text/css" media="all">
|
||||
<link rel="stylesheet" id="genericons-css" href="<?php echo theme_path();?>genericons/genericons.css" type="text/css" media="all">
|
||||
<link rel="stylesheet" id="twentyfifteen-style-css" href="<?php echo theme_path();?>css/style_v2.css?v=2" type="text/css" media="all">
|
||||
<link rel="stylesheet" id="genericons-css" href="<?php echo theme_path();?>genericons/genericons.css" type="text/css" media="all">
|
||||
<link rel="stylesheet" id="twentyfifteen-style-css" href="<?php echo theme_path() . 'css/' . (theme_config('left_sidebar') ? 'style.css' : 'style_v2.css') . '?v=2'; ?>" type="text/css" media="all">
|
||||
<!--[if lt IE 9]>
|
||||
<link rel='stylesheet' id='twentyfifteen-ie-css' href='<?php echo theme_path();?>css/ie.css' type='text/css' media='all' />
|
||||
<![endif]-->
|
||||
|
|
|
|||
16
themes/twentyfifteen/theme.json
Normal file
16
themes/twentyfifteen/theme.json
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"name": "Twenty Fifteen",
|
||||
"version": "",
|
||||
"author": "WordPress.org & Automattic.com",
|
||||
"homepage": "https://wordpress.org",
|
||||
"description": "Twenty Fifteen theme ported to HTMLy.",
|
||||
"settings": [
|
||||
{
|
||||
"type": "checkbox",
|
||||
"name": "left_sidebar",
|
||||
"label": "Left Sidebar",
|
||||
"value": "",
|
||||
"info": "Move the sidebar to the left"
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue