replace related post search with unified code

This commit is contained in:
John Bintz 2009-12-19 21:26:03 -05:00
parent a818df4f4d
commit a7b1945866
2 changed files with 15 additions and 13 deletions

View File

@ -6,7 +6,7 @@
* Usage: [related_comics]
*
*/
/*
function related_comics_shortcode( $atts = '' ) {
extract(shortcode_atts(array(
'limit' => '5',
@ -69,4 +69,4 @@ function related_comics_shortcode( $atts = '' ) {
add_shortcode('related_comics', 'related_comics_shortcode');
?>
?>*/

View File

@ -7,6 +7,7 @@
*
*/
/*
function related_posts_shortcode( $atts = '' ) {
extract(shortcode_atts(array(
'limit' => '5',
@ -72,3 +73,4 @@ function related_posts_shortcode( $atts = '' ) {
add_shortcode('related_posts', 'related_posts_shortcode');
?>
*/