Not sure to completely got your question, but if you are looking for a way to have in the editor the same classes you are using in the frontend, put an editor-style.css
file in your child theme folder and fill it with the classes you need (i.e.:body). Then in your functions.php
, add this line:
add_editor_style('editor-style.css');
Related Posts:
- Append class to posts page
- Stop WordPress Wrapping Images In A “P” Tag
- How to add an admin notice upon post save/update
- Access post from post id in URL
- How to mark articles as read?
- Ajax Load More Posts in Category Page
- How to remove Nextpage tag inside posts text depending of utm_campaign
- How to Group Posts by the First Letter or Number?
- using slug instead of ID in admin edit post url
- WooCommerce – Create Products Programatically [closed]
- Code to auto expire posts after 30 days
- Search not working with title and content
- Show the title of the latest post by author
- Developing a secure front end post editing form
- I’m having some issues with previous_post_link() and next_post_link()
- How to use alternate post layout at key points in post loop?
- Add a custom option to a page in backend
- Changing publish date does not update post order
- Where is the “ancestors” post object attribute?
- Hide Post comments when displayed via WP_Query
- Show all post titles
- Posts are not showing up on particular category
- Can a page_id and a post_id be same?
- Differentiate between posts and pages in search results
- WordPress Theory Lesson – Image Columns within posts with alignment?
- How to hide first gallery for every post?
- Uppercase first sentence in every post
- Page Navigation for list of post
- Extracting post categories
- Limit popular posts by days
- Is it possible to create a form post wordpress custom navigation link?
- creating front end image uploader that uploads images as posts
- How can I sort posts by the date and a custom meta field?
- Exclude post_meta from Rest API Endpoint
- impreza portfolio display/view blank page
- How to verify wp user password by sql query in wp? [closed]
- Get ALL post ID’s export list (Only id’s. Php or sql not important )
- Cannot get $post object in name_save_pre hook
- Meta value does not save for scheduled posts
- How can I check if a var is equal a translated label?
- Update Modified date when scheduled posts get published
- Loading post with Ajax
- How to display links in specific page
- WordPress does not output “post” class when calling post_class() function
- How to check if single.php has already called the_post_thumbnail function
- How can I post exact same post but with a few things changed? (with some sort of Automation)
- Loop doesn’t show title of second post and posts thereafter
- Delete all drafts?
- Which PHP files should I edit for changing POSTS list and view pages?
- How to add add more properties to WP_Post object in search results loop
- How to get current post ID in functions.php
- Post list display year wise
- How to show all posts by author on buddypress profile with navigation
- Display post by click on the link
- WordPress 302 Redirect to Random Product/Post/Page
- Sort by last word in title
- How to call posts under a specific category on static front page?
- Image on rss feed on post
- Using AJAX and PHP to load next post object
- WP_Query articles order by offset in collumns
- When using Tribe Events Calendar, querying for a specific event category returns nothing
- sort posts by getPostViews in functions.php
- Making a wordpress page print friendly
- “Home” Page now only displaying the single latest post
- Possible?! A contextually titled back link
- Post navigation using date
- Error while excluding a post from another loop (using its ID)
- definining own teaser text for post
- Post feature image after post title for single post
- How to remove special characters in post title
- I have inserted a post’s content in homepage.php by the post-id. The font isn’t matching with the theme. How do I change font of this content?
- How to retrieve all meta data directly from the $post object? Such as $post->related_topics?
- Exclude posts in a category on one page but show those posts on a different page
- How to use two query result together in one loop
- custom post single page
- Odd hyphen added at end of blog post
- load post data into mysql
- filter posts based on menu_order
- How can we print out total number of posts filtered by post type and category?
- WordPress infinite post cycle problem
- All my posts don’t show, only the headline is displayed on the homepage
- How to prevent people from seeing an attachment to a scheduled post that’s released in future?
- How can I access my posts on my wordpress site, now I’ve lost the domain name for it?
- Page not loading content – Body archive – page
- Daily posts like an archive
- Retrieve latest post by multiple categories with ID
- External link not showing on post but showing on comment
- standard wpGallery for post won’t work
- Why is $_POST Empty in Profile Edit Admin?
- TCPDF and permalinks
- How can i show only 30% of the “the_content(“More…”)”?
- How do i put a dropdown list of ALL my post in the sidebar menu?
- How remove “recent comments” title without modifying code? [closed]
- Return All Post from publish to draft [duplicate]
- Get posts after calculating meta key
- Articles show some of text [duplicate]
- How to make post stick to its own div
- Post pages are redirecting to the 404 page in wordpress
- website images getting corrupt automatically
- Posts Page in WordPress loading bare HTML of my homepage