├── 404.php
├── LICENSE
├── README.md
├── archive.php
├── comments.php
├── css
├── bootstrap.css
├── font-awesome.min.css
└── nav.css
├── fonts
├── FontAwesome.otf
├── fontawesome-webfont.eot
├── fontawesome-webfont.svg
├── fontawesome-webfont.ttf
├── fontawesome-webfont.woff
└── fontawesome-webfont.woff2
├── footer.php
├── functions.php
├── go.php
├── header.php
├── images
├── add.png
├── alipay_qrcode.png
├── app-ico.png
├── favicon.png
├── login.jpg
├── logo-collapsed@2x.png
├── logo@2x.png
├── logo_dark@2x.png
└── wechat_qrcode.png
├── inc
├── ajax.php
├── contribute-ajax.php
├── fav-content.php
├── frame
│ ├── assets
│ │ ├── css
│ │ │ ├── cs-framework-light.css
│ │ │ ├── cs-framework-rtl.css
│ │ │ ├── cs-framework-rtl.min.css
│ │ │ ├── cs-framework.css
│ │ │ ├── cs-framework.min.css
│ │ │ ├── font-awesome.css
│ │ │ └── font-awesome.min.css
│ │ ├── fonts
│ │ │ ├── FontAwesome.otf
│ │ │ ├── fontawesome-webfont.eot
│ │ │ ├── fontawesome-webfont.svg
│ │ │ ├── fontawesome-webfont.ttf
│ │ │ ├── fontawesome-webfont.woff
│ │ │ └── fontawesome-webfont.woff2
│ │ ├── images
│ │ │ ├── checkerboard.png
│ │ │ ├── chosen-sprite.png
│ │ │ ├── chosen-sprite@2x.png
│ │ │ └── setting.png
│ │ ├── js
│ │ │ ├── cs-framework.js
│ │ │ ├── cs-framework.min.js
│ │ │ ├── cs-plugins.js
│ │ │ ├── cs-plugins.min.js
│ │ │ └── vendor
│ │ │ │ ├── chosen.jquery.js
│ │ │ │ ├── jquery.actual.js
│ │ │ │ ├── jquery.interdependencies.js
│ │ │ │ └── jquery.tooltip.js
│ │ └── scss
│ │ │ ├── cs-framework-light.scss
│ │ │ ├── cs-framework-rtl.scss
│ │ │ ├── cs-framework.scss
│ │ │ └── vendor
│ │ │ ├── _base.scss
│ │ │ ├── _chosen.scss
│ │ │ └── _mixins.scss
│ ├── classes
│ │ ├── abstract.class.php
│ │ ├── customize.class.php
│ │ ├── framework.class.php
│ │ ├── metabox.class.php
│ │ ├── options.class.php
│ │ ├── shortcode.class.php
│ │ └── taxonomy.class.php
│ ├── config
│ │ ├── framework.config.php
│ │ ├── metabox.config.php
│ │ └── taxonomy.config.php
│ ├── cs-framework-path.php
│ ├── cs-framework.php
│ ├── fields
│ │ ├── background
│ │ │ └── background.php
│ │ ├── backup
│ │ │ └── backup.php
│ │ ├── checkbox
│ │ │ └── checkbox.php
│ │ ├── color_picker
│ │ │ └── color_picker.php
│ │ ├── content
│ │ │ └── content.php
│ │ ├── fieldset
│ │ │ └── fieldset.php
│ │ ├── gallery
│ │ │ └── gallery.php
│ │ ├── group
│ │ │ └── group.php
│ │ ├── heading
│ │ │ └── heading.php
│ │ ├── icon
│ │ │ ├── 01-font-awesome.json
│ │ │ └── icon.php
│ │ ├── image
│ │ │ └── image.php
│ │ ├── image_select
│ │ │ └── image_select.php
│ │ ├── notice
│ │ │ └── notice.php
│ │ ├── number
│ │ │ └── number.php
│ │ ├── radio
│ │ │ └── radio.php
│ │ ├── repeater
│ │ │ └── repeater.php
│ │ ├── select
│ │ │ └── select.php
│ │ ├── sorter
│ │ │ └── sorter.php
│ │ ├── subheading
│ │ │ └── subheading.php
│ │ ├── switcher
│ │ │ └── switcher.php
│ │ ├── text
│ │ │ └── text.php
│ │ ├── textarea
│ │ │ └── textarea.php
│ │ ├── typography
│ │ │ ├── google-fonts.json
│ │ │ └── typography.php
│ │ ├── upload
│ │ │ └── upload.php
│ │ └── wysiwyg
│ │ │ └── wysiwyg.php
│ ├── functions
│ │ ├── actions.php
│ │ ├── customize.php
│ │ ├── deprecated.php
│ │ ├── enqueue.php
│ │ ├── fallback.php
│ │ ├── helpers.php
│ │ ├── sanitize.php
│ │ └── validate.php
│ └── index.php
├── img-upload.php
├── inc.php
├── post-type.php
└── register.php
├── index.php
├── js
├── TweenMax.min.js
├── app.js
├── bootstrap.min.js
├── jquery-3.7.1.min.js
└── lazyload.min.js
├── languages
├── en.mo
├── en.po
├── en_GB.mo
├── en_GB.po
├── en_US.mo
├── en_US.po
└── webstack.pot
├── page.php
├── screenshot.jpg
├── search-tool.php
├── search.php
├── single-sites.php
├── single.php
├── style.css
├── taxonomy-favorites.php
├── template-contribute.php
├── template-posts.php
└── templates
├── bulletin.php
├── friendlink.php
├── header-banner.php
├── header-nav.php
└── site-card.php
/404.php:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
14 |
15 |
16 |
27 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2025 owen, LoveDoLove
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # WebStack
2 | WordPress 版 WebStack 主题。
前往演示站
3 |
4 |
5 | ### 声明
6 | 当你使用 WebStack 主题发布文章、文字、图片、视频等内容均属于你自己的行为,你的这些行为所带来的安全或法律风险均需自行承担。
7 |
8 |
9 | “Webstack Pro”是作者在19年尝试的一个收费项目,现已不在维护支持,且与
Viggo无关,应当时名字欠缺考虑,给
Viggo带来了不必要的麻烦,在此道歉。
10 | 现今网络上流传的“Webstack Pro”版本均为盗用作者19年的内容,与作者和
Viggo无关。
11 |
12 | ### 首页截图
13 |
14 |
15 | 
16 |
17 |
18 | ### 环境要求
19 | + WordPress 4.4+
20 | + WordPress 伪静态
21 | + PHP 5.7+ 7.0+
22 |
23 |
24 | ### 安装指南
25 | + 安装 WordPress ,教程百度
26 | + 设置伪静态(下方规则按自己服务器环境二选一)
27 | ```
28 | # Nginx规则
29 | location /
30 | {
31 | try_files $uri $uri/ /index.php?$args;
32 | }
33 | rewrite /wp-admin$ $scheme://$host$uri/ permanent;
34 |
35 | # Apache 规则
36 |
37 | RewriteEngine On
38 | RewriteBase /
39 | RewriteRule ^index\.php$ - [L]
40 | RewriteCond %{REQUEST_FILENAME} !-f
41 | RewriteCond %{REQUEST_FILENAME} !-d
42 | RewriteRule . /index.php [L]
43 |
44 | ```
45 | + WordPress 后台「主题」栏目 -> 上传主题 -> 启用主题,或者在 /wp-content/themes 文件夹新建webstack文件夹,并上传所有文件
46 | + 果然点击地址出现404,请到WordPress 后台「设置」栏目 -> 固定链接 -> 保存更改
47 | + 反馈交♂流:
一为忆
48 |
49 |
50 |
51 | ### 主题使用
52 | + 在 WordPress 后台“网址”文章类型下添加内容
53 | + 分类最多两级,且父级不要添加内容
54 | + 可以不添加网址图片,主题会自动获取目标网址的 favicon 图标
55 | + 导航菜单栏标题前面的图标请在分类图像描述中填入(参考下图),图标样式请参考fontawesome
56 | 
57 | + 增加分类快速添加图标的方法
58 | 
59 | + 导航菜单栏下方可以添加自定义菜单,在后台的外观-->菜单里设置,在菜单的css类添加图标(参考下图),图标样式请参考fontawesome
60 | 
61 | + 如果菜单里没有css类,请按下图添加
62 | 
63 | +
如果你有更多功能需求,点我->
64 |
65 |
66 | ### 后台截图
67 |
68 |
69 | 
70 | 
71 |
72 |
73 | ### 感谢
74 | 感谢
Viggo 的前台设计
75 |
76 |
77 | ### 更新
78 |
更新日志
79 | 更新方法为替换源文件,或者在wordpress后台删除主题,然后重新安装主题
80 |
--------------------------------------------------------------------------------
/archive.php:
--------------------------------------------------------------------------------
1 |
15 |
16 |
17 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
41 |
42 | cat_name ?>
43 |
44 |
45 |
46 |
47 |
48 |
49 |
52 |
53 |
54 |
55 |
56 | 0,
58 | 'before_page_number' => '',
59 | 'mid_size' => 2,
60 | ));?>
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
--------------------------------------------------------------------------------
/comments.php:
--------------------------------------------------------------------------------
1 |
25 |
26 |
84 |
--------------------------------------------------------------------------------
/fonts/FontAwesome.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/owen0o0/WebStack/7e00c226482db9ddc66d3f7c8b53c91a62353578/fonts/FontAwesome.otf
--------------------------------------------------------------------------------
/fonts/fontawesome-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/owen0o0/WebStack/7e00c226482db9ddc66d3f7c8b53c91a62353578/fonts/fontawesome-webfont.eot
--------------------------------------------------------------------------------
/fonts/fontawesome-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/owen0o0/WebStack/7e00c226482db9ddc66d3f7c8b53c91a62353578/fonts/fontawesome-webfont.ttf
--------------------------------------------------------------------------------
/fonts/fontawesome-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/owen0o0/WebStack/7e00c226482db9ddc66d3f7c8b53c91a62353578/fonts/fontawesome-webfont.woff
--------------------------------------------------------------------------------
/fonts/fontawesome-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/owen0o0/WebStack/7e00c226482db9ddc66d3f7c8b53c91a62353578/fonts/fontawesome-webfont.woff2
--------------------------------------------------------------------------------
/footer.php:
--------------------------------------------------------------------------------
1 | ' . io_get_option('icp') . ' ';
17 | }
18 | if ($police_icp = io_get_option('police_icp')) {
19 | if (preg_match('/\d+/', $police_icp, $arr)) {
20 | $_icp .= '
' . $police_icp . ' ';
21 | }
22 | }
23 | ?>
24 |
39 |
40 |
41 |
42 |
117 |
118 |
119 |
120 |
121 |
122 |
33 | 53 |
54 | 55 |56 | 100, 60 | 'style' => 'ol', 61 | 'short_ping' => true, 62 | ) 63 | ); 64 | ?> 65 |
66 | 67 | 75 | 76 | 77 | 82 | 83 |