peter-a
Forum Replies Created
-
Forum: Plugins
In reply to: [upPrev] Use featured image *or* post thumbnailHi Marcin,
Yes, upPrev uses feature image. Feature image is working OK for upPrev.
On my site, some posts do not have a feature image.
But those posts have an image (a normal image). So WordPress creates a post thumbnail.If the post has an image but does not have a featured image, I want upPrev to use the post thumbnail. (At this time it does not.)
Peter
Forum: Plugins
In reply to: [upPrev] Use featured image *or* post thumbnailHmm, I want to use the post thumbnail, which is different for each post. I tried this:
add_action( 'iworks_upprev_image' , 'default_image' ); function default_image() { echo '<img src="'. get_the_post_thumbnail($page->ID, 'thumbnail') . '" alt="" />'; }
but I think it’s not formatted correctly, because it’s not working.
Forum: Plugins
In reply to: [upPrev] Use featured image *or* post thumbnailHi Marcin,
Thank you. I added this code to functions.php:
add_action( 'iworks_upprev_image' , 'default_image' ); function default_image() { echo '<img src="image.png" alt="" />'; }
but still the posts that don’t have a featured image have no thumbnail in the upPrev box.
Peter
Forum: Plugins
In reply to: [upPrev] Picture is not showIf I use filter: Filter Reference / iworks upprev get the post thumbnail, it replaces the featured image with the post thumbnail. If there is a featured image but no post thumbnail, there is no image in upPrev.
How can accomplish:
– Use featured image if there is one
– Else use post thumbnailForum: Plugins
In reply to: [Video Thumbnails] Black bars at top and bottomI see. Is there anything that can be done about that from the plugin side?
Forum: Plugins
In reply to: [Video Thumbnails] Black bars at top and bottomThe site is not yet publicly accessible. I’ll e-mail you a link and login.
Peter
Forum: Plugins
In reply to: [Video Thumbnails] Black bars at top and bottomThis is happening on our site as well with widescreen YouTube videos that were created yesterday. I get a square thumbnail with black bars.
Yes, very happy! Thanks Frank, this is working great. ??
It’ll be nice to see it in the next version as well.Forum: Plugins
In reply to: [font-resizer] How to add "Font size" label?P.S. I would also like to be able to customize place the buttons inside a custom DIV so I can control the placement on the page.
Forum: Plugins
In reply to: [Better WordPress Minify] 1.3.0 beta version breaks several scriptsOK, can I send it to you here? https://betterwp.net/contact/
Thanks very much Frank! I’ll give it a try. ??
Forum: Plugins
In reply to: [font-resizer] Limit resize only to p and not p.xyzOK, I found one way to do this (though it won’t work on IE older than version 8)
In the Use your own element section, I put:
section.entry p:not(.xyz)
So now the text resizes section.entry p without resizing section.entry p.xyz
Forum: Plugins
In reply to: [Lazy Load for Videos] What's the difference with wp-youtube-lyteWP YouTube Lyte is an excellent plugin because it offers lots of customizable options and an API, it does greatly reduce load time (like this one), and it renders YouTube previews perfectly.
Forum: Plugins
In reply to: [Lazy Load for Videos] What's the difference with wp-youtube-lyteWith WP YouTube Lyte, you have to change the URL of your embedded video, for example from http: to httpv:
But with Lazy Load for Videos, it works with your existing embedded videos.
Also Lazy Load for Videos works with Vimeo as well as YouTube.
Thanks Frank. Unfortunately I am not a programmer, so those small tweaks are beyond my abilities. Maybe someone can tell us how to do it?