[WordPress] 外掛分享: MW WP Hacks

首頁外掛目錄 › MW WP Hacks
60+
安裝啟用
★★★★
4/5 分(2 則評價)
4047 天前
最後更新
問題解決
WordPress 3.6+ v1.4.0 上架:2013-11-03

內容簡介

MW WP Hacks 是一個 WordPress 外掛,可協助開發 WordPress。

在使用者個人檔案頁面中新增 Google Plus ID 欄位。如果輸入,則在 <head> 中顯示 <link rel=”author” />。
自訂餵頻方式到任何文章類型。
自訂節錄之後的文字。
在管理頁面中新增 Google Plus ID 欄位。如果儲存此欄位,則在 <head> 中包含 <link rel=”publisher” />。
在管理頁面中新增 Facebook AppID 欄位。如果儲存此欄位,則在頁面中包含 <div id=”fb-root”></div> 。
在管理頁面中新增 GA 追蹤識別碼欄位。如果儲存此欄位,則包含 Google Analytics 標籤。
在管理頁面中新增 UA 追蹤識別碼欄位。如果儲存此欄位,則包含通用分析標籤。
新增 OGP 和 Twitter Cards 設定。
新增 Google 站點驗證設定。
新增 Meta 敘述設定。
可以包含任何社交媒體腳本(Facebook、Twitter、Hatena 書籤、Google+1)。
定義小工具區域。
定義自訂縮圖大小。
在日文情況下修正 wp_title。
您可以設定自訂文章類型以停用單一頁面。
您可以設定自訂文章類型的每頁帖子數。
有用的方法:MW_WP_Hacks::pager();
有用的方法:MW_WP_Hacks::get_top_parent_id();
有用的方法:MW_WP_Hacks::is_custom_post_type();
有用的方法:MW_WP_Hacks::the_local_nav(); 這裡有簡碼 [local_nav]
有用的方法:MW_WP_Hacks::the_bread_crumb();
註冊自訂文章類型和自訂分類的類別。
‘‘‘
$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();
‘‘‘
等等…

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.4.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「MW WP Hacks」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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

Add Google Plus ID field in user profile page. IF input, echo in .
Custom Feed into any post types.
Custom text after excerpt.
Add Google Plus ID field in management page. IF save this, include in .
Add Facebook AppID field in management page. IF save this, include

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…

延伸相關外掛

文章
Filter
Apply Filters
Mastodon