內容簡介
總結:這個外掛可以插入或更新由 WordPress Recipe Maker 外掛創建的食材的聯盟鏈接。
問題與答案:
問題:這個外掛能做什麼事情?
答案:它可以插入或更新由 WordPress Recipe Maker 外掛創建的食材的聯盟鏈接。
問題:這個外掛需要哪些編譯和測試步驟?
答案:
- 編譯:使用 npm install 和 npx mix 命令進行本地編譯。
- 測試:確保運行 Docker,然後使用 wp-env start 命令進行本地測試,訪問 http://localhost:8888/wp-admin 獲取管理頁面。若未安裝 wp-env,可以執行 sudo npm -g install @wordpress/env 進行安裝。
問題:如何連接 MySql 數據庫?
答案:
- 記錄 wp-env start 命令的輸出,將其中的 MySQL 端口號記下,通常為 60921。
- 下載並安裝 Mac 上的 beekeeper studio(或其他 MySql 客戶端),然後使用以下憑據進行連接:
- 主機:127.0.0.1
- 用戶名:root
- 密碼:password
- 數據庫:wordpress
- 端口:MYSQL_PORT_NUMBER,例如 60921。
外掛標籤
開發者團隊
原文外掛簡介
The Raptive Affiliate Plugin is the easiest and most popular way to participate in Raptive’s Affiliate Platform.* The plugin adds a JavaScript tag to your site and lets you set up a few preferences within WordPress.
Enable Link Monetizer to automatically turn product links for participating retailers into affiliate links
Enable Shoppable Recipes to automatically turn selected ingredients in your recipe card into affiliate links**
*Must be a Raptive customer to participate.
**Shoppable Recipes currently requires the WPRM Premium plugin.
Raptive is a strategic partner equipping independent creators and enterprise publishers with unmatched ad management, world-class technology, and inspired opportunities to make you more money.
