Remove option to allow trackbacks/pingbacks from post page options

Your code is correct, AFAIK. It will disable the ability to do trackback/pings. It doesn’t remove that option from the screen, as you have noticed. Not sure how to test that, though. But your code should work to disable the actual process of allowing trackback/ping. This site might test trackback/pings https://tech.wizbangblog.com/ping.php . No experience with … Read more

Limit on the max number of words per post?

You can hide the submit button, if to much words on the editor. The Editor has an id and also the button; use an small JS to realized your requirement. An example solution for the comment form can you find at the follow code and more infos on this post. jQuery(function($) { // configure var … Read more

Help! Turn php link data into url OR hide edit link in post admin OR hide drafts for all users except admin?

As far as I understood this right, you want to disable the possibility to reach any other side aside from the dashboard. Well, then here’s a short plugin for you: <?php ! defined( ‘ABSPATH’ ) AND exit; /* Plugin Name: (#45989) »kaiser« Allow Dashboard only access */ function wpse45989_access_dashboard_only() { if ( ! isset( get_current_screen()->id … Read more

Set Post Title to Read-only and Disable Permalink Slug Editor in Gutenberg

I used this, inline, on specific pages (using get_current_screen()). I’d hoped this would enable me to hide/show the permalink panel under certain conditions. However, removeEditorPanel() removes the permalink panel globally. This isn’t completely horrifying, since the css still works conditionally, and the permalink can still be edited via the editor (by clicking on the title) … Read more