This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[wpse_playlist type="audio" tracklist="true" tracknumbers="true" images="true" artist="true"] | |
[wpse_trac title="Ain't Misbehavin'" src="//s.w.org/images/core/3.9/AintMisbehavin.mp3" type="audio/mpeg" caption="" description="" image="" meta_artist="Louis Armstrong and His Orchestra" meta_album="78 RPMs and Cylinder Recordings" meta_genre="" meta_length_formatted="3:21" image_src="//s.w.org/images/core/3.9/louis.jpg" image_width="308" image_height="240" thumb_src="//s.w.org/images/core/3.9/louis.jpg" thumb_width="308" thumb_height="240"] | |
[wpse_trac title="Buddy Bolden's Blues" src="//s.w.org/images/core/3.9/JellyRollMorton-BuddyBoldensBlues.mp3" type="audio/mpeg" caption="" description="" image="" meta_artist="Jelly Roll Morten" meta_album="78 RPMs and Cylinder Recordings" meta_genre="Jazz" meta_length_formatted="2:09"] | |
[/wpse_playlist] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: WPSE Playlist shortcode for external files - a single file with PHP 5.2.x support | |
* Description: This plugin allows you to use external audio or video files with the native WordPress playlist, through the use of the [wpse_playlist] and [wpse_trac] shortcodes. | |
* Plugin URI: https://gist.github.com/birgire/fbd961bc682276830a0d/ | |
* Author: birgire | |
* Author URI: https://github.com/birgire | |
* Version: 0.0.5b | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Product Attributes - Debug | |
* Description: Dump the product attributes in a metabox. | |
* Author: birgire | |
* Author URI: Https://github.com/birgire | |
* Version: 0.0.1 | |
*/ | |
// PHP 5.3.3+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Child Pages Meta Box | |
* Description: Child pages meta box for hierarchial post types | |
* Author: Birgir Erlendsson (birgire) | |
* Plugin URI: http://wordpress.stackexchange.com/a/158636/26350 | |
* Version: 0.0.2 | |
*/ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Fetch taxonomy terms statistics for all posts before due date, with a single database query. | |
* | |
* Assumes that the 'due' values are saved as YYYYMMDD | |
* | |
* @see http://www.wpquestions.com/question/showChronoLoggedIn/id/9770 | |
* @param string $taxonomy | |
* @param string $meta_key | |
* @return mixed Database query results | |
* @version 0.0.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* function merge_user_edits() | |
* | |
* Merge the user edits to the existing meta data: | |
* | |
* @author birgire | |
* @version 0.0.1 | |
* @param integer $user_id | |
* @param array $data | |
* @param array $edits |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Usage Examples: | |
*/ | |
$post_id = 3522; | |
echo 'Counting all normal comments for a given post: ' . wpq_get_normal_comments_count( $post_id ); | |
echo 'Counting all extra comments for a given post:' . wpq_get_extra_comments_count( $post_id ); | |
echo 'Counting all extra comments, without replies, for a given post:' . wpq_get_extra_comments_without_replies_count( $post_id ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Auto Posts Injector For Infinite Scroll | |
* Description: This plugin helps you to automatically inject posts into the main loop. You must use custom code to start the injection. See the example. | |
* Plugin URI: https://gist.github.com/birgire/252b72448646d29a64b6 | |
* Author: birgire | |
* Author URI: https://github.com/birgire | |
* Version: 0.0.1 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Simple Redirections | |
* Plugin URI: https://gist.github.com/birgire/b1c8b3b94da4ee2f94ba | |
* Author: Birgir Erlendsson (birgire) | |
* Version: 0.0.1 | |
* Licence: GPLv2+ | |
* Description: Redirect to the newest or the latest post with a GET parameter | |
*/ |
OlderNewer