Firing schema via code in functions.php doesn’t work

The more cleaner way of adding the custom data to your site’s <head> is to use a custom function, which you hook to a relevant action. In this case you could for example utilize the wp_head action. Like so, // this goes to functions.php file add_action(‘wp_head’, ‘insert_my_page_schema’); function insert_my_page_schema() { // only execute the code … Read more

Output and filter data from a XML url

Periodically read the XML file, parse it, and insert/update/delete your custom WordPress “realestate” posttype. I have done this before, for various realestate clients. Step 1 (the easy way): Find out if there is already a plugin/code to read your specific XML. There are probably dozens of others using the same XML structure to fill a … Read more