WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Lee King
    Member
    Posted 6 months 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']).

    Thanks

    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 ""; */

    https://wordpress.org/plugins/dynamic-featured-image/

  2. Lee King
    Member
    Posted 6 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.