[WordPress] 外掛分享: Dynamic Page Header Images

首頁外掛目錄 › Dynamic Page Header Images
WordPress 外掛 Dynamic Page  Header Images 的封面圖片
50+
安裝啟用
尚無評分
442 天前
最後更新
問題解決
WordPress 3.0+ v1.0 上架:2016-03-19

內容簡介

這是一個非常簡單且輕量級的外掛程式,可用於管理頁面的自訂標頭圖片。使用此外掛程式,您可以輕鬆地在頁面上添加/更改/管理標頭圖片。

功能特色

*登入WordPress管理後臺
*進入「頁面」菜單 –> 新增頁面
*查看「動態標頭圖片」元框。
*上傳您的標頭圖片,然後發佈頁面

*使用img標籤顯示頁面標頭圖片,複製並粘貼以下函數到您的主題header.php檔案中,主題路徑:wp-content/themes/your-current-theme/header.php

if(function_exists('dhi_get_headerimage_withtag'))
{
echo dhi_get_headerimage_withtag();
}

*獲取頁面標頭圖片的網址,請複製並粘貼以下函數到您的主題header.php檔案中或想要獲取圖片網址的任何地方使用此函數。

if(function_exists('dhi_get_headerimage_url'))
{
echo dhi_get_headerimage_url();
}

*使用短代碼獲取頁面標頭圖片

*登入您的WordPress管理後臺
*進入「頁面」 ->「所有頁面」
*點擊任何一個頁面的「編輯」連結
*粘貼下面的短代碼

[dhi_headerimage] --> 獲取圖像與圖像標籤

[dhi_headerimage img_tag='false'] --> 僅獲取圖像網址

使用方法

安裝外掛程式後,進到「設定」菜單 ->「使用者指南-DHI」
按照所提到的步驟進行

問題和支援

如需最快速回應,請在WordPress.org的外掛程式區域使用支援頁面。

請褒貶!

我希望能獲得一些回饋。我會盡力回應您可能遇到的任何問題。

評論,回饋和功能請求

發送任何關於此外掛程式的建議,評論或反饋,請發送[郵件給我們]
([email protected])。

外掛標籤

開發者團隊

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

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

原文外掛簡介

A very simple and lightweight Plugin for managing custom header images for pages.Use this plugin you can easy way to add/change/manage your page header images dynamically.
Features Included
*Login to wordpress admin
*Go to Pages menu –> Add New
*See Dynamic Header Image meta box.
*Upload your header image and publish post
*Show Page Header Image with img tag, copy and Paste below function to your theme header.php Theme Path: wp-content/themes/your-current-theme/header.php
if(function_exists('dhi_get_headerimage_withtag'))
{
echo dhi_get_headerimage_withtag();
}

*Get Page Header Image Url,copy and Paste below function to your theme header.php or where ever you want to get image url use this function.
if(function_exists('dhi_get_headerimage_url'))
{
echo dhi_get_headerimage_url();
}

*Get Page Header Image Using Shortcode
*Login to your wordpress admin
*Go to Pages -> All Pages
*Click Edit link of any one page
*Paste below shortcode
[dhi_headerimage] --> Get image with image tag

[dhi_headerimage img_tag='false'] -- > Get Image Url Only

Usage

Once install the plugin go to settings menu -> User Guide- DHI
Follow the mentioned Steps

Problems and Support
To get fastest response use the support page in the plugin area on WordPress.org
Please Review!
I would love some feedback. I will try and respond to any issues you might have.
Comments, Feedback and Request Features
To send any suggestions, comments, or feedback about this plugin send a [mail to us]
([email protected]).

文章
Filter
Apply Filters
Mastodon