Difference between revisions of "WordPress Plugin"

From WOT Wiki
Jump to: navigation, search
(Created page with "Blog article: [http://www.mywot.com/blog/320-wot-launches-wot-for-blogs-wordpress-plugin WOT Launches "WOT for Blogs" WordPress Plugin]<br />posted: ''Tue 18 Jan 2011'' Installi…")
 
(I changed the formatting and made some other changes.)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
Blog article: [http://www.mywot.com/blog/320-wot-launches-wot-for-blogs-wordpress-plugin WOT Launches "WOT for Blogs" WordPress Plugin]<br />posted: ''Tue 18 Jan 2011''
+
For more information see the blog article: [http://www.mywot.com/blog/320-wot-launches-wot-for-blogs-wordpress-plugin WOT Launches "WOT for Blogs" WordPress Plugin].<br />
  
 
Installing the plugin is simple and can be done in one of two ways:
 
Installing the plugin is simple and can be done in one of two ways:
* Search for "WOT for blogs" on your Wordpress Control Panel and it'll be the first result.<br />Follow the instructions on the page.
+
* Search for "WOT for blogs" on your WordPress Control Panel and it'll be the first result.<br />Follow the instructions on the page.
* Alternatively, you can [http://wordpress.org/extend/plugins/wot-for-blogs/ download a zip file] and upload that to your wordpress control panel.
+
* Alternatively, you can [http://wordpress.org/extend/plugins/wot-for-blogs/ download a zip file] and upload that to your WordPress control panel.
* Read more about the plugin including support and development: [http://www.mywot.com/en/wordpress-plugin WOT for Blogs - Wordpress Plugin]
+
* Read more about the plugin including support and development: [http://www.mywot.com/en/wordpress-plugin WOT for Blogs - WordPress Plugin]
  
 
   Note: Only outgoing links in posts/comments have the WOT rating symbols added to them.
 
   Note: Only outgoing links in posts/comments have the WOT rating symbols added to them.
  
For general advice and tips, see the article: [[Wordpress]]
+
 
 +
== Adding Ratings to Pages ==
 +
 
 +
If you wish to add the WOT symbols to external links on your pages, install the plugin into your WordPress site, then edit the plugin script: wotforblogs-config.js.
 +
 
 +
'''The current script is''':
 +
 
 +
<nowiki>
 +
var wot_rating_options = {
 +
selector: ".post a[href], #comments a[href]"
 +
};
 +
</nowiki>
 +
 
 +
'''Change this to''':
 +
 
 +
<nowiki>
 +
var wot_rating_options = {
 +
selector: ".post a[href], #page a[href], #comments a[href]"
 +
};
 +
</nowiki>
 +
 
 +
This only adds the rating to your page content and should exclude external links on your sidebars, headers and footers. If you want to include the rating symbol on all external links indiscriminately (not recommended) change; #page a[href] to .page a[href].
 +
 
 +
== WordPress Tips ==
 +
 
 +
 
 +
For general advice and tips, see the article: [[WordPress]].

Latest revision as of 02:33, 13 March 2014

For more information see the blog article: WOT Launches "WOT for Blogs" WordPress Plugin.

Installing the plugin is simple and can be done in one of two ways:

  • Search for "WOT for blogs" on your WordPress Control Panel and it'll be the first result.
    Follow the instructions on the page.
  • Alternatively, you can download a zip file and upload that to your WordPress control panel.
  • Read more about the plugin including support and development: WOT for Blogs - WordPress Plugin
 Note: Only outgoing links in posts/comments have the WOT rating symbols added to them.


Adding Ratings to Pages

If you wish to add the WOT symbols to external links on your pages, install the plugin into your WordPress site, then edit the plugin script: wotforblogs-config.js.

The current script is:

var wot_rating_options = { selector: ".post a[href], #comments a[href]" };

Change this to:

var wot_rating_options = { selector: ".post a[href], #page a[href], #comments a[href]" };

This only adds the rating to your page content and should exclude external links on your sidebars, headers and footers. If you want to include the rating symbol on all external links indiscriminately (not recommended) change; #page a[href] to .page a[href].

WordPress Tips

For general advice and tips, see the article: WordPress.