Edit a page/post DB data?

There is no built-in way to directly edit the database data for a page or its revisions in WordPress. However, you can achieve this by using a plugin such as WP-DB Manager, which provides a user-friendly interface for managing and editing your WordPress database. This plugin allows you to directly edit the database data for … Read more

Disable “Quick edit” for roles in WP dashboard

I hope you need to disable “Edit” and “Quick Edit” for non-admin roles. So you can modify your code as follows function remove_quick_edit( $actions ) { unset($actions[‘edit’]); unset($actions[‘inline hide-if-no-js’]); return $actions; } if ( ! current_user_can(‘manage_options’) ) { add_filter(‘post_row_actions’,’remove_quick_edit’,10,1); }

Bullet points not showing in wordpress

In the Additional CSS for your theme, add the CSS code for ‘list-style-type’ for unordered list. Something like: ul { list-style-type: circle; } Note that this will affect all unordered lists on your site. Take a look at this page for other options: https://www.w3schools.com/css/css_list.asp Added Note that your theme may be using additional CSS that … Read more

Filtered dropdown for author?

I don’t know if this counts as an answer, but I wanted to share in case it is helpful. It looks like you can, although there’s an important caveat in that this method needs some fixing to make work. Here’s a blog post that describes how to set up the Select2 JavaScript library to make … Read more

Woocommerce Force the category choice before creating new product? [duplicate]

You can resolve this issue by simply specifying the taxonomy you want to display. $dropdown = wp_dropdown_categories( array( ‘name’ => ‘category_id[]’, ‘hide_empty’ => false, ‘echo’ => false, // Set taxonomy for product categories. ‘taxonomy’ => ‘product_cat’, ) ); Before posting here, you should at least do some research on how this code snippet worked for … Read more