mirror of
https://github.com/WenPai-org/wp-china-yes.git
synced 2025-08-07 14:35:20 +08:00
feat:在设置页增加赞助商展示
This commit is contained in:
parent
0df8d9ecfb
commit
a845e1bffa
1 changed files with 6 additions and 0 deletions
|
@ -67,6 +67,12 @@ function wpcy_settings_init() {
|
||||||
|
|
||||||
add_action('admin_init', 'wpcy_settings_init');
|
add_action('admin_init', 'wpcy_settings_init');
|
||||||
|
|
||||||
|
function wpcy_section_main_cb() {
|
||||||
|
?>
|
||||||
|
服务器赞助:<a href="">硅云</a> | <a href="">又拍云</a><br/>
|
||||||
|
资金赞助榜:<a href="">赞助榜单</a>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
|
||||||
function wpcy_field_wpapi_cb($args) {
|
function wpcy_field_wpapi_cb($args) {
|
||||||
$wpapi = get_option('wpapi');
|
$wpapi = get_option('wpapi');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue