
內容簡介
Monetize Me 插件可協助網站管理者管理營利腳本,此外,插件還提供短代碼([mmps])和小工具(Show Advertisement)使網站管理者可以在網站中展示廣告。
請使用"Advertisements Sponsor"、"Advertisements Width"以及"Advertisements Height"的分類,將您的營利腳本分類。然後在短代碼中使用這些資訊來顯示您所需的營利腳本。
短代碼[mmps]提供以下屬性以管理您的腳本:
1. id: 來自腳本文章的slug,使用"id"屬性,其他所有屬性將無法使用。因為您使用"id"屬性時表示您可以指定一個特定的廣告。
2. width: 來自"Advertisements Width"分類。廣告的寬度需要在'width'屬性中指定。'width'屬性的預設值為"responsive"。
3. height: 來自"Advertisements Height"分類的高度。廣告的高度需要在'width'屬性中指定。'height'屬性的預設值為"responsive"。
4. class: left、right和center是'class'屬性允許的值,以指定廣告的對齊方式。'class'屬性的預設值為'left'。
5. stype: 來自"Advertisements Sponsor"分類。stype需要指定廣告商的slug。預設值為'adsense'。
6. type: 來自"General Setting"框中的"Ad Type"欄位。mix、link、text、img、feed和article是'type'屬性允許的值。
7. limit: 匹配所需屬性要顯示多少廣告。任何數字都可以,但不能為0。
8. wrapper: 'wrapper'屬性的預設值為1,將您的廣告腳本包裝在一個div中。輸入0則不使用任何html div包裝。
希望截圖可以展示創建營利文章的幾種好方法,並使用短代碼或小工具在網站中使用。
外掛標籤
開發者團隊
原文外掛簡介
Monetize Me plugin will help webmaster to manage monetize scripts. The plugin also offers shortcode ([mmps]) and widget (Show Advertisment) to enable webmaster display the advertisment in website.
Pleas use “Advertisements Sponsor”, “Advertisements Width”, and “Advertisements Height” taxonomies to categories you monetize scripts. Then use this information in the shortcode to display your required monetize scripts.
The shortcode [mmps] offers the following attributes to manage your scripts:
1. id: comes from the slug of the script post. with this 'id' attribute all other attribute will not work. because with this 'id' attribute you are telling an specific ad that you have created.
2. width: comes from the "Advertisements Width" taxonomy. Width of the advertisment need to be mention in the 'width' attribute. default value for 'width' attribute is 'responsive'.
3. height: comes from the "Advertisements Height" taxonomy. Height of the advertisment need to be mention in the 'width' attribute. default value for 'height' attribute is 'responsive'.
4. class: left, right, and center are allowed values for the 'class' attribute to mention the alignment of the advertisment. default value is 'left'.
5. stype: comes from the "Advertisements Sponsor" taxonomy. stype need a slug of a sponsor. default is 'adsense'
6. type: comes from the "Ad Type" field of "General Setting" box. mix, link, text, img, feed, and article are allowed values for the 'type' attribute.
7. limit: how many ads to be serve matching required attribute. any mumber are allowed but 0.
8. wrapper: default value is 1 to wrap your advertisemet script in a div. use 0 to not use any html div wrapper.
Hope the screenshots shows few good way – how to create monetization post and use those anywhere in the site using shortcode or widgets.
