Advanced Layout Templates In WordPress’ Content Editor
-
I have follow this tutorial:
see here…well, it’s wonderfull tips…but i have a question.
i want style editor only for a specific page, i have try with more and more code (query page etc..) but nothing..someone can illuminate me ??
thanks all.this is the code:
<?php add_filter( 'default_content', 'custom_editor_content' ); function custom_editor_content( $content ) { $content = ' <div class="content-col-main"> This is your main page content </div> <div class="content-col-side"> This is your sidebar content </div> '; return $content; } ?>
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Advanced Layout Templates In WordPress’ Content Editor’ is closed to new replies.