Tagged Questions
1
vote
1answer
80 views
Hide page visual editor if template is selected - redux
The answer given to a previous and identical question is unfortunately not working on my WP install.
I'm using a version of the function recommended there.
function nim_hide_editor() {
$post_id ...
2
votes
3answers
2k views
Hide page visual editor if certain template is selected?
How do I hide the page editor (WYSIWYG editor) if the current page is set to a certain template.
I have the following code already to add in custom meta boxes when certain templates are chosen:
...