Thread Starter
Fike
(@fike)
Are you using it like so:
$posts_per_page = get_option(‘posts_per_page’);
The get_option returns a value, so you need to assign it to a variable.
Are you putting single or double quotes around posts_per_page, because it is not the name of a PHP variable, it’s a string?
Yeah, but it worked when i’ve just copied your text – most possibly i’ve missed somewhere a letter. Thanks!