I would greatly appreciate if you guys can help me with this problem I have been having. I don't know if anyone else has already found a way to fix this.
I am adding the Featured Posts widget to my News Child Theme using Genesis but when I add it to my homepage it will make the recent posts on my homepage go away.
I am trying to add the Genesis Featured Posts Widget on top of the recent posts to show some of the posts as featured and on top of the recent posts. Is there any way of doing this without making the recent posts go away. Is there any other way I can add featured posts on top of the recent posts?
Please and thank you for all the help.
You could re code your home.php file or add a recent posts widget into the top widget or easily add another widget area full width or full content width.
Once you populate the home page widgets, you lose the blog effect which lists your latest posts.
How would I do that?
No one has done this before? Please Help.
Can you please link to your site thanks.
Firstly, take a look at this hook map and make a decision on which hook you want to use as far as positioning your custom widget.
Then you can add that hook to a custom function.
Code not displaying? Grab it on Github.
Please copy the code from the view raw link and paste it at the end of your child themes functions.php file using a text editor like Notepad++
Brad I added that code to the bottom of the functions.php file for the child theme and It gave me an error something wrong with functions.php line 139.
I looked at line 139 and it is saying something is wrong with this section of the code you gave me.
genesis_register_sidebar( array( 'id' => 'before-content', 'name' => __( 'Before Content', 'child theme' ), 'description' => __( 'Displays Before Content Home Page Only.', 'child theme', >>>>>>> ) ); <<<<<<<< The code with the arrows pointing to it is line 139. I added those to point out the line of code it is having a problem with.
Yes, sorry about that. I need to test it to find out.
You must be logged in to reply to this topic.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!