|
|
| Add IDX Synchronization Tags to Arjuna Theme |
|
Article Details
Last Updated 27th of January, 2012
|
| User Opinions (24 votes) |
91%
8%
|
|
Thank you for rating this answer.
|
Synchronization Tag implementation is intended for advanced developers familiar with PHP and WordPress development. Because of the vast amount of WordPress themes available, we are unable to provide detailed support for each. The following article is intended as a reference, due to the changing nature of themes and WordPress itself.
If you are using the Thesis theme, click here. If you are using the AgentPress theme, click here. If you are using the Atahualpa theme, click here. If you are using the default WordPress theme, click here.
Note: If you don't already have the IDX Broker plugin installed, you ma y download it here. If you decide not to use the plugin, click here to view the code that you will need to add to your functions.php file.
These tags tell our servers where to extract the header and footer content from your website.
- To add your start and stop tags, first go to your Wordpress Theme Editor:
- Next, click on the Main Index Template page to open your Theme file in the WordPress Editor. Note that other themes may require that you add to page.php or a different page in your theme.
- In this example, we are using the Arjuna theme. The Arjuna theme uses a class called "contentArea" to determine placement of content on the page. Find the HTML tag called <div class="contentArea">. This tag is sometimes referred to as the "opening wrapper" because it wraps the content area of the page in a way the separates the content from the header and footer content of the site. It's usually located directly below the "get_header();" function.
- For the Arjuna theme, add <?php echo idx_start(); ?> DIRECTLY BELOW the tag shown above. This script tells our servers to pull the HTML from everything above the placement of this tag.
 - Now, do the same for the footer. You will need to find the closing </div> for the contentArea tag shown above. If you are not able to place the closing IDX tag ABOVE the correct closing </div> tag, your IDX pages will not synchronize correctly. Please contact your theme designer or an advanced developer if you are unable to resolve this.
- Place <?php echo idx_stop(); ?> directly above the closing </div> tag.
- Next, follow these instructions. Our servers will automatically detect the tags on this page, and wrap your IDX pages with the design of your site - instant integration on every page load!
|
| Related Articles |
|
No related articles were found.
|
| Attachments |
|
No attachments were found.
|