Development Projects

WordPress Plugins

Categories

Blogroll

Buy Me a Beer

Have you found these plugins or this site useful? Programmers need fuel.
$

EZ-FAQ - Documentation

Add FAQ Questions to a Page

To add a question to the FAQ is to wrap the question in a paragraph tag with the class ‘ez-question’. i.e.

<p class="ez-question">Why?</p>

Then whatever follows the question is considered the answer until the next ez-question paragraph is seen.

Add an FAQ Table of Contents

Add a table of contents using a quick tag within the page or post, <!– EZFAQ-TOC –>. The table of contents will scan the page for ‘ez-question’ paragraphs and then provide in page anchors to the question from the table of content. I like putting this in at the top of the page, but to each his own.

Enable EZ-FAQ translations using a filter

Enable page filtering on the EZ-FAQ admin page and you are all set. Every page will be filtered with EZ-FAQ.

Enable EZ-FAQ using a template tag

Disable filtering on the EZ-FAQ admin page, then in your template replace <code>the_content</code> with <code>ezfaq_the_content()</code>. All of the options are exactly the same.