I can’t enter the control panel of my wordpress site after channing the URL to https://

If you have access to the database (for example, using phpMyAdmin), you can change the values in table “wp_options” — the fields are near the top… “site_url” and “home” You can also set this in the wp-config.php file. define( ‘WP_HOME’, ‘http://example.com’ ); define( ‘WP_SITEURL’, ‘http://example.com’ ); https://wordpress.org/support/article/changing-the-site-url/

admin panel – How to remove “delete” button from category editing page

There is some modification in your code, insted of this class .taxonomy-category tr:hover .row-actions apply css on this class .taxonomy-category .row-actions span.delete, it willl work. Here is whole code. add_action(‘admin_head’, ‘hide_category_buttons’); function hide_category_buttons() { echo ‘<style> .taxonomy-category .row-actions span.delete { visibility: hidden; } </style>’; }

Admin only taxonomies?

When registering the taxonomy just set public to false, and it’ won’t be accessible on the front end. Just make sure to specify show_ui to true, otherwise it will use the public value and be hidden. register_taxonomy( ‘my_taxonomy’, ‘product’, [ ‘public’ => false, ‘show_ui’ => true, ] ); If you’re registering the taxonomy with a … Read more

Admin back end – get URL of file using file browser

You can scan the directory for files with glob() then loop throw the results and list them in a admin modal (thickbox) or just show the list within a admin metabox in the post editor. Here’s a little snippet that i was playing with. /** * Get HTML Article Files from uploads/articles * Support both … Read more