You shouldn’t edit the WP Core because it will break at the next update. I believe the easiest way is to use jQuery. Use a filter to add the jQuery code to the page.
function cystom_jquery_code() {
echo '<script>
jQuery("body").after("div class="myClass"></div>");
jQuery("#wpwrap").before("<div class="beforeClass"></div>");
</script>';
}
add_action('admin_head', 'cystom_jquery_code');
Related Posts:
- Using tabs for wordpress plugin
- How to add page using HTML, CSS and JS?
- How Do I Figure Out What File(s) to Edit from Looking at the Source Code [closed]
- how to access all user dashboard on fronted page [closed]
- Images under 1MB are not being compressed
- Why is adoptStyles-css stylesheet link added to every page?
- Theme deactived html and css styling on home page posts
- inserting custom css, html and js into the current page as a popup window
- Overriding inline !important CSS with Javscript code snippet with media query
- make p tag collapsed after 3 rows
- General Term for this form Field
- How to change the width of certain paragraph or header blocks?
- WordPress custom blockquote with black background & white text?
- Edit the stylesheet of a child theme
- How to remove a css class for any wordpress page
- Possible jquery / library conflict in plugin usage
- Element works, but not on wordpress site [duplicate]
- Trying to disable all notifications except for one on woocommerce checkout page with css [closed]
- Option value not getting updated until page refresh in WordPress
- How to create a “Most Popular” & “Latest” TAB in WordPress
- Best way to overide plugin CSS?
- How do I cleanly override a plugin’s CSS with a child theme?
- Why does wp_enqueue_style() in plugin not load stylesheet?
- How can I reduce the amount of files loaded/included per plugin?
- How can I dequeue a Plugin Stylesheet?
- Add CSS animation as Preloader to WordPress
- Best way to inject css into admin_head in plugins?
- Unable to load stylesheets and scripts to plugin settings page
- Layout shop page: resize images and columns
- How extend shortcode default values for a plugin?
- Is it possible to use Snap Scrolling? [closed]
- Image resizing on home page (product category) [closed]
- How do I write into a file (css)
- Custom CSS for plugin form
- Can I use a plugin for a singular page on my website?
- How to disable CSS rule in Twentythirteen style.css?
- Theme’s default styles are overriding my plugin’s custom CSS
- Remove ALL css for a specific plugin page
- Creating custom HTML pages
- Child Pages Short Code plug-in and hover capabilities?
- How to hide CSS by default and show on button press
- WordPress plugin output formatting
- What would I need to write into a custom plugin in order to add a switch for a custom string of CSS to the edit page?
- Frontent user submit and view content [closed]
- Ajax Search Lite: Customize Autoscroll
- How to insert HTML/JavaScript form into WordPress page? [closed]
- How to get DEFER or ASYNC attribute to appear when I add a stylesheet with wp_enqueue_style from a plugin? [duplicate]
- plugin shortcode output
- How to include this jQuery File in wordpress?
- Stop Plugin from Getting Styles from Other Plugin
- How to apply next/previous classes to LIs for pagination links?
- How to add CSS via custom plugin?
- Plugin Theme CSS [closed]
- how to prevent all css and javascripts files from loading
- Front-end CSS Library for plugin [closed]
- Infinite scroll messing up nth:of-type
- Wooslider custom css
- WordPress Plugin Insert Html Code with Shortcode
- “uagb/section and uagb/columns block”
- How to make a dynamic css class whose name changes every visit to confuse scraper
- Readable titles in mobile
- Flickering sidebar when scrolling page [closed]
- adding Adsense’s In-Article Ads between images of blog post
- Add logo to admin menu in my plugin
- I would like to remove date display on photo preview
- Is wp_deregister_script the best way to deal with unneeded plugins in a page?
- Block wordpress style for my plugin admin page
- Not able to override plugin’s default css rules
- The Events Calendar Plugin – List View Background Colour Issue [closed]
- how to convert XML from URL to HTML
- Apply a Meta tag to one page only
- How to make a slider hearder?
- uncaught TypeError: Cannot read properties of null (reading ‘classList’) custom plugin
- How do I minify a plugins CSS/JS code?
- Directorist – Dropdown doesn’t open
- Button and Countdown overlapping mobile menu
- Want to create custom design of progress indicator in wpforms
- Strange admin-ajax / CSS / $_SESSION issue
- Apply only the css in my style.css file
- How get horizontal div instead vertical CSS
- SASS not showing in customized preloader plugin
- Include my files in a plugin? [duplicate]
- Set up new WordPress domain using unclear files
- how can I edit the HTML of yith ajax product filter
- Implementing Scrollable Images
- How to echo a PHP Code After the Content
- How to prevent encoding plugin HTML output to entities?
- Customize CSS for “Swipebox ” lightbox
- how to add custom css at top above all css file for specific url
- Why is every single HTML tag being stripped out of liveblog entries?
- Form tries to download a file on submit
- How to markup wordpress site using Schema.org?
- Best use adding user generated JS/CSS to a theme with a plugin
- Like/Dislike Bar not working when updating
- How to activate/deactivate menu tab and keep the same id?
- How to display a sitmap horizontally? [closed]
- Content expands beyond its column container [closed]
- Need help with wordpress audio preload
- Can I merge all my JS and CSS in one file using WP?
- How to create different woocommerce single_product.php pages for each product? [closed]