If it doesn’t work then there must be some problem or overwrite in your custom theme,
add this code in your index.php or where ever you want to show the custom number of posts,
query_posts( $query_string . '&posts_per_page=1' );
change ‘1’ to any number you want
Related Posts:
- Are all options loaded to memory on each request?
- How does object caching work?
- How to pass arguments from add_settings_field() to the callback function?
- How to use checkbox and radio button in options page?
- Performance with autoload and the options table
- Using widget options ‘outside’ the widget
- How to load WordPress on non WP page?
- Options for CDN with WordPress Including Supporting Plugins?
- Option to set static front page disappeared from admin reading settings
- How to set up default values for a plugin?
- Add on the fly tabs to plugin options
- Plugin options autoloading
- Settings API – changing add_settings_field() output?
- Fallback when Transient API fails
- Add_settings_field() parameterizing callback?
- Set a Default Value for an Option?
- Setting ‘autoload’ to ‘no’ with Settings API
- Define WordPress image size in img tag
- Serialized settings in rest api
- Editor role not saving settings page for custom post type
- get_option() is not working even db contains the corresponding option_name and option_value
- Settings API – how to update multiple options manually?
- Settings API – how to update options manually?
- How to change the file upload directory on version 3.5?
- Which WordPress option stores the current active theme?
- update_option method with support of utf8
- Any way to partition wp_options?
- How do I add a value to a wp_options option that is an array?
- how can I detect that option value has changed?
- update_option not working in stand-alone PHP script
- Best practice differences in DB options and wp-config between live, staging and local WordPress environments?
- Logout redirects to a broken page(home URL is omitted)
- Custom theme options Radio inputs not saving
- Character Encoding for wp_options
- Access general settings trough wordpress files
- get_option & update_option for multiple input fields with same name
- Settings API: Change position of custom setting field
- Clone plugins (and settings) to new installation?
- Allow spiders to crawl my site (selectable option in wp)
- Can we allow users to choose front page from theme options?
- How to display usermeta on front end of site
- save_post_{CPT} not updating the ‘sticky_posts’ option
- settings_fields doesn’t appear to be running
- Changing the language in Site Language does nothing
- Run function on settings save
- Is there a capability for managing plugin options?
- How to create a drop down list with pages to a themes options page?
- Classes and functions involved in serialization and unserialization
- why is unregister_setting() undefined?
- update object options on option form
- How to use a newly registered setting with a checkbox and the default value ‘true’
- help using get_option
- Set $options reference
- Settings API validation callback
- How to check False booleans when using get_option?
- Different Front page for Mobile
- How to save user meta on custom admin page
- Is there an optimized, WordPress-y way to not call a `get_option` twice?
- get_option and list of options
- How to retrieve the options from this options page?
- Verify Values Using Settings API
- Displaying the full text instead of post title
- Add description to custom plugin setting
- Block properties, attributes and settings
- 403 error on submit at the plugin options page
- Assigning a Setting to a Variable and Using it in an if Statement
- WordPress get_option() on AJAX issue
- ‘delete_option()’ only deleting the value, not the key/value pair
- WP Options Query “Rewrite Rules” Taking 10 Seconds After Testing wp_insert_post( )
- Theme Option select values
- If option: show this. Else show nothing
- How can you store your option at the permalink settings page?
- Problem saving wordpress settings with current version. Is it a bug?
- Plugin to import/export wp_options
- Uploading and inserting an image using a custom option panel like in the Twenty Ten theme?
- Drop Down options aren’t saving in my wordpress plugin options page
- What is the XSSAttack option_name for in the options table?
- WP Optimization: Overwriting options to autoload=yes for often used options?
- Option value not get saved in the database
- How to load WordPress on non WP page?
- blog post not accesible on click [closed]
- Is there a standard technique or API for getting the site header image?
- How to save Checkbox-Options in Plugin Options Page
- Is saving data to WordPress options as array bad thing to do?
- how to compare update_option() after it saves to database?
- Some entries delete_option doesn’t work
- Options saved and called in wrong order
- Use delete_option in action link
- Access saved Options / Settings
- Repeatable option fields not saving
- Hold a comment in the queue if it contains [X] or more links
- Settings API retrieving options database information alongside with user information?
- Trying to change settings -> firefox downloads options.php instead
- Share content between two different sites in same domain
- wp_allow_comments checking for blacklisted words effectively
- Option does not save or update upon page refresh
- How to add options for Pages?
- options validator input is false?
- Best place to store company address
- Fatal error: Call to undefined function get_option()