Home › Forums › General Issues › WYSIWYG no formatting bar on frontend
I have the WYDIWYG on a custom post type which I have displayed on a form on the frontend. Unfortunately the formatting bar does not show meaning the user is only able to write in plain text.
Is this a known issue?
@hube2 the reason it was somehwere else is because I need to have it before the <header> otherwise the form doesn’t work well. However I see the WYSIWYG formatting bar when I move the acf_form_head() next to it. Now the page goes blank when I create the post. So either way I have an issue.
I.e.
1- If the acf_form_head(); goes before the get_header, the WYSIWYG format bar doesn’t show
2- If the acf_form_head() goes after the get_header, the format bar works but when I publish a post the page returns a blank
I am not seeing this. The only thing that I can suspect is a conflict with another plugin or your theme.
@hube2 there are no plugins I am creating a theme from scratch. I am using Bootstrap though.
I use bootstrap on all custom themes.
I cannot recreate the issue that you are seeing.
A blank page indicates a fatal error. Try enabling debugging so that you can see what te error is. https://codex.wordpress.org/WP_DEBUG
@hube2 yes I get Warning: Cannot modify header information – headers already sent by (output started at /wp-includes/formatting.php:5740) /wp-includes/pluggable.php on line 1329
The code on that line is
$x_redirect_by = apply_filters( 'x_redirect_by', $x_redirect_by, $status, $location );
if ( is_string( $x_redirect_by ) ) {
header( "X-Redirect-By: $x_redirect_by" );
}
header( "Location: $location", true, $status );
return true;
}
endif;
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.