This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WordPress Expert Agent XML Feed


Effortlessly fetch your XML feed daily

WordPress Expert Agent XML Feed lets you fetch the latest XML feed from your 3rd Party Expert Agent property XML feed.

From the admin screen you can:

  • Add a Remote File
  • Add the Remote User (FTP) login details
  • Fetch the latest XML feed via the button ‘Fetch XML File’

Pro — Built for Estate Agents

  • Go to the Pro plan, and receive priority developer support.
  • Highly recommended for Estate Agents
  • Highly recommended for web developers, whose clients are Estate Agents

Go Pro, visit WordPress Expert Agent XML Feed PRO


  1. Go to the Settings -> WordPress Expert Agent XML Feed menu to manage settings for fetching the XML feed.
  2. Input your Remote (FTP) Filename e.g. properties.xml, as well as your FTP Username and Password.
  3. Click the button ‘Fetch XML File’ to connect to FTP, and download the latest copy of the XML feed.
  4. A scheduler is already set up for you that will automatically download the XML feed every 24 hours.


This notice is to mention that you shouldn’t have any issues with this plugin and Gutenberg (as this plugin doesn’t have to relate with Gutenberg).

Go Pro, receive always-there support WordPress Expert Agent XML Feed PRO


  • Add your FTP login details as provided by Expert Agent. Contact Expert Agent if you have forgotten your XML feed FTP login details.
  • Upon clicking the button ‘Fetch XML File’, you will find your downloaded file in your Uploads Folder.
  • Here is a visual of drilling down the folders towards the XML file.


How do I know that the XML feed is working?

After you’ve specified your FTP server and login details which Expert Agent will have provided for you, you will have to click the button ‘Fetch XML File’.

Afterwards, a successful notice should appear, and will mention if the file download is successful.

Is this the official plugin from Expert Agent?

Unfortunately not yet, but we are working with Expert Agent to make sure that this plugin is kept robust.

Where can I find my Remote URL, User, and Password login details?

These are the FTP details given to you by Expert Agent.

You will need to create a Log Ticket through the Expert Agent Management system, informing them that you would like to ask for the XML feed FTP login details.

You can also email them at

The XML feed is now working, how do I extract its data?

Unfortunately this plugin does not provide extracting the data.

It is up to you or your developer to extract the data, e.g. using PHP through simpleXML.

Why did you place the file under the Uploads folder?

This is the proper place for a plugin to generate its files.

Can you give me an example on how I can output/use the XML file?

It is up to you or your developer to extract the data, e.g. using PHP through simpleXML.

For example, let us get the ‘Property of the Week’:


    // First check if properties.xml file exists
    $upload_dir = wp_upload_dir();
    $propertiesXML = $upload_dir['basedir'] . '/wp-expert-agent-xml-feed/xml/properties.xml';
    if( file_exists( $propertiesXML ) ):

        // Let's get the XML file for the properties...
        $agency = new SimpleXMLElement( file_get_contents( $propertiesXML ) );

        $properties = $agency->branches->branch->properties;
        $property = $properties->property;

        // Let's get the first 'propertyofweek' we can find...
        // Then break apart once we find it!
        for ($i=0; $i < sizeof($property); $i++) {
            if( $property[$i]->propertyofweek == 'Yes' ) {
                $propertyofweek_price_text = $property[$i]->price_text;
                $propertyofweek_advert_heading = $property[$i]->advert_heading;
                $propertyofweek_main_advert = $property[$i]->main_advert;
                $propertyofweek_web_link = $property[$i]->web_link;
                $propertyofweek_picture_filename = $property[$i]->pictures->picture->filename;



 <!-- Property of the week Title -->
 <h2><?php echo $propertyofweek_advert_heading; ?></h2>

What is a cron job?

It’s your web server’s built-in scheduler, so that you can action code depending on the time. WordPress has wp-cron.php which integrates WordPress with your server’s cron system.

Where do I input the FTP Server?

You don’t need to, as we have specified this for you as


February 27, 2018
I've used this plugin for an Estate Agent's website here in the UK. It's much easier than our previous setup of the XML feed. Well done!
Read all 1 review

Contributors & Developers

“WordPress Expert Agent XML Feed” is open source software. The following people have contributed to this plugin.


“WordPress Expert Agent XML Feed” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “WordPress Expert Agent XML Feed” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.