Example theme settings

This commit is contained in:
danpros 2025-10-29 20:32:59 +07:00
commit 8f5899a1dc
2 changed files with 18 additions and 2 deletions

View file

@ -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]-->

View 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"
}
]
}