Questions tagged «plugin-development»

WordPress插件可轻松修改,自定义和增强WordPress博客。您可以使用WordPress插件添加功能,而无需更改WordPress的核心编程。

4
如何创建并链接到插件的管理页面?
确定完整代码: <?php //check to see whether the user is an admin or not. if (is_admin()) { function wpsc_display_products_seo(){ global $wpdb; $productList = $wpdb->get_results("SELECT * FROM " . WPSC_TABLE_PRODUCT_LIST . " ORDER BY name ASC"); echo get_admin_page_parent(); $path = 'admin.php?page=wpsc_product_seo_details'; $url = admin_url($path); ?> <h2><?php _e('Products List','wpsc'); ?></h2> <p>Below is a …

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.