link from sliding images

Any questions about styling and customising the layout, changing the number of columns, changing the number of sliding images and so on.

link from sliding images

Postby kaziman » Sat Sep 22, 2012 4:15 am

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!
kaziman
I'm new here
 
Posts: 3
Joined: Thu Sep 13, 2012 1:07 pm

Return to Advanced - Customising the theme



cron