Sign Up!

Features
MLS Coverage
Pricing
FAQ
News
Signup

Search the Knowledgebase

Loading
Getting Started Guide
Email Support
Add IDX Synchronization Tags to Your AgentPress Theme
Article Details

Last Updated
27th of January, 2012

User Opinions (8 votes)
87% thumbs up 12% thumbs down

How would you rate this answer?
Helpful
Not helpful
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 Arjuna 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 may 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.

Synchronization tags tell IDX Broker how to extract the header and footer from your blog in order to automatically integrate your blog design into the IDX pages.
For help with customizing your AgentPress theme further, please contact WPIDX or Agent Evolution.


Step 1: Login to your WordPress Admin and go to Appearance > Editor.



Step 2: Look to the right side of the page and click on the Theme Functions file (functions.php).



Step 3: The HTML for functions.php should display in the Theme editor window. Add the following code to your functions.php file.
IMPORTANT: You must place this script directly above the Register Sidebar script at the bottom of the page.


/**
 *    Add IDX Broker Start and Stop tags for wrapping
 */

add_action('genesis_before_loop', 'idxbroker_start');
function idxbroker_start() {
    echo idx_start();
}
add_action('genesis_after_loop', 'idxbroker_stop');
function idxbroker_stop() {
    echo idx_stop();
}

See below for an example:



Step 5: Click the 'Update' button to save your Theme file.

Step 6: Now login to your IDX Broker account in order to assign a web page design to your IDX pages.  

Related Articles
No related articles were found.
Attachments
No attachments were found.

Continue