features, welcome and home bottom sidebars not showing

Homepage Community Forums Adapt Theme Support features, welcome and home bottom sidebars not showing

  • This topic has 9 replies, 2 voices, and was last updated 12 years ago by Wes.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1487
    sublimity
    Customer

      I’m using the adapt theme and have all 4 widgets filled with content and I have the welcome and home bottom sidebars 1 and 2 widgets fill with content, but they are not showing up on the home page.  The home page is set as a static page.  Using Genesis 1.8.2 and Adapt version 1.1.  Not sure what I am going wrong.

      #1488
      Wes
      Moderator

        Your settings should be set to – “Your latest posts“.

        With most Genesis themes that have a home.php file (like this one) you wouldn’t have to specify which page to set as home since the home.php file takes care of that for you automatically.

        #1489
        sublimity
        Customer

          Great that did the trick, but I still want to use my home page as a static page.   Is it possible to use those widgets and still use the home page as a static page?

          #1490
          Wes
          Moderator

            Yes, but you would have to turn your home.php file into a template file.

            To do so, add this at the top of the home.php file, right under the <?php –

            // Template Name: Home

            Then create a page called “home” (you may have already done this).  In the page editor, make sure and select the “Home” template on the right.  Then you can go back to your settings and select the home page as your static page if you need to.

            #1491
            sublimity
            Customer

              Again, that you.  That totally worked!  But now the static content of the home page is at the very bottom, and I want it at the top (before the Welcome widget).  Is there a tutorial you can point me to that will do that?  I’m guessing I’ll have to use hooks or filters….

              #1492
              Wes
              Moderator

                Yes, when dealing with templates like this you would have to learn how to use the hooks, filters, etc.  I would recommend checking out the StudioPress tutorials – http://www.studiopress.com/tutorials  You could also search for some tutorials on third party blogs/sites on how to customize genesis templates.  I don’t know of any third party sites specifically, but I know there are a lot out there.

                #1494
                sublimity
                Customer

                  Okay, I will do that.  But I just noticed the home page content is not showing up.  It shows the breadcrumb that says home, but that is about it–there is no home page content there.

                  #1495
                  Wes
                  Moderator

                    Thats because this file wasn’t really built for what you’re trying to do.  It was originally designed to show the home widgets, or the blog if you dont have any widgets by default.  If you need anything beyond that, then the file would have to be customized in order to achieve what you’re looking for.

                    I usually offer the code if its something quick and easy, but somethings (like this) can take a while to customize/code.  Thats why I would recommend searching for tutorials, or hiring someone to develop a custom template for you.

                    #1496
                    sublimity
                    Customer

                      Cool.  Thanks for letting me know.  After racking my brains for awhile I found a pretty simple solution.

                      In the home template file (home.php) I changed this:

                      remove_action( ‘genesis_loop’, ‘genesis_do_loop’ );
                      add_action( ‘genesis_after_header’, ‘adapt_home_loop_helper_top’ );
                      add_action( ‘genesis_after_header’, ‘adapt_home_loop_helper_middle’ );
                      add_action( ‘genesis_after_header’, ‘adapt_home_loop_helper’ );

                      to this:

                      //remove_action( ‘genesis_loop’, ‘genesis_do_loop’ );
                      add_action( ‘genesis_before_footer’, ‘adapt_home_loop_helper_top’,3 );
                      add_action( ‘genesis_before_footer’, ‘adapt_home_loop_helper_middle’,3);
                      add_action( ‘genesis_before_footer’, ‘adapt_home_loop_helper’,3);

                      And now the content of the home page (which is static) appears at the top and the features, etc follow afterwards.

                       

                       

                      #1497
                      Wes
                      Moderator

                        Oh ok, I thought you were wanting to do a lot more than that for some reason.

                        You could also add – genesis_after_content if you want……but if what you have is working, and everything else looks fine, then you could just leave it as it is.

                        Also, here is a visual guide on Genesis Hooks – http://genesistutorials.com/visual-hook-guide/  you may have already seen this, but I wanted to link to it just in case.

                      Viewing 10 posts - 1 through 10 (of 10 total)
                      • You must be logged in to reply to this topic.