By the way, these are NOT global scripts as they are specific to each Listing.
Hi @annbjohnston,
From what you are describing, you could achieve that with WPCode but you will need some custom snippet coding. The way I’m thinking you could do this is to store the MLS # and zip code as custom fields in each listing and then have a WPCode snippet added to the head of each of these listing with those custom fields as variables.
We also have the option in our premium plans to add a custom script for each page using a metabox which will make it easier to have a custom script for each listing without having to write a custom PHP snippet.
ok thank you! I’m thinking the Basic Plan will work since we just have 1 website to use it for. Yes, I’ll need to add script within each Listing and I have the Script to use, just need to individualize it for each Listing with its corresponding MLS # and zip code. I assume that is what the Metabox is for.
I have installed this plugin as of last Thursday, Apr 27 and don’t see it working yet with the script in the Metabox within each Listing. I only have it on the latest Listings to see if it will work or not.
Because we’re using IDXBroker with the Impress Plugin to import Listings, the site directs the user to go to a page with a Search subdirectory ( hope I’m saying that right) so I’m not seeing the <script> within the head section when viewing the source code. We also use Elementor plugin for the design of the page if that has anything to do with it.
I can put the script in within the regular Edit feature for each Listing but have no place to put it in using the Edit with Elementor feature.
Here is a link to see that page for 260 Morning Sun Drive, Schoharie NY: https://prnt.sc/4g_Z8AxfT4Wu
Hopefully I can find some way to address this! Listhub just isn’t working for us right now with this plugin.
Thank you for any advice/insight.
~Ann
Another thought I had is Should I check the box that says “Disable global Header scripts on this page”?
Hi @annbjohnston,
Please reach out using the form at https://wpcode.com/contact as the feature you are using is part of the premium plugin and this forum is only for the lite version of the plugin.