Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Awesome! Works perfectly!

    THANK YOU!!

    Hey Ankit – any help on this? Trying to get this to work for a client project.

    Thank you SO much in advance!

    Hi Ankit,

    Sorry for the delay. I unfortunately still haven’t be able to get this working. Here’s an example of what I want to do.

    Say I have a layout in part of a template that has 6 divs that I want to set the background image to (using your plugin) from a particular post – in this case 230. In post 230 I have added the 6 featured images. Now, I want to add featured image 1 to box 1 div background image, featured image 2 to box 2 div background image and so on a so forth… How do I do this by referencing each image in the array? Does this make sense? Here is an example:

    <?php
    if( class_exists(‘Dynamic_Featured_Image’) ) {
    global $dynamic_featured_image;
    $featured_images = $dynamic_featured_image->get_featured_images( 230 );

    //You can now loop through the image to display them as required
    }
    ?>

    <div class=”row”>
    <div class=”large-12 columns”>
    <div class=”box1-container”>
    <div class=”box1″ style=”background-image: url(‘<?php echo $featured_images[0]; ?>’);”>
    </div>
    </div>
    </div>
    </div>

    <div class=”row”>
    <div class=”large-12 columns”>
    <div class=”box2-container”>
    <div class=”box2″ style=”background-image: url(‘<?php echo $featured_images[1]; ?>’);”>
    </div>
    </div>
    </div>
    </div>

    Thank you so much in advance!

    Cheers,
    Jordan

    jordanluckett

    (@jordanluckett)

    Hey there – I am now able to see the list of images in the array now. I feel like I’m so close to making this work. Ho do I reference a specific image to use as the background-image for a specific div. Hope this makes sense.

    Thanks,
    Jordan

    jordanluckett

    (@jordanluckett)

    Hi Ankit,

    Thanks for your response. No, I’m not getting a list of images. Where would I see the list?

    Basically, I want to assign featured image 1 to div 1 background, featured image 2 on div 2 background, featured image 3 on div 3 background and so on… How do I do this on a page?

    Thanks so much!

    jordanluckett

    (@jordanluckett)

    Hi Ankit,

    I’m having the same issue – any help on how to do this? Designvibe’s code above makes sense but doesn’t seem to work. What am I doing wrong?

    Thanks!

    Hi There,

    Love this plugin!

    Curious how to modify the date in the event list widget. I want to take off the time and leave the date. Any help?

    Also, when is the anticipated new version release? Looking forward to it!

    Thanks!
    Jordan

Viewing 7 replies - 1 through 7 (of 7 total)