August 13, 2014 at 5:26 pm #118671
My site is in maintenance mode.
For the eleven40 Pro theme, how do you remove the genesis grid from the front page? I'd prefer not to have any posts displaying; just on my blog page.
I found a tutorial for Minimum Pro, but I'm not sure how to do this for eleven40 Pro.
I thought I could do this from the WP dashboard, but I don't see any options that control what displays on the home page. There is a static page option, but that requires creating a landing page. I don't understand landing pages. Isn't that what shows up on the homepage of any website?
I did try creating one, but it wiped out everything. I just assumed I could deconstruct the out-of-the-box theme by removing and then adding things using my functions file.
Thank you!August 13, 2014 at 5:29 pm #118672
It works by the grid. What else will be there if you don't have the grid.
Love coffee, chocolate and my Bella!August 13, 2014 at 5:33 pm #118673
I don't know what you mean.
I don't want any blog post content displaying on the front page. It shows one full-length post, followed by a grid of excerpted posts.
This is an author website. She doesn't need blog content on her home page, so I want to remove it. There's a nav link for blog posts.
I have an image for the site title and nav links to the right. Then I have a custom banner widget for a slider. Below that I am creating a row of two side-by-side widgets for her author photo and description. Then a row of three side-by-side book reviews.
I just need to remove the blog component.August 13, 2014 at 5:40 pm #118674
Then you need to create a new home page template. Just removing the grid will not provide you with widget or anything like that. You can, however, just create a page and set it as a static home page under Settings > Reading.
Love coffee, chocolate and my Bella!August 14, 2014 at 8:31 am #118778
I already created the widgets.
So I guess eleven40 and Minimum are different in more ways than just the backstretch feature. I was able to easily remove the grid and blog posts from the Minimum home page without having to create a new file.
I did create a page and made it static as the home page. But I don't understand how to implement my design using a page. It's a clean slate, but I'm not sure how to proceed.
That's why I decided to just remove the grid. I thought it would be straight forward. Do I create a home.php file?August 14, 2014 at 8:42 am #118783
Okay, I remember doing this for my first StudioPress website using the eleven40 theme.
You just change the home.php file to home.txt. I found that online and it works.
For anyone reading this, the home.php file is literally the home of the grid loop! Hide the home by renaming the extension, and the grid doesn't display.
I'll try it with eleven40 Pro and see if I get the same results and will post back here.
:o)August 14, 2014 at 8:45 am #118785
But that wasn't your question @WiggleChicken. Renaming the home.php for eleven40 will remove the grid, but just give you a page of blog posts. It will not give you any type of widget areas.
Love coffee, chocolate and my Bella!August 14, 2014 at 8:53 am #118787
My question is clearly stated in the first paragraph of my OP. :o)
I'm not asking how to magically 'get' widget areas. I am asking how to remove all blog content from the home page. On the other website I designed, I recall wanting full blog content on the home page; not just removing the grid.
So I am left with full length blog posts. Lots of folks don't want any blog content on the home page. Are they creating a static page, then?
I'm not sure how this works.August 14, 2014 at 9:16 am #118792
This article by Bill Erickson helps me understand the purpose of the home.php and front-page.php files. I've been needing this education. It's been a missing link in my understanding of how Genesis functions.
:o)August 14, 2014 at 9:42 am #118795
This is what you wrote:
how do you remove the genesis grid from the front page? I’d prefer not to have any posts displaying; just on my blog page.
So when you wrote "just on my blog page" I interpreted that as you have an actual Page called Blog with your blog posts on it. You didn't say, "I would prefer just a page of full blog posts." That's where the confusion came in. Had you worded it that way, I could have easily provided the answer that you came to.
Love coffee, chocolate and my Bella!August 14, 2014 at 9:47 am #118799
You seemed stuck on language involving widgets.
I don't understand the confusion.
Like the title of this discussion says, I would like to remove blog content from the front page. As the first paragraph says, my blog content now lives on a blog page.
How would you remove blog content from displaying on the front page?
Thank you.August 14, 2014 at 9:56 am #118800
I was stuck because you then wrote "I just assumed I could deconstruct the out-of-the-box theme by removing and then adding things using my functions file."
Then you wrote this, "I don’t want any blog post content displaying on the front page." But now you say you wanted a page full of blog posts.
Then you wrote this, "This is an author website. She doesn’t need blog content on her home page, so I want to remove it. There’s a nav link for blog posts."
Then you wrote, "For anyone reading this, the home.php file is literally the home of the grid loop! Hide the home by renaming the extension, and the grid doesn’t display." Which will give you a page of blog posts!
Now you write, "How would you remove blog content from displaying on the front page?" Which I told you that in the beginning. You need a static page! Create a Page, then go to Settings and select your newly created Page from the Drop Down.
Sooo I am not really stuck.. I am trying to interpret what you need and since I am doing such a poor job of it. I will unsubscribe from this post and maybe someone else can interpret exactly what you want. Any other messages you write, I will not get because I am unsubscribing. Someone else will need to help you.
Love coffee, chocolate and my Bella!August 14, 2014 at 10:05 am #118801
My goodness, Anita. I am very perplexed.
Others have been able to help me. For anyone reading this, the solution is simple. In response to a question I asked on the above referenced blog post, just create a Home page, set it as static in the dashboard settings, and then use a conditional tag to ship the functions.php content over to the new front page.
It's so easy and does exactly what I want. I'm so glad to be learning about the things I've kind of ignored over the years!
:o)August 14, 2014 at 10:10 am #118803Genesis DeveloperMember
You need to edit the home.php file. Change this line
add_action( 'genesis_loop', 'eleven40_grid_loop_helper' );by this
//add_action( 'genesis_loop', 'eleven40_grid_loop_helper' );And save the file. So you will not get any post on your home page.
August 14, 2014 at 10:14 am #118804
Oh, so an alternative would be to comment out that line of code?
I reversed the changes I made in the settings and tried this, and it works great. Thank you so much.
So now there are two ways to accomplish this. I love everything I'm learning!
I put an asterisk in like this . . . //*
Can you comment out code without it? I've seen it done different ways in my files.
:o)August 14, 2014 at 10:32 am #118807Genesis DeveloperMember
You can comment out a PHP code in two ways
2. /* YOUR CODE */
August 14, 2014 at 10:34 am #118808
It worked using //* . . .
But I've never really known how to do this. Thank you!
- The topic ‘eleven40 Pro — Remove blog posts on the front page’ is closed to new replies.