Support » Plugins and Hacks » Custom FlexSlider script not displaying links properly

Viewing 1 replies (of 1 total)
  • After much digging around in the Codex, I figured it out. Turns out that I needed to restructure how I was calling the post->ID in the get_post_meta call….

    Old….

    $link= get_post_meta( $post->ID, '_link', true);

    The way that works with FlexSlider…..

    $id = get_the_ID();
    $link= get_post_meta( $id, '_link', true );

    I’d love to see an explanation as to why this works but I’m just happy that it works!

Viewing 1 replies (of 1 total)
  • The topic ‘Custom FlexSlider script not displaying links properly’ is closed to new replies.