The capability you are after is called unfiltered_html
. Some options:
-
Modify author capabilities in your theme
functions.php
. This is saved in the DB, so you can access a page, make sure it works then remove it from yourfunctions.php
file. A better option would be to run it on theme activation. See this page on WP Codex for options:function add_theme_caps() { // gets the author role $role = get_role( 'author' ); // This only works, because it accesses the class instance. // would allow the author to edit others' posts for current theme only $role->add_cap( 'unfiltered_html' ); } add_action( 'admin_init', 'add_theme_caps');
-
Use a plugin that allows you to modify it using a UI, like User Role Editor.
Related Posts:
- How do I hide related videos at the end of a YouTube playlist embed code?
- How to check if a user (not current user) is logged in?
- How to remove the author pages?
- Select subscriber as author of post in admin panel?
- Echo author ID in author.php
- Woocommerce: assign an “author” to a product
- How can HTML be allowed in Author Bio?
- Programatically change post author
- Restrict one post per author
- How to get author’s name by author’s id
- Author page: Comments and Ratings?
- WordPress Gutenberg Embed Blocks Are Not Responsive
- Embed iframe or html page into dashboard widget
- How to get post author name by its ID inside a function?
- How can I publish a post with two or more authors?
- If Else Gravatar Author Picture
- Displaying custom post types in author.php
- Add rewrite endpoint to author page + pagination
- Order the users by the date of their latest post
- What’s a good way to put authors into groups
- Permalink to user profile
- Show Author in custom rss feed
- Youtube – Embed as IFRAME
- What is the difference between user_description and description?
- How can an author be subscribed to the posts of another author and receive notifications of the new posts?
- No authors in change author dropdown
- Show author archive pages for authors with no posts
- More posts from the current author
- List authors of site with link and gravatar
- How we can get the author ID by its Name
- How to hide posts count and posts of other users from edit.php for contributors and authors
- User Published Post Count
- Custom size for image uploaded to custom field in user profile?
- What capability allows someone to change a page’s/post’s author?
- How to get posts without author?
- Creating distinct pages for author profiles and lists of posts by author
- Allow Content Author to Publish, But Not Edit or Delete
- Just wanted to Pull Author’s Link
- Making WordPress author follow button, need missing ingredient
- list author’s posts in author.php
- Get only the author profile picture image url inside a loop
- Get the comment author ID by the comment ID
- Embed WordPress Admin in an iframe
- Author profile visitors in last 7 days in front end without plugins
- How To Remove The Author(s) From Certain Posts
- Is it possible to set/override default the_author_posts_link to login name?
- add capability to author role to be able to delete attachments
- Remove /author/ from the author profile url
- Google Authorship on a multi-author blog?
- Replace Gravatar with img URL for avatars
- Change author base slug to user role
- Get the excerpt for a post created by the related author
- Custom Author Fields + Existing Taxonomy – Integrating the Two Dynamically?
- Display Author role in archive or author page
- How to Add Author Editing Capability to Existing Post by Admin
- WordPress Author Page
- get the username of a user in his author page
- Editing the loop for Author pages
- What is wrong with this code?
- Which HTTP headers to use for subdomain embedding?
- Limit REST API output to current logged in user that is also author of the content
- Display only entire most recent post on author page?
- I only want to Display Author Link in authors bio
- How can I add “posted by ‘author'” to each post?
- Is it possible to get_terms by author?
- no emails for a user account
- Author list ‘special’ author first then ‘normal’ author
- hide something in single page if current author has only one post
- Show selected value in a drop down menu
- Can I stop authors from changing the font in their post?
- Author page doesn’t change after username change [duplicate]
- Custom Author Loop
- Output author and description if description is not empty
- get_the_author_meta( $field, 0 ) returns the administrator $field
- WP authors page
- Check if page is embeded
- Send transactional email: first user’s post
- Showing author’s page with no posts
- Show woocommerce products in author archive
- Embed Post in external page
- Author bio Social Links
- Plugin for an author bio popup box?
- How to link avatar and nickname to profile
- How to link to the current User/Author Profile page?
- Author website URL
- Author custom fields post meta, the code?
- How to update author display name on blog posts based on user role
- How can I get the author description’s excerpt?
- Change destination of author link to BuddyPress member profile
- Filter Author Bio
- How to remove the dropdown author data from the post edit page
- Conditional/Check: IF comment author is the post author
- Get last revision author, author-link and date
- How to use Buddypress xProfile field as WordPress Bio
- If post author ID is..show that
- What do you put in child themes author tag?
- Make user as Default contributor for all Blog Posts
- Multiple Unique Author Profiles
- Getting $curauth->ID to work inside a shortcode
- How to list the authors of all revisions?