tidywebdev
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: can’t determine which posts are sticky using wp_queryThis same code that failed with an older version of WordPress started working with 2.9.1. So I guess it was just some sort of quirk/bug with an older version which has now been resolved. ??
Forum: Plugins
In reply to: [Plugin: Flutter] Hiding Label When Key is BlankI’ve just started using Flutter, but I had a similar issues. I was using flutter’s simplest get(‘variable’) syntax. By default Flutter surrounds textbox fields with some HTML, so my empty fields were not really empty.
You can fix this if you specify full arguments for the get() function like this:
$myFlutterField = get('myFlutterField', 1, 1, false);
The false argument at the end stops any html surrounding the value. So you can then use:
if(!empty($myFlutterField)) { //output value here }
See the Flutter usage page for full info on the get() function.
Hope this helps
Forum: Plugins
In reply to: [Plugin: Viper’s Video Quicktags] Preview image flash movieThanks for the quick response Viper and for looking into this. Reverting to the old 6.2.12 version of vipers-video-quicktags.php got my preview images back working, but if nobody else if having issues maybe it’s just something in my setup…
Forum: Plugins
In reply to: [Plugin: Viper’s Video Quicktags] Preview image flash movieI’m using videos in flv format but the preview image has stopped working for me since I upgraded to 6.2.13. I was relying on the default where it looks for a jpg with the same filename as the flv. It was working fine before the upgrade, and the image is still there.
I know I can specify the preview image manually, but the client who will be maintaining the site is not technical, and the automatic pickup of the preview image was very handy.
Has this broken for anyone else since upgrading?
Forum: Fixing WordPress
In reply to: can’t determine which posts are sticky using wp_queryHi Michael,
Thanks for replying. I am using a loop, just with my WP_Query custom query as the basis of it. Any other data I’ve got at in the standard loop before has also worked for me in the custom loop. I can understand if is_sticky() won’t work in a custom loop, but surely there should be some way of determining whether a post is sticky in it but I can’t seem to see the sticky info being returned??