function to call secondary thumbnail for backstretch script
-
Hi,
Is there a simple way of modifying the Backstretch function below to call the secondary featured image/post thumbnail?
if ( has_post_thumbnail() ) { wp_localize_script( 'backstretch-init', 'BackStretchImg', array( 'src' => wp_get_attachment_url( get_post_thumbnail_id() ) ) ); }
Any assistance would be much appreciated.
Thanks
Darrellhttps://www.ads-software.com/plugins/dynamic-featured-image/
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘function to call secondary thumbnail for backstretch script’ is closed to new replies.