Hi, sorry to be a pain, I had marked this topic as resolved http://wp-types.com/forums/topic/how-to-create-custom-shortcode-to-display-data-from-a-third-party-plugin/ but now I see my shortcode is actually working fine when I add it to Views WordPress custom taxonmy archive.
It doesn't work however within a Views loop set to display custom taxonomy. This is what I have:
[wpv-layout-start] [wpv-items-found] <!-- wpv-loop-start --> <wpv-loop> <aside> [service_image]<h3>[wpv-taxonomy-link]</h3>[wpv-taxonomy-description] <h4>Projects involving [wpv-taxonomy-title]:</h4> [wpv-view name="services-carousel"] </aside> </wpv-loop> <!-- wpv-loop-end --> [/wpv-items-found] [wpv-no-items-found] [wpml-string context="wpv-views"]<strong>No items found</strong>[/wpml-string] [/wpv-no-items-found] [wpv-layout-end]
Everything works fine except for the [service_image] – so since it works in a WP archive and not here then I assume it doesn't know it is within an archive loop but somehow the standard Views shortcode does know. So any idea on how do I fix it?