It appears the shortcode uses the key order_count
and not per_page
. You can modify this on the View Order page, where the shortcode exists.
[woocommerce_view_order order_count="20"]
If you would want some kind of AJAX order loader you may have to make some significant changes.
A note order_count
also accepts the parameter all
which will get all orders. Perhaps that is a solution?
EDIT:
The shortcode uses the template file myaccount/my-orders.php
. You could modify this to look through a certain amount of orders, seperate them into seperate divs and have it show the additional divs with each button press.
It is also in this template file where they actually get all the orders, so you could add a paged
parameter to this and quite easily do the AJAX content load.
Related Posts:
- How to enable suggested edits?
- How to change a user’s password programatically
- WP_User_Query and non-unique usermeta data
- How to delete custom taxonomy terms in plugin’s uninstall.php?
- To Disable WordPress Rest API or Not To Disable?
- how to include other plugins css files in a shortcode?
- Email Notifications of new posts to users – suggestions [closed]
- What is the correct way for a theme to support plugin UIs?
- What is the ‘admin_action_’ . $_REQUEST[‘action’] hook used for?
- How to call a plugin function from front end form
- Get URL of a specific file
- Building a plugin that doesn’t break when deactivated
- How does WordPress determine the primary plugin PHP file?
- translation does not work with text_domain
- Custom comment type maybe?
- Remove Adminstrator Hyperlink from a user having role to add and see users
- adding a text message beside the comment submit button
- Overide a function that is inside a plugin
- Having separate plugins and themes folder for multi-site setup
- Is there a plugin to record querystring parameters for a page (for customer tracking)? [closed]
- If I delete plugins via FTP are settings kept in DB?
- Many plugins making WordPress run slow by design?
- Why are some of my thumbnails not being generated?
- Remove caching from wp_remote_get calls from custom plugin
- Detect the activated theme from plugin code
- Transient unique names
- load_plugin_textdomain error
- Can’t delete Draft Post [closed]
- How to check if tables in WordPress still exists after activations
- Looking for a way that will collect visitors emails before letting them view the blog posts [closed]
- Why am I getting ( WooCommerce Services could not be installed (Could not create directory.). ) error and how to solve it ?
- How can i get the post’s full html source by its ID?
- Force file download on plugin activation
- How can I inject options into an select tag inside the widget form?
- WordPress user account activation
- Init plugin again after ajax call finish
- Unicode characters displaying as ? after import using WP Clone
- How to change the name of the “edit my profile” link in the WordPress admin backend
- Why are my queries interfering with the global post variable?
- WooCommerce : Direct Checkout Page [closed]
- Is there a rule for wordpress plugins developers to not do any database changes upon update?
- Can i add custom code in Source, Header from function.php?
- Overwrite a plugin’s CSS?
- Problem with isset and $_POST
- WooCommerce product and terms count [closed]
- MediaElement.js works on one site but not the other?
- add seperate suffix for low price and high price in woocommerce
- Get products list by url key in WordPress Woocommerce [closed]
- is it possible different visitors location to show different informations?
- Couple of beginner’s questions [closed]
- Can I filter a function created by a theme or a plugin?
- Best way to retrieve data in custom api extended from wp-api
- Hardcode a form in Contact Form 7 [closed]
- How do I change the text: Click on Event Name for description/registration
- Create Short code dynamically
- How can woocommerce be used in mu-plugins folder?
- How to make profile page for each user posting on the blog?
- WordPress + Thesis Theme => WPTouch Post Thumbnails don’t work?
- Plugin for a static piece of text on homepage
- add_action for publish_post doesn’t work
- Migrating Joomla to WP Pages and Postst not working
- How to convert Currency from USD to other IP Based currency in Php function
- WordPress + python integration
- Newbie problem with adding include wp_footer
- Activate Plugin Automatically After Set Time
- Allow members to create groups on my site
- Page last access date
- Unable to download backup file created using All in One WP Migration WordPress plugin
- Get post content inside plugin class method
- If I am not writing a theme, how do I add custom fields to a user for a plugin
- Python in WordPress – A “Hello World” implementation
- Ubermenu 3 Nav Bar Customization
- Many to many relationship for variable products
- Restrict role to use a plugin
- Optimize and delete images in WordPress
- Creating new option (add_option) from AJAX – Settings API
- Is it possible to save a chart as an image from the Visualizer Plugin
- Is there a way to analyze the load time of the functions in a custom plugin?
- Update Plugin Without Overwriting Custom Settings
- How does WordPress know where the plugins are located?
- Need help integrating plugin into theme
- twitter widget loads properly in all themes except my own theme?
- wp_update_post function ignores HTML tags
- Remove action working on functions.php but not in a plugin. Why?
- How to filter a a variable in a plugin’s function?
- How to select featured images for 1500 posts?
- using .htaccess only for wordpress security no plugins
- How to get certain part from widget
- How to create custom WooCommerce 2.0 templates
- Giving my members privet data! [closed]
- Contact Form 7 Default value from url [closed]
- How do I add custom fields to the “Edit page” admin screen?
- getPost() method and Pagination
- disabled plugin and now wordpress won’t load
- How to provide page_template path in custom plugin using WordPress
- WordPress User Registration/ Sign Up -> Able to take Paid Certification Courses & keep track of Completed Certificates
- Prevent primary navigational menu from expanding during page load (WordPress / Astra Theme)
- Issues with creating user profile for a subscriber, but with different profile page and functionalities
- Block Root REST API Route using custom &/or iThemes
- How to set an exact search box in tablepress plug-in