Title: Alignment buttons
Last modified: August 22, 2016

---

# Alignment buttons

 *  Resolved [klynde](https://wordpress.org/support/users/klynde/)
 * (@klynde)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/alignment-buttons/)
 * I am using version 1.1.5 of WCK and have created a wysiwyg field. The editor 
   shows up but there are no buttons for alignment.
 * Is there any way to enable the buttons? Our users won’t want to get into the 
   code to align text.
 * Thanks
 * [https://wordpress.org/plugins/wck-custom-fields-and-custom-post-types-creator/](https://wordpress.org/plugins/wck-custom-fields-and-custom-post-types-creator/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [adispiac](https://wordpress.org/support/users/adispiac/)
 * (@adispiac)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/alignment-buttons/#post-5845547)
 * To enable the alignments buttons you need the CKEditor – Justify plugin, please
   [download it here](http://ckeditor.com/addon/justify) and add it to our CKeditor
   in \wp-content\plugins\wck-custom-fields-and-custom-post-types-creator\wordpress-
   creation-kit-api\assets\js\ckeditor\plugins.
 * Then, to enable the alignment buttons add this code in your theme functions.php
   file or an empty plugin [like this one](https://gist.github.com/sareiodata/76f701e01db6685829db).
 *     ```
       // Add extra config elements for CKEditor ; wysiwyg
       add_action('wp_head', 'wck_custom_ckeditor_settings');
       add_action('admin_head', 'wck_custom_ckeditor_settings');
       function wck_custom_ckeditor_settings(){ ?>
           <script type="text/javascript">
                   jQuery( function(){
                       if ( typeof (CKEDITOR ) != "undefined" ) {        
            CKEDITOR.config.extraPlugins = 'justify';
               }
         });
       </script>
       <?php
       }
       ```
   
 * We’ll also make sure to include the Justify plugin for CKEditor in our next plugin
   release.
 *  Thread Starter [klynde](https://wordpress.org/support/users/klynde/)
 * (@klynde)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/alignment-buttons/#post-5845552)
 * Thanks.
 * That did the trick.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Alignment buttons’ is closed to new replies.

 * ![](https://ps.w.org/wck-custom-fields-and-custom-post-types-creator/assets/icon-
   256x256.png?rev=2257602)
 * [Custom Post Types and Custom Fields creator - WCK](https://wordpress.org/plugins/wck-custom-fields-and-custom-post-types-creator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wck-custom-fields-and-custom-post-types-creator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wck-custom-fields-and-custom-post-types-creator/)
 * [Active Topics](https://wordpress.org/support/plugin/wck-custom-fields-and-custom-post-types-creator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wck-custom-fields-and-custom-post-types-creator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wck-custom-fields-and-custom-post-types-creator/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [klynde](https://wordpress.org/support/users/klynde/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/alignment-buttons/#post-5845552)
 * Status: resolved