replace related post search with unified code
This commit is contained in:
parent
a818df4f4d
commit
a7b1945866
|
@ -6,7 +6,7 @@
|
||||||
* Usage: [related_comics]
|
* Usage: [related_comics]
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
/*
|
||||||
function related_comics_shortcode( $atts = '' ) {
|
function related_comics_shortcode( $atts = '' ) {
|
||||||
extract(shortcode_atts(array(
|
extract(shortcode_atts(array(
|
||||||
'limit' => '5',
|
'limit' => '5',
|
||||||
|
@ -69,4 +69,4 @@ function related_comics_shortcode( $atts = '' ) {
|
||||||
add_shortcode('related_comics', 'related_comics_shortcode');
|
add_shortcode('related_comics', 'related_comics_shortcode');
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>*/
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
function related_posts_shortcode( $atts = '' ) {
|
function related_posts_shortcode( $atts = '' ) {
|
||||||
extract(shortcode_atts(array(
|
extract(shortcode_atts(array(
|
||||||
'limit' => '5',
|
'limit' => '5',
|
||||||
|
@ -72,3 +73,4 @@ function related_posts_shortcode( $atts = '' ) {
|
||||||
add_shortcode('related_posts', 'related_posts_shortcode');
|
add_shortcode('related_posts', 'related_posts_shortcode');
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
*/
|
||||||
|
|
Loading…
Reference in New Issue