內容簡介
mySimpleAds WordPress廣告管理員讓您輕鬆地將mySimpleAds廣告放置在WordPress的文章、頁面甚至是模板中。
請注意:這需要來自ClipperSoft的mySimpleAds。
使用方法如下:
文章/頁面:
在文章中添加[msa_aid=x]作為廣告ID,或添加[msa_gid=x]作為廣告群組ID,其中“x”是廣告ID或廣告群組ID。
您還可以選擇性地指定要使用的廣告代碼類型 -(p)PHP遠程讀取,(j)JavaScript注入,(a)Ajax JavaScript,例如:
[msa_gid=x,c=a]用於Ajax JavaScript。如果您沒有指定,它將默認使用PHP遠程讀取。
模板:
在您的模板PHP代碼中放置msa_show_ad_id($aid,$code);作為廣告ID,或放置msa_show_group_id($gid,$code)作為廣告群組ID(如果它位於現有PHP標記段之外,則可能需要將功能包围在PHP標記中)。 $aid是廣告ID,$gid是廣告群組ID,而$code是要使用的廣告代碼類型 -(p)PHP遠程讀取,(j)JavaScript注入,(a)Ajax JavaScript。默認情况下,它使用PHP遠程讀取。
外掛標籤
開發者團隊
② 後台搜尋「mySimpleAds WordPress Ad Manager」→ 直接安裝(推薦)
原文外掛簡介
The mySimpleAds WordPress Ad Manager allows you to easily place your mySimpleAds Ads inside your wordpress posts, pages, or even right in your templates.
Please Note: This requires mySimpleAds from ClipperSoft.
To use …
Posts/Pages:
Place [msa_aid=x] for an Ad ID or [msa_gid=x] for an Ad Group ID in your post, where ‘x’ is the Ad or Ad Group ID.
You can also optionally specify the type of ad code to use – (p) PHP Remote Read, (j) Javascript Injection, (a) Ajax Javascript, like:
[msa_gid=x,c=a] for Ajax Javascript. If you do not specify, it will use PHP Remote Read by default.
Templates:
Place msa_show_ad_id($aid,$code); for an Ad ID or msa_show_group_id($gid,$code); for an Ad Group ID in your template PHP code (you may need to surround the function by PHP tags, if it’s outside an existing PHP tag section). The $aid is the Ad ID, the $gid is the Ad Group ID, and $code is type type of ad code to use – ‘p’ PHP Remote Read, ‘j’ Javascript Injection, ‘a’ Ajax Javascript. It defaults to PHP Remote Read.
