How to modifiy default ‘All Pages’ in Dashboard into a Tree View(Collapsible child pages)
How to modifiy default ‘All Pages’ in Dashboard into a Tree View(Collapsible child pages)
How to modifiy default ‘All Pages’ in Dashboard into a Tree View(Collapsible child pages)
WP Snippet to Hide Theme Editor In Dashboard Only Works On LocalHost Site
remove screenshot.png via dashboard
when a shortcode is defined, he has to return HTML output. then to allow the theme to customise data presentation, you can do something like that : add_shortcode(“form_step_2”, function ($attr, $content, $tag) { // preparing data //… // result to display $template_name = “form/step_2”; // search the file wp-content/themes/twentytwenty/my_plugin/form/step_2.php $template = locate_template(“my_plugin/$template_name.php”); // if the … Read more
You could rename the plugins folder (in wp-content), but since you have no FTP access, that is harder. If you have File Manager access via your hosting cPanel, use that to rename the folder. But no bypass of a login via a GET/POST – that would be a serious security problem. Most likely, a plugin … Read more
Blank dashboard with no access
Add a new URL using add_submenu_page (without any parent assigned) and post your form data on that URL. Refer to this page for adding sub-menu page. Also, you should not send form data on any PHP file like this. This, will opens up your plugin for external attacks. Let, know if you unable to figure … Read more
I just found some kind of workaround. I set the right “edit options” for this user. To be honest I do not know what this right means, but the user is now able to edit all the posts – so the links now have a valid target (href) Strange behaviour. Somebdoy can explain this?
I was able to solve it with the following plugin: https://wordpress.org/plugins/adminimize/
So it seems the Quick Draft widget is hardcoded in three places with no hooks supplied. I’ve decided to go down the wp_insert_post route and write my own plugin 🙂