This piece of mySQL code should do the trick. Go into PHPmyAdmin, click the SQL tab and paste this code:
UPDATE wp_posts SET menu_order = 0 WHERE post_type="my_post_type";
This should set menu_order
for all posts of the post type of your choice to 0.
Related Posts:
- http://localhost/phpMyAdmin/ unable to connect
- phpMyAdmin Error: The mbstring extension is missing. Please check your PHP configuration
- ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
- mysql said: Cannot connect: invalid settings. xampp
- This table does not contain a unique column. Grid edit, checkbox, Edit, Copy and Delete features are not available
- Delete a database in phpMyAdmin
- PHPMyAdmin Default login password
- wamp server mysql user id and password
- phpmyadmin “Not Found” after install on Apache, Ubuntu
- Delete a database in phpMyAdmin
- Making someone a WordPress administrator using PhpMyAdmin
- Why am I unable to login to Dashboard after adding myself to admin via phpMyAdmin?
- phpMyAdmin displays error when importing database 2
- oembed_cache SPAM problem [closed]
- Delete all pages (thousands) except a few by their IDs
- Recovering a wordpress blog that got corrupted
- Importing posts content from csv
- duplicate wordpress site on same bdd
- I can not access my local PhpMyAdmin control panel
- wp_login.php redirects to old domain
- Strings from database are not shown correctly
- How to change wordpress adminstrator user ‘s ID from 1 to 0?
- WordPress database defragmentation
- Cannot login to WordPress admin after update
- How to log in to phpMyAdmin with WAMP, what is the username and password?
- phpMyAdmin access denied for user ‘root’@’localhost’ (using password: NO)
- mysqli_real_connect(): (HY000/2002): No such file or directory
- Setting up foreign keys in phpMyAdmin?
- phpMyAdmin: secret passphrase?
- Forbidden :You don’t have permission to access /phpmyadmin on this server
- mysqli_real_connect(): (HY000/2002): No such file or directory
- Fix Access denied for user ‘root’@’localhost’ for phpMyAdmin
- “Connection for controluser as defined in your configuration failed” with phpMyAdmin in XAMPP
- #1045 – Access denied for user ‘root’@’localhost’ (using password: YES)
- MySQL Error #1133 – Can’t find any matching row in the user table
- phpMyAdmin ERROR: mysqli_real_connect(): (HY000/1045): Access denied for user ‘pma’@’localhost’ (using password: NO)
- phpmyadmin #1045 Cannot log in to the MySQL server. after installing mysql command line client
- How to create a foreign key in phpmyadmin
- importing a CSV into phpmyadmin
- MySQL: Can’t create table (errno: 150)
- MySQL: How to reset or change the MySQL root password?
- MySQL Daemon Failed to Start – centos 6
- MySQL said: Documentation #1045 – Access denied for user ‘root’@’localhost’ (using password: NO)
- Auto increment in phpmyadmin
- Moving WordPress from MAMP to WAMP, can’t access pages
- Moving WordPress from MAMP to WAMP, can’t access pages
- How to use “menu_order” field for posts?
- Redirecting to old domain after migration
- Get current menu_order
- Are there any reasons you can’t use strings for admin menu positions?
- Order terms by term_order
- How do I find all admin users using phpmyadmin?
- Adding a menu item in the admin bar
- wp_list_categories: order by term order?
- What specific database privileges does WordPress need?
- How do I order pages and categories by ID or name in the same query?
- “#1067 – Invalid default value for ‘post_date'” when trying to reset AI after backup
- Reorder custom submenu item
- Manually delete post from database
- Where is the “default attribute” values located in the phpMyAdmin in Woocommerce?
- Menu position (admin menu) of pages
- Gaining Login Access via the Database
- Reseting admin password through PHPMyadmin fails
- How to delete users with no order history through phpmyadmin sql?
- How to add an export function to a custom Option Theme Page
- Moving database with phpMyAdmin
- WordPress altering my custom query, How to fix it?
- Would manually deleting the dumping data fix a “#1062 – Duplicate entry ‘1’ for key ‘PRIMARY'” phpMyAdmin error?
- WordPress 3.5 Gallery Menu Order not set?
- POSTS list in WordPress by views
- If orderby parameter using pre_get_posts is the same for multiple posts what fallback does the query use?
- How to copy post titles to post slug in phpmyadmin
- Delete all post meta except featured image
- Export only pages and posts with mysql dump
- unable to upload image locally
- New page does not get a menu_order
- How to do a MySQL dump from production site without using a search and replace script for local development?
- How to scroll item in the Menu setting effectively?
- How to Move Local Singlesite Database to Remote Multsite Database?
- Set Display Name to first and last name (phpmyadmin SQL Query)
- Query to change custom post type with specific category
- How Do I Merge Categories With phpMyAdmin
- $wpdb->query() vs. $wpdb->get_results() vs. phpMyAdmin
- Change default ordering of taxonomy terms – pre_get_terms
- How to delete posts that does not have a thumbnail?
- Emojis getting converted to “?”
- previous next with custom-post-type by order attribute
- Page Attachment Permalink Structure based on Menu Order?
- How can I restore admin capabilities?
- #1062 – Duplicate entry ‘1’ for key ‘PRIMARY’
- How to replace values in WordPress DB using phpMyAdmin
- How to change admin menu position of “Media”?
- How to Create a Admin User for A WordPress Site via MySQL (PHPMyAdmin)?
- Delete all post meta except featured image Using SQL
- SQL error #1062 – Duplicate entry ‘1’ for key ‘PRIMARY’ [closed]
- Logout hyperlink within a sub-menu
- menu_order not working with slugs that start with admin.php
- Importing wordpress. xml file on new installation
- Accidentally deleted active_plugins portion of the wp_options DB table
- Why do I get a WAMP homepage when clicking on specific website’s URL on LocalHost?