Add this to your functions.php, this should give the result you’re looking for:
remove_filter('the_content', 'wpautop');
Related Posts:
- Replace Dashes Before Title in Page List
- Is there a way to remove or hide individual pages on the Edit Pages screen?
- Play Video on Homepage Only
- Create subpage – filter parent pages list
- Text Editor Tags
- Any Ideas for Including “More Tag” with get_pages($args)?
- Cannot add a class to h2 tag
- Edit custom HTML page from WP admin dashboard
- How to edit a HTML list in WordPress?
- Adding a Calculator to a WordPress Page
- Why isn’t WordPress respecting my HTML?
- Can I change the “Home” text in the menu?
- How do I edit text displayed on my browser tab?
- create 2 custom columns in page edit in Admin panel
- Add Filter to Ignore a Post/Page or a Number of Post/Pages
- Set different heights per screen size with inline styles CSS into the ‘Text’ section of a Page
- how to output HTML tags in post_content and not as plain text
- Create multiple custom HTML pages
- Display child pages on homepage template
- Custom Filter using meta_value in wordpress admin list not working
- Loading custom jQuery and HTML in a WordPress page
- Adding a filter to wp_edit_posts_query() to prevent hierarchical display of pages
- Added .lowercase-alpha-list now my list is adding an extra period
- Password protect page with multiple passwords
- Allow only new sub-pages to be created
- Set page template automatically based on parent
- What is the use of $page_title and how to use it?
- Some pages are missing from the Parent Page select in the Editor
- How to display code if it is not certain pages?
- Set Session Time Limit for Password Protected Posts
- add_rewrite_rule: Issue converting path to url
- Is there a way to stop WP editor deleting
- How to change redirect after moving a page to trash?
- Static files or dynamic WP pages for “static content”?
- Add new page with preselected parent
- When I split a large post with , how can a search locate users to the correct page?
- Child page from 2 different parent pages
- Redirect “Sorry, you are not allowed to access this page.” to Home
- select a private page as parent for another private page
- Cannot get grandparent object
- Too Many Pages in WordPress? 2013
- How-to Change Content with location change?
- How can I automatically add child pages to pages in a WP menu?
- Job Manager plugin help?
- How get get list of pages in ajax search
- How to Move My Page into WordPress dashboard main menu
- List child pages by slug not ID?
- Force page to open in html mode
- Do the permalink settings apply to pages as well as posts?
- How to make tag post listing page working?
- get_pages() & “child_of”
- Get the ID of the direct parent page
- External stylesheet per page
- How to add prefix slug in static wordpress page?
- how to avoid the character conversion of WordPress pages?
- access control for assets in a website powered by wordpress
- How to make a page unsearchable in blog search?
- Query specific Pages
- How can I display tags as categories?
- Getting ACF Field in Page – From the Footer
- Rewrite to load homepage for a different url
- logout redirect only from admin page
- multiple post into single page
- redirect index.html inside folder to wordpress page of same name
- Show content if page is a grandchild of top level page
- Does Feedburner send notifications about WordPress pages?
- Ordering Pages and Increasing Navigation
- Static Website No Titles But Still Nav
- Search results to be only posts & children of page ID
- Embedding Password Protected (Private) “Blog Posts” BLOCK that shows Images and Excerpts on Password Protected Page (not the home page)
- On the list of Pages, clicking to Edit a particular page redirects to the list of trash
- My pages are using my Index.php and not my page.php
- WordPress custom pages in a folder
- How to delete the scrollbar in my pages?
- How to make a page as default page for a theme without a plugin?
- Return true if parent page id matches
- How to filter page title for certain page?
- Not allow add New Page for role ‘editor’
- How to detect if some page template has been selected
- Why Google map can not show full size in a page?
- Page view displays not properly after update wordpress
- What’s the best way to manage sections on a page?
- How do you assign custom template for Posts page (under Front page displays setting)
- Prevent page from displaying
- Adding CSS styles to Admin Area PAGES only (not POSTS or CPT)
- 1st Level Page with No Children
- Add feed to a custom page
- Directory location of new page
- Grabbing the_content from “about us”
- making a pseudo-static page
- Page specific values in widgets
- Woocommerce – Making product pages child of shop
- How to remove title (home) from static page skeleton template
- How to get from sql query page id and retrieve it url and title
- Find Page Last Modified at Certain Date & Time
- Conditionally including JS based on whether ACF field is set [closed]
- Save search criteria per user and show on custom user page
- display new WordPress page content
- Dashboard show only published pages instead of all pages
- May I know where to edit the tax rate?