Tubal
Forum Replies Created
-
Forum: Plugins
In reply to: [Sort Query Posts] [Plugin: Sort Query Posts] Sorting Non-English CharactersYou’re welcome musicmann!!
Try this modified version of the plugin and report if it works.
It allows you to set a locale for string comparison.Version 1.8 released!!
Tell me what you think and rate my plugin if you like it ??
Cheers,
The new version is finished…I’m testing it. I’ll release it tomorrow.
You can see live tests here: https://www.margenn.com/tubal/youtube_shortcode/
I’ll link that site in the plugin docs (www.remarpro.com) since extended documentation and live demos will be hosted there.
Forum: Plugins
In reply to: [Youtube shortcode] [Plugin: Youtube shortcode] PlaylistI’m developing a new version that will blow your mind…trust me!! Any layout can be accomplished.
I’m studying it…give me a couple of hours, I have something in mind ??
Forum: Plugins
In reply to: [Youtube shortcode] [Plugin: Youtube shortcode] hd option is ignoredUnfortunately, yes, it does apply to any kind of embeds (except to the old Flash AS2 embed code).
You can read this topic where more developers ask the same question:
https://www.google.com/support/forum/p/youtube/thread?tid=6c44be48d118b529&hl=enForum: Plugins
In reply to: [Youtube shortcode] [Plugin: Youtube shortcode] hd option is ignoredHi there again,
You’re right, hd=1 has no effect if the size of the embedded video player is smaller than 745 pixels in height.
Why is this?
With the new embed method (iframe), Youtube estimates the “best” video quality according to the size (dimensions) of the embedded video player.
This means you need to set a height of 505px to play a video at 480p by default or a height of 745px to play it at 720p by default (when video starts playing).In Youtube’s website hd=1 works as expected no matter the video player size…but that works only in https://www.youtube.com
The only way to force a specific video resolution (quality such as 360p, 480p, 720p…) is through the iframe API (Javascript) but right now, it is still under development and should not be used in production.
When that API is released, I’ll add that feature to the plugin, don’t worry, but right now, it is not possible to set a specific video quality for each video since it’s determined by the size of the video player.
As Youtube’s official docs suggest:
hd=1 -> You should ensure your player is large enough to display the video in its native resolution.Take a look at this doc for further info:
https://www.google.com/support/youtube/bin/answer.py?hl=en&answer=178264Hope this helps and enjoy the plugin!!
Forum: Plugins
In reply to: [Youtube shortcode] [Plugin: Youtube shortcode] hd option is ignoredHi Vezado,
Thanks for reporting!
Could you paste a link to the video that shows that behaviour?
Cheers,
Forum: Plugins
In reply to: [Youtube shortcode] [Plugin: Youtube shortcode] WYSIWYG control disappearedHi hoishing,
Almost all of these problems are caused by the browser’s cache, or network cache.
Clear your browser’s cache, quit the browser, then start it and try again.
If the problem persists, try reloading the page while holding down Ctrl (in IE) or Shift (in Firefox) to make the browser reload the page from the server.
This can also be caused by a network cache somewhere between you and your web host. Just wait for a few hours for it to expire.If clearing the browser’s cache does not solve the problem, then deactivate and activate the plugin again.
I see you’ve solved your issue, my congrats!!
I’ll update the FAQ with this troubleshooting info.
Thank you and enjoy the plugin!!
Forum: Plugins
In reply to: [Youtube shortcode] [Plugin: Youtube shortcode] WYSIWYG control disappearedHi,
Could you give some more details?
– WordPress version?
– Javascript errors reported in the browser’s console?
– Other plugins installed that add buttons to the WYSIWYG editor?Cheers,
Emmm…if post titles are 00-01-xxxnl, 00-04-xxxnl etc… they are sorted correctly by their title in ascending order (as in your example).
If you want your posts to be sorted in descending order (00-04-xxxnl, 00-01-xxxnl etc…) use this:
<?php sort_query_posts_by('title', 'desc'); ?>
Forum: Plugins
In reply to: [Youtube shortcode] [Plugin: Youtube shortcode] embed buttonHi banesto,
I have implemented an embed button in version 1.7. Check it out!!
Forum: Plugins
In reply to: [Sort Query Posts] [Plugin: Sort Query Posts] Add sort by slugIt’s not possible without making a database query. Sorry.
Hi yogidevotee,
It’s really simple, all you have to do is place the function call before any “loop” and pass the function the correct arguments.
This is part of the code from the file “category.php” from the Twenty Ten theme with posts sorting. Oldest posts will be sorted to appear first.
<?php $category_description = category_description(); if ( ! empty( $category_description ) ) echo '<div class="archive-meta">' . $category_description . '</div>'; // sort the posts BEFORE the loop by date, oldest first (asc) sort_query_posts_by('date', 'asc'); /* Run the loop for the category page to output the posts. * If you want to overload this in a child theme then include a file * called loop-category.php and that will be used instead. */ get_template_part( 'loop', 'category' ); ?>