In Wordpress you need to make the same changes as above, but these need to go into the Wordpress templates. You can also add a small amount of wordpress php code to ensure that each blog entry has it's own comment field. This is all done in the theme for the site, and as such will be propagated across all relevant posts / pages depending upon which you update. You may want to create your own theme and edit that rather than the original, but you can just edit the original. From the administration dashboard go to "Appearance" and "Editor", then choose the appropriate theme. You then need to select the appropriate template file. header.php (Header) footer.php (Footer) single.php (Single Post) and/or page.php (Page Template) To include the individual post ID (eg. for the comment unique code) then add: For example in my single.php file I have inserted the following just before the wordpress comments section:Adding to Wordpress Template
The xmlns tag should be entered within this template file.
You should insert the JavaScript code for the bottom of the page in this file.
These template files are used for blog posts and wordpress pages respectively. Update either or both of these depending upon which pages you would like to add your Facebook plugin to.
Adding to Wordpress Template
23:27 |
Labels:
Add HTML facebook on site,
Facebook and Site,
Help and Support,
Java Script,
XFBML and HTML Facebook
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment