Override Number of Posts Setting
I have a custom WMP theme with some custom templates. On some pages I need to display 4 posts and on others I need more than 20. The Number of Posts setting in WMP overrides my numberposts in a wp_get_recent_posts(array(‘numberposts’ => ‘4’)) call. Is there a way to turn off this option or a snippet to override the override?
- The topic ‘Override Number of Posts Setting’ is closed to new replies.