Dynamic Featured Image
[resolved] Need Help Changing Code Due to 3.0 Upgrade. (2 posts)

  1. Lee King
    Posted 2 years ago #

    I use your plugin to create slide shows for my posts. The latest version broke that functionality. Can you tell how I could change the code below to call the new plugin. I am assuming the new plugin no longer uses the 'dfi_get_featured_images' function or dfi_get_image_alt_by_id($images['attachment_id']).


    if ( function_exists('dfi_get_featured_images') ) { // If the featured images function exists
    $featuredImages = dfi_get_featured_images(); // Get those featured slider images
    if( !is_null($featuredImages) ) { //If there are featured slider images to get, then:

    echo "<div class='slider-wrapper theme-default'>";
    echo "<div class='entry-thumbnail nivoSlider' >";
    foreach($featuredImages as $images) {
    /* echo ""; */


  2. Lee King
    Posted 2 years ago #

    Just saw the updated code you posted. Everything is working now...Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Dynamic Featured Image
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.