Page 1 of 1

link from sliding images

PostPosted: Sat Sep 22, 2012 4:15 am
by kaziman
hello.
I assigned a fixed page URLs to the sliding images and global menu. I set the number of posts shown in the fixt pages as 500 but each page only shows 8 posts.

Also, one fixed page somehow got broken. it shows and error message that says "Parse error: syntax error, unexpected ‘<'~~/web/wp-content/plugins/exec-php/includes/runtime.php(42) : eval()’d code on line 11"
i dont recall changing the exec-php...

●fixed page setting
global $post;
$tmp_post = $post;
$category_ids = array( '4' );
$numberposts = '500';
foreach ( $category_ids as $category_id ) {
?>

$postslist = get_posts( "category=$category_id&numberposts=$numberposts&order=DESC&orderby=date" );

foreach ( $postslist as $post ) {

?>
ID ); ?>>post_title; ?>
}
?>}
$post = $tmp_post;
?>

could anyone please help me solve the problem?
thanks in advance for your kind help!