跳到内容

MW WP Hacks

v1.4.0

Takashi Kitajima · 2013年11月4日 上架

MW WP Hacks is plugin to help with development in WordPress.

正在使用
60+
评分
4.0 / 5
累计下载
4,401
最近更新
2015年2月18日
2 条评价需要 WordPress 3.6+已测试到 4.1.0

MW WP Hacks is plugin to help with development in WordPress.

  • Add Google Plus ID field in user profile page. IF input, echo <link rel=”author” /> in <head>.
  • Custom Feed into any post types.
  • Custom text after excerpt.
  • Add Google Plus ID field in management page. IF save this, include <link rel=”publisher” /> in <head>.
  • Add Facebook AppID field in management page. IF save this, include <div id=”fb-root”></div> any more.
  • Add GA Tracking ID field in management page. IF save this, include Google Analytics tag.
  • Add UA Tracking ID field in management page. IF save this, include Universal Analytics tag.
  • Add OGP & Twitter Cards setting.
  • Add Google Site Verification setting.
  • Add Meta description setting.
  • Include any social scripts. ( Facebook, Twitter, Hatena Bookmark, Google+1 )
  • Define widget areas.
  • Define custom thumbnail sizes.
  • Fix wp_title in the case of japanese.
  • You can setting that custom post type to disable a single page.
  • You can setting that posts per page for custom post type.
  • Useful method: MW_WP_Hacks::pager();
  • Useful method: MW_WP_Hacks::get_top_parent_id();
  • Useful method: MW_WP_Hacks::is_custom_post_type();
  • Useful method: MW_WP_Hacks::the_local_nav(); There is the shortcode [local_nav]
  • Useful method: MW_WP_Hacks::the_bread_crumb();
  • The Class that Register Custom Post Type and Custom taxonomy.
    ‘‘‘
    $Manage_Custom_Post_Type = new MW_WP_Hacks_Manage_Custom_Post_Type();
    $Manage_Custom_Post_Type->custom_post_type( ‘新着情報’, ‘news’,
    array( ‘title’, ‘editor’, ‘author’, ‘excerpt’, ‘comments’, ‘revisions’, ‘thumbnail’ ),
    array( ‘has_archive’ => false )
    );
    $Manage_Custom_Post_Type->custom_taxonomy( ‘新着カテゴリー’, ‘news-category’, array( ‘news’ ),
    array( ‘hierarchical’ => true )
    );
    $Manage_Custom_Post_Type->init();
    ‘‘‘
  • etc…

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums