removed from plugin, code too old

This commit is contained in:
jorge-vitrubio 2022-07-22 14:18:43 +02:00
parent 8c60e7f42d
commit e3efa163e2
1 changed files with 5 additions and 1 deletions

View File

@ -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) {