Creating custom page template with widgets in Genesis

enter image description here

I have the minimum Pro theme for Genesis for my site and I’m attempting at creating a custom page template for one of my pages in particular.

I’ve done something like this before but for some reason whatever I do it’s not registering any changes on the template and I have no idea why. I’ve now spent countless hours on it, tried different tutorials to achieve this custom page template and also tried to copy and paste another site I’ve done code and renamed the required parts and use that as I know that one works. Nothing I do works.

I’ve found this genesis custom page template tutorial that looks good and I feel it should work.

This is my custom page named magento-page.php

* Template Name: Magento Page Template
* Description: Template used for the Magento page
//* Add custom body class
add_filter( 'body_class', 'childthemeprefix_magento_body_class' );
function childthemeprefix_magento_body_class( $classes ) {
    $classes[] = 'magento-page';
    return $classes;

//* Remove Footer Widgets
remove_action( 'genesis_before_footer', 'genesis_footer_widget_areas' );

//* Add widget area markup
add_action( 'genesis_after_content', 'childtextdomain_about_widget_area' );
function childtextdomain_about_widget_area() {

    genesis_widget_area( 'home-top', array(
        'before' => '<div class="magento-home-top"><div class="wrap">',
        'after'  => '</div></div>', 
    ) );



I understand I’ve created a custom page template, added a body class to it, removed the footer widget area and then added a new widget area to it. I’ve then registered that new widget area into the functions.php page:

//* Register widget areas
genesis_register_sidebar( array(
    'id'          => 'home-top',
    'name'        => __( 'Home - Top', 'minimum' ),
    'description' => __( 'This is the top section of the Home page.', 'minimum' ),
) );

I’ve double checked that my files are being successfully transfered to the server and that I have a calendar widget in my home top widget section.

I also have my template dropdown set to my “Magento Page Template”:

However my page still looks like a regular wordpress page:

I’ve done this before with no troubles on other sites so I’m pulling my hair out right now trying to see why it’s not working for this site.

The only thing I can think about at this time is that the server (which I didn’t set up) is no compatible with a lot of changes? I’ve been having issues and contacting support for a babckup plugin that say I can’t back up the site right now due to the wordpress website being on windows hosting? They had previously told me “Also, most Windows servers are usually not setup completely and correctly to run a PHP based application like WordPress. ” So might this be the reason why it’s not working?

Please let me know if you have any feedback or suggestions as to why this might not be working. I’m not out of ideas.

Read more here:: Creating custom page template with widgets in Genesis

Leave a Reply

Your email address will not be published. Required fields are marked *