Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
307 views

create-guten-block in wordpress theme?

I'm working on a wordpress theme and want to replace my shortcodes with gutenberg blocks. I'm new to working with blocks but having looked into it a bit I've decided to try and use create-guten-block ...
Nexus6's user avatar
  • 23
3 votes
1 answer
1k 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 =...
nimmolo's user avatar
  • 41
7 votes
4 answers
13k 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: ...
Scott's user avatar
  • 12.3k