apply_picturefill_wp_to_post_thumbnail() issues
-
Hi there,
Simply smashing plugin and I have it configured no problem to work properly on my widgets thanks to the extensions, however when trying to call this function:
apply_picturefill_wp_to_post_thumbnail()
page hangs and nothing appears where featured images should be. Full code as follows:
function upbootwp_scripts() { wp_enqueue_style( 'upbootwp-css', get_template_directory_uri().'/css/bootstrap.css', array(), '5.0.5'); wp_enqueue_script( 'upbootwp-jQuery', get_template_directory_uri().'/js/jquery.js',array(),'2.0.3',true); wp_enqueue_script( 'upbootwp-basefile', get_template_directory_uri().'/js/bootstrap.min.js',array(),'1.1',true); if(defined('PICTUREFILL_WP_VERSION')){ apply_picturefill_wp('widget_text'); //apply_picturefill_wp_to_post_thumbnail(); } }
Note I have commented out the offending code for now. site for reference is https://zachatkinson.com
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘apply_picturefill_wp_to_post_thumbnail() issues’ is closed to new replies.