removed from plugin, code too old
This commit is contained in:
parent
8c60e7f42d
commit
e3efa163e2
|
@ -1,4 +1,8 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* IT IS FROM 2012, TOO OLD
|
||||
*/
|
||||
/*
|
||||
Plugin Name: category post shortcode
|
||||
Plugin URI: http://ibnuyahya.com/wordpress-plugins/category-post-shortcode/
|
||||
|
@ -88,7 +92,7 @@ function cat_func($atts) {
|
|||
|
||||
$output = '<div class="'.$class_name.'">';
|
||||
global $post;
|
||||
$tmp_post = $post;
|
||||
$tmp_post = $post;
|
||||
$myposts = get_posts("numberposts=$totalposts&category=$category&orderby=$orderby&order=$order");
|
||||
|
||||
foreach($myposts as $post) {
|
||||
|
|
Loading…
Reference in New Issue