I'm trying to use some code I found to add numbers next to post titles in wordpress. I'm getting a unexpected t string error when using it. Any idea what the problem is?
Code:
<?php if ( $paged < 2 ) {
$my_paged = 0;
} else {
$my_paged = ($paged ? 1) * get_option(?posts_per_page?); <---this is the line thats causing the error it says.
}
$count = 1;
?>