I want to add styles to editor-style.css, based on the category the current post belongs to. Therefore I would like to add the post classes – using get_post_class() –...
  • May 9, 2022
  • 0 Comments
I’m building a plugin where I add a tab to the media manager and can add stuff from another source. I add the tab with this, which generates a...
  • May 7, 2022
  • 0 Comments
I’m trying to allow “author” users to embed in posts. I (the administrator) can iframe, embed, etc…., but authors can not. Can someone show me to give authors ‘just’...
  • May 6, 2022
  • 0 Comments
Let’s say you don’t want other sites to “frame” your site in an <iframe>: <iframe src="https://example.org"></iframe> So you insert anti-framing, frame busting JavaScript into all your pages: /* break...
  • May 6, 2022
  • 0 Comments