brendanrandall
Forum Replies Created
-
Forum: Plugins
In reply to: [Ajaxify Wordpress Site(AWS)] Internet Explorer url issuesHi Manish,
Thanks for getting back to me on this. I’m a little confused though as the plugin states that it has been tested in IE. I notice that history.js is being used which is compatible with html 4 browsers (including IE 6, 7 & 8) according to Balupton https://github.com/balupton/History.js/ so i’m not too sure why this isn’t functioning within the plugin as history.js does support these browsers gracefully.
Is there any plan to address the issues with IE.
Many thanks in advance
Forum: Plugins
In reply to: [Custom Fields Creator] [Plugin: Custom Fields Creator] Image DIsplayHey Pedromrferreira,
I’ve been looking into this and i have a solution for you. Please see below. Hopefully this will help others out since the change in the plugin’s way of accessing images. The exampel below is something i’ve worked up which loops through all images in a repeater and outputs both a thumbnail and full size image so you can pick from what you want. If you have other sizes specified in Worpdress you can just replace ‘full’ with your named image size:
<?php
$clientimages = get_post_meta( $post->ID, ‘clients’, true );
foreach($clientimages as $clientimage){ // For each loop for
$thumbnail = wp_get_attachment_image_src( $clientimage[‘clientimage’] );
$full = wp_get_attachment_image_src( $clientimage[‘clientimage’],’full’ );
echo ‘<img src=”‘ . $thumbnail[0] . ‘” />’;
echo ‘<img src=”‘ . $full[0] . ‘” />’;
}?>
Hi circlecube,
Just wondering if you had an example of this in use?
Many thanks
Forum: Plugins
In reply to: [Custom Fields Creator] [Plugin: Custom Fields Creator] Image DIsplayI’m having the same issue. The plugin is great indeed but could you give a full code example of getting the image with version 1.0.3 upwards. If we take a simple use case:
foreach($items as $item){
echo ‘<img src=”‘.$item[‘item_pic’].'” />’;
}What would be the code equivalent in the newer version?
Many thanks.