chore: modify static resource location
|
@ -1,5 +1,5 @@
|
|||
<p align="center">
|
||||
<img src="https://raw.githubusercontent.com/vtrois/kratos/master/inc/options-framework/images/about.png">
|
||||
<img src="https://raw.githubusercontent.com/vtrois/kratos/master/assets/img/options/about.png">
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
|
@ -186,7 +186,7 @@ Detailed changes for each release are documented in the [release notes](https://
|
|||
If you find Kratos useful, you can buy us a cup of coffee
|
||||
|
||||
<p align="center">
|
||||
<img width="700" src="https://raw.githubusercontent.com/vtrois/kratos/master/inc/options-framework/images/donate.png">
|
||||
<img width="700" src="https://raw.githubusercontent.com/vtrois/kratos/master/assets/img/options/donate.png">
|
||||
</p>
|
||||
|
||||
## Sponsors
|
||||
|
@ -194,7 +194,7 @@ If you find Kratos useful, you can buy us a cup of coffee
|
|||
Special thanks to the generous sponsorship by:
|
||||
|
||||
<p>
|
||||
<a width="200" href="https://www.maoyuncloud.com/" target="_blank"><img src="https://raw.githubusercontent.com/vtrois/kratos/master/inc/options-framework/images/maocloud.png"></a>
|
||||
<a width="200" href="https://www.maoyuncloud.com/" target="_blank"><img src="https://raw.githubusercontent.com/vtrois/kratos/master/assets/img/options/maocloud.png"></a>
|
||||
</p>
|
||||
|
||||
## License
|
||||
|
|
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.3 MiB |
Before Width: | Height: | Size: 114 KiB After Width: | Height: | Size: 114 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
|
@ -226,7 +226,7 @@ class Options_Framework_Interface
|
|||
global $wp_version;
|
||||
$version = $wp_version;
|
||||
$output .= '<div class="about-content">
|
||||
<img src="' . ASSET_PATH . '/inc/options-framework/images/about.png">
|
||||
<img src="' . ASSET_PATH . '/assets/img/options/about.png">
|
||||
<h4>' . __('基础信息', 'kratos') . '</h4>
|
||||
<ul>
|
||||
<li>' . __('PHP 版本:', 'kratos') . PHP_VERSION . '</li>
|
||||
|
@ -243,13 +243,13 @@ class Options_Framework_Interface
|
|||
<li>' . __('更新日志:', 'kratos') . '<a href="https://github.com/vtrois/kratos/releases" target="_blank">https://github.com/vtrois/kratos/releases</a></li>
|
||||
</ul>
|
||||
<h4>' . __('讨论交流', 'kratos') . '</h4>
|
||||
<img src="' . ASSET_PATH . '/inc/options-framework/images/discuss.png">
|
||||
<img src="' . ASSET_PATH . '/assets/img/options/discuss.png">
|
||||
<h4>' . __('版权声明', 'kratos') . '</h4>
|
||||
<p>' . __('主题源码使用 <a href="https://github.com/vtrois/kratos/blob/master/LICENSE" target="_blank">MIT 协议</a> 进行许可,说明文档使用 <a href="https://creativecommons.org/licenses/by-nc-nd/4.0/" target="_blank">CC BY-NC-ND 4.0</a> 进行许可。', 'kratos') . '</p>
|
||||
<h4>' . __('打赏支持', 'kratos') . '</h4>
|
||||
<img src="' . ASSET_PATH . '/inc/options-framework/images/donate.png">
|
||||
<img src="' . ASSET_PATH . '/assets/img/options/donate.png">
|
||||
<h4>' . __('赞助商', 'kratos') . '</h4>
|
||||
<a href="https://www.maoyuncloud.com/" target="_blank"><img class="maocloud" src="' . ASSET_PATH . '/inc/options-framework/images/maocloud.png"></a>
|
||||
<a href="https://www.maoyuncloud.com/" target="_blank"><img class="maocloud" src="' . ASSET_PATH . '/assets/img/options/maocloud.png"></a>
|
||||
</div>';
|
||||
break;
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ function kratos_options()
|
|||
{
|
||||
$sitename = get_bloginfo('name');
|
||||
|
||||
$imagepath = get_template_directory_uri() . '/assets/img/options/';
|
||||
$imagepath = ASSET_PATH . '/assets/img/options/';
|
||||
|
||||
$seorobots = '<a href="' . home_url() . '/robots.txt" target="_blank">robots.txt</a>';
|
||||
$seoreading = '<a href="' . admin_url('options-reading.php') . '" target="_blank">' . __('设置-阅读-对搜索引擎的可见性', 'kratos') . '</a>';
|
||||
|
|