Title: Skeleton Theme Layout Hook Tutorials?
Last modified: August 22, 2016

---

# Skeleton Theme Layout Hook Tutorials?

 *  [david221](https://wordpress.org/support/users/david221/)
 * (@david221)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/skeleton-theme-layout-hook-tutorials/)
 * I am using a Smpl Skeleton 2.1.0 theme at the moment, and I want to edit the 
   functions.php file by using the layout hooks i.e. skeleton_before_content, skeleton_after_content
   etc. The problem is I have no idea what sort of code I need to write to get the
   layout of my site looking what I want.
 * Are there any Skeleton theme tutorials that go in-depth about the layout hooks?

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

 *  [Voodoogrrl](https://wordpress.org/support/users/voodoogrrl/)
 * (@voodoogrrl)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/skeleton-theme-layout-hook-tutorials/#post-5430498)
 * Hi David I’m having the same issue. Have you figured it out yet, if so please
   let me know.
 *  Thread Starter [david221](https://wordpress.org/support/users/david221/)
 * (@david221)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/skeleton-theme-layout-hook-tutorials/#post-5430499)
 * Hi Voodoogrrl,
 * I have worked out my problem. I went to Customize > Appearances and set my website
   to be 1200px wide under the Layout section, and set the number of columns to 
   sixteen i.e. sidebar width = 5 columns and content width = 11.
 * I had no idea how to organize my web page correctly until I realized that I had
   to set the number of columns to sixteen in the functions.php if the content is
   equal to a single page.
 * >  //
   >  if ( !function_exists( ‘st_before_content’ ) ) { global $post; function
   > st_before_content($columns) {
   > //Sets container up to sixteen columns for all web pages
   >  if (is_page() && !
   > is_active_sidebar(‘secondary-widget-area’)) { $columns = ‘sixteen’; } } }
 * I hope that helps. 🙂

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

The topic ‘Skeleton Theme Layout Hook Tutorials?’ is closed to new replies.

 * 2 replies
 * 2 participants
 * Last reply from: [david221](https://wordpress.org/support/users/david221/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/skeleton-theme-layout-hook-tutorials/#post-5430499)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
