[ad_1]
Hi! I am looking for a plugin that can be used to compare multiple posts. I am building a dicectory of cars and want the user to be able to compare different cars based on the ACF-fields in those posts. Does anyone know of a plugin that can do this?
Or a directory plugin that has this feature built in? For some reason, most plugins doesn’t seem to offier this.
[ad_2]
Build your own? Simple explanation:
Make a new php file. Query the car posts you want, loop through the query, get the ACF fields, echo the html with the ACF field values concatenated in.
Register it as a block (you can even do it through ACF extended with a few clicks and pointing to the php template) and drop it into the page where you want it.
Our plugin GeoDirectory has a “Compare Listings” add-on. However, it doesn’t use ACF for its custom fields.