Bones Theme Page Manipulation
-
[ Moderator note: moved to Fixing WordPress. ]
This may seem like a silly question but I’ve been scratching my head for a while now. I’m by no means a coder or customizer but with my slight tech background have been asked by my father to redesign his website running on bones. I’m familiar with PHP and Css but am very, very fresh to Sass or LESS.
That being said, what I’m trying to do is create a page in bones that incorporates the header and footer but removes the sidebar. The page should be full width and allow my visual composer attributes to appear.
This is what I’ve come up with:
<?php
/*
Template Name: Full Width
*/
get_header(); ?><div id=”primary” class=”content-area sixteen columns”>
<main id=”main” class=”site” role=”main”><?php get_template_part( ‘content/content’, ‘page’ ); ?>
get_footer(); ?>And though it removes any sidebars or widgets it doesn’t allow for my content to appear. Can someone help. Maybe give me the full code I’m missing. It’s gotta be something with the content get_template_part right? This is a architecture firm so all the pages need to be clean and simple. Clearly, clean and simple is not that easy.
- The topic ‘Bones Theme Page Manipulation’ is closed to new replies.