- This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘Other’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hi everyone!
I normally use the HTML editor whenever I’m adding a new post or page to a WordPress site, however, my supervisor would much rather use the Visual Editor (she’s not precisely HTML savvy).
The problem is, some of our pages have custom HTML that we use to separate content better, but whenever the page is edited using the Visual Editor, most (not all O_o) of the HTML is lost. Is there any way to fix this?
Thank you all!
Hmmmm, off the top of my head, no.
If these are custom things, I’m sure there must be a way around it though. Anything that you’re adding in for styling can be done via CSS and if it’s more of a structural piece I’m sure you can add it into the template itself.
Hi Doc, thanks for the reply!
Yeah, that’s pretty much the only answer I’ve found so far (or entirely disabling the WP sanitizing / prettifying functions…although the article was referring to an older version of WP, might not apply).
My main issue is with the home page of the site, which has a youtube video inside a hidden div, that expands when you click a button. Using the visual editor on the home page simply removes the youtube video from its container :(.
In any case, I’ll keep looking!
I would just implement that directly into your home page’s template. Then you can use a custom field to pull in the video link from.