jordanluckett
Forum Replies Created
-
Forum: Plugins
In reply to: [Dynamic Featured Image] Pulling in the multiple imagesAwesome! Works perfectly!
THANK YOU!!
Forum: Plugins
In reply to: [Dynamic Featured Image] Pulling in the multiple imagesHey Ankit – any help on this? Trying to get this to work for a client project.
Thank you SO much in advance!
Forum: Plugins
In reply to: [Dynamic Featured Image] Pulling in the multiple imagesHi 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,
JordanForum: Plugins
In reply to: [Dynamic Featured Image] Pulling in the multiple imagesHey 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,
JordanForum: Plugins
In reply to: [Dynamic Featured Image] Pulling in the multiple imagesHi 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!
Forum: Plugins
In reply to: [Dynamic Featured Image] Pulling in the multiple imagesHi 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!
Forum: Plugins
In reply to: [Constant Contact for WordPress] ALERT: Looking for Beta Testers!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