Community Forums › Forums › Archived Forums › Design Tips and Tricks › Custom Page Template in Genesis
Tagged: custom page template
- This topic has 4 replies, 2 voices, and was last updated 10 years, 10 months ago by
Brad Dalton.
-
AuthorPosts
-
April 9, 2015 at 8:41 pm #147266
EZEarache
MemberHi All,
I'm brand new to Genesis, but have made quite a few custom child themes based off of Twentytwelve. I'm having some trouble wrapping my head around Hooks. This is a pretty new concept to me.
I'm trying to make a custom page where I can place a slideshow above the entry-header and entry-content. Then below entry-content I want to add three widget areas. It seems simple enough, and I've even read a few tutorials that explain the framework.php, but after eight hours, I still haven't gotten it to work.
I have been able to get the following to work, sort of, but it seems to strip out a lot of the responsiveness functionality. I haven't bothered to try and put the widgets into it just yet since the responsiveness isn't working.
<?php /* Template Name: Home Page Template */ ?> <?php get_header(); ?> <?php genesis_before_content_sidebar_wrap(); ?> <div id="content-sidebar-wrap"> <?php genesis_before_content(); ?> <div id="content" class="hfeed"> <?php do_action('slideshow_deploy', '20'); ?> <?php genesis_before_loop(); ?> <?php genesis_loop(); ?> <?php genesis_after_loop(); ?> </div><!-- end #content --> <?php genesis_after_content(); ?> </div><!-- end #content-sidebar-wrap --> <?php genesis_after_content_sidebar_wrap(); ?> <?php get_footer(); ?>Any help or insight that you can give me would be greatly appreciated.
Also, does a URL I enter get indexed by search engines in this forum?
April 10, 2015 at 2:55 am #147284Brad Dalton
ParticipantNo need to use that code because the genesis(); function already outputs the default page hooks and markup elements.
I assume you want something like this:
April 10, 2015 at 6:29 am #147308EZEarache
MemberHi Braddalton,
Thanks soooo much for getting back to me.
More like this, no sidebar with two of the widgets on the bottom stacked on top of each other.
http://i225.photobucket.com/albums/dd110/ortnergr/genesis-page-template.png
Also, do links to URLs get indexed here?
April 12, 2015 at 12:30 pm #147482EZEarache
MemberHi,
Thanks for pointing me in the right direction here. I found two of your blog posts extremely helpful in understanding the functions and hooks!
I was able to get widget areas to display on my site following these directions.
http://wpsites.net/web-design/widget-genesis/
http://wpsites.net/web-design/add-widget-area-before-content/
http://genesistutorials.com/visual-hook-guide/I still would love to know if these links get indexed?
April 13, 2015 at 3:42 am #147690Brad Dalton
ParticipantSorry which links exactly?
If you're referring to the links within the body of replies on these forums i think the answers is no because they're all no follow links.
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.
