indirectdesign
Forum Replies Created
-
Hi pedrooo, don’t know if you managed to solve this but I had the same problem (see above) – it seems you must use the full key string:
kd_featured-image-2_page_idjust ‘featured-image-2’ doesn’t work, it has to have ‘_page_id’ after.
Hope that’s helpful.
Forum: Plugins
In reply to: [Twitter Widget Pro] Feed not updatingMany thanks @jprauch, TwitGet is a treat, another cup of coffee to the developer! Sorry to leave Twitter Widget Pro, but I experienced difficulties for over a year with the feed updating.
PHPanos: Many thanks, I’ve managed to get it working! I used
the_meta();to write the key and post id to the page, and what I discovered was that your original key string was literally correct:kd_featured-image-2_page_id(not:featured-image-2). For the third featured image the key would bekd_featured-image-3_page_idand so on.I have built the page to include up to 10 images, so for anyone else interested, I combined the code into a for loop, rather than have 20 lines of repetitive code.
So the code becomes:
<?php if(class_exists('kdMultipleFeaturedImages')) { for ($i = 2; $i <= 10; $i++) { kd_mfi_the_featured_image("featured-image-{$i}", "page"); echo get_multiple_thumbnail_caption(get_post_meta(get_the_ID(), "kd_featured-image-{$i}_page_id", true)); } } ?>Of course one also needs to include the code to display the first featured image and its caption, for that see the following post: http://wordpress.org/support/topic/display-caption-with-the_post_thumbnail?replies=10
Many thanks again, it is such a relief to have this working!
Hi PHPanos, I also need the captions displayed, so many thanks for your solution.
I have tried to integrate it into my code, but cannot get it to work. I have copied the function into functions.php, and the function call into my template file, as follows:<?php if( class_exists('kdMultipleFeaturedImages')) { kd_mfi_the_featured_image('featured-image-2', 'page'); echo get_multiple_thumbnail_caption(get_post_meta(get_the_ID(), 'featured-image-2', true)); } ?>But no luck. Perhaps I have misunderstood the key string? I have used the featured image string, but should it be the page id, such as ‘9’?
I have tried every combination, and am ready to abandon the plugin which would be a shame.
Any help appreciated!
Yes, I also need to give my users the option to download the audio file. Is there any way to make the audio tag src property into a ‘download’ text link, such as just below the player? I have installed MediaElement.js as an iPhone-friendly alternative to replace PodPress, so my users will have always been able to download as well as listen in real time. Many thanks for your assistance.
Forum: Plugins
In reply to: [WPaudio MP3 Player] [Plugin: WPaudio MP3 Player] Total Time Not DisplayingDear davros1973
Thank you thank you thank you! I downloaded this plugin and was having the same problem with the total time not displaying. and your code did the trick, absolutely perfect. Can’t thank you enough.
Forum: Fixing WordPress
In reply to: Named Anchor tag stylingMany thanks dkotter for this simple elegant solution!
I had the same problem with wanting to re-position my named anchors, and adding the <p> tag +
did the trick.I didn’t use height, but relative positioning, and it still worked – thanks!