Custom Fields not loading slider
-
This function doesn’t show up in the code but leaves a large blank space below the header. I placed a reference to the metaslider by creating a custom field on the home page. What am I missing here?
function slidedeck_insert(){ $metaslider_id = getCustomFieldValue('metaslider_id', ''); if( !empty($metaslider_id) ) { ?> <div id="slidedeck_wrapper"><div id="slidedeck"> <?php echo do_shortcode( "[metaslider id=" . $metaslider_id . "]" ); ?> </div></div> <?php } } add_action('thematic_belowheader','slidedeck_insert');
- The topic ‘Custom Fields not loading slider’ is closed to new replies.