- Upload entire wp-policies folder to /wp-content/plugins/
- Set permission of folder /wp-policies/wp-static/ to 777.
- Activate the plugin from your WordPress PLUGINS page.
Go to SETTINGS > WP POLICIES:
- Fill in the CONTACT DETAILS section at the bottom of the settings page. Put your Company Name in ALL CAPS.
- Click IMPORT at the bottom of the page to import the default policies.
- Read over each default policy as some may not apply to your business. Edit where necessary.
- Delete or deactivate the pages you do not want to display by setting them to DRAFT in WP Page Manager.
Go to the WP Page Manager and make sure that the comments are turned off for your pages.
<?php static_footer_pages(); ?> to the footer.php file of your theme.
- Default pages are located in /wp-static/source/ folder as .txt files.
- Once imported, these pages are listed in the PAGES section of your blog, however they are hidden and not listed in the public PAGES area.
- Each NEW page that you create displays content from an associated .dat file that is created in /wp-policies/wp-static/
Displaying Policy Page Links
- To display policy page links in the footer of your blog:
- place this code in footer.php file of your theme:
<?php static_footer_pages(); ?>
To add new policy pages, go to SETTINGS > WP POLICIES
- There you can edit an existing page, or add a new page.
- When adding a page file name be sure to use a unique name.
- All page content entered for new pages must be in HTML
- The NEW page file is saved in the /wp-static/ folder as name.dat
- Once you save a page, its link will be displayed in the footer automatically until you disable it by setting the page to DRAFT.
To disable a specific policy page:
- Go to SETTINGS > WP POLICIES and click on the MANAGE link for the page you wish to disable.
- Then from there you would edit the page by setting it to DRAFT.
To delete the policy page:
- Go to SETTINGS > WP POLICIES and click the DELETE link for the item you wish to delete.
- Note that deleting will also delete the corresponding page from your blog.
Adding Dynamic Content
- You can display the contents of a policy page separately on post pages using inside the post content area.
- To add dynamic content to your policy pages, you can use any of the dynamic fields listed in the Contact Details section. Just insert them into the body of your content page.
Requires: 2.9.2 or higher
Compatible up to: 2.9.2
Last Updated: 2010-3-14
Got something to say? Need help?