[WordPress] 外掛分享: belingoGeo

首頁外掛目錄 › belingoGeo
1,000+
安裝啟用
★★★★★
5/5 分(13 則評價)
55 天前
最後更新
問題解決
WordPress 5.0.0+ v1.13.2 上架:2022-07-08

內容簡介

此外掛可允許選擇城市,並對每個城市創建獨特的網頁與獨特的 URL,從而達到為搜尋引擎獨特化內容的目的。

安裝和配置掛件
如何在掛件中排序城市
如何在掛件中創建城市的額外字段

[select_city] - 在網站前端內嵌掛件的主要短代碼。顯示當前選擇的城市,並作為鏈接顯示。點擊後會彈出選擇城市的窗口。此外,該短代碼還包含確認所選城市的快顯窗口。

[city] - 以主格形式(Moscow)顯示當前所選城市的名稱。如果鏈接不存在或者不能查詢到城市,則顯示空值。

[widget_city] - 以主格形式(Moscow)顯示當前所選城市的名稱。與 [city] 不同的是,如果無法從數據庫中查詢到城市,則顯示 "In Russia"。

[city_padej1] - 以前置詞格形式顯示當前所選城市的名稱,從管理面板的相應欄位中獲取。

[city_padej2] - 以與格形式顯示當前所選城市的名稱,從管理面板的相應欄位中獲取。

[city_padej3] - 以屬格形式顯示當前所選城市的名稱,從管理面板的相應欄位中獲取。

[city_field] - 通用的短代碼,可用於顯示任何城市元素。例如,可以使用 ACF 插件添加一個額外的字段並在模板中顯示。使用方式:[city_field field="欄位名稱"]。

[city_content] - 這是一個可根據所指定的城市顯示任意內容的內容短代碼。使用方式:[city_content city="莫斯科"]在莫斯科的內容[/city_content]。

[city_phone] - 當前所選城市的電話號碼,從管理面板的相應欄位中獲取。可以將其插入到頁首,當城市更改時,電話號碼也會相應地更改。

[city_address] - 當前所選城市的地址,從管理面板的相應欄位中獲取。同樣可以將其插入到聯繫信息中,並根據所選城市更改地址。

[cities_addon_contacts] - 短代碼,顯示"其他地點"區塊中的數據。您可以通過將 templates/cities_addon_contacts.php 文件複製到您的主題文件夾中的 belingogeo 文件夾來編輯 html 並設定輸出樣式。

外觀自定義

將 templates 文件夾複製到您的主題文件夾中,將其重新命名為 belingogeo。

現在您可以在主題文件夾中的 belingogeo 文件夾中自定義所有城市選擇快顯窗口和小工具的外觀。

外掛標籤

開發者團隊

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

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

原文外掛簡介

The plugin adds the ability to select cities, unique pages are created with a unique url for each city. This allows you to uniqueize content for search engines.
If for some reason the video is unavailable, you can watch it on Youtube, Zen, Rutube and VK Video
Plugin capabilities:

Creating virtual URLs for all WordPress pages and posts
Ability to combine cities into regions.
Ability to exclude pages, posts or taxonomies for which there is no need to create a URL
Pre-made pop-up windows for confirming the found city, as well as for selecting other cities.
Defining those cities that are not added to the list
Shortcodes for displaying cities in different cases
Shortcodes with a phone number and address for each city
Shortcodes that allow you to add any content, depending on the selected city
Shortcodes for regions, allowing you to display different content for a group of cities.
Creating virtual URLs for Woocommerce categories and products
Support for Yoast.

Extended version of the plugin
Useful articles:
Installing and configuring the plugin
How to sort cities in plugin
How to create an additional field for the city in the plugin
Description of all settings of the BelingoGeo plugin
Setting up the BelingoGeo plugin in the “city in a subdomain” mode
Description of shortcodes of the BelingoGeo plugin
We are on social networks:
Telegram channel
VK Group
Zen channel

延伸相關外掛

文章
Filter
Apply Filters
Mastodon