Forum Replies Created
-
AuthorPosts
-
arretx
MemberOkay guys, I've answered my own question with the help from the Andrea Whitmer over at http://www.NutsAndBoltsMedia.com.
In the functions file, I added the following:
genesis_register_sidebar( array( 'id' => 'pagewidget', 'name' => __( 'Page Widget', 'nabm' ), 'description' => __( 'This is the widget area for a specific page.', 'nabm' ), ) ); add_action( 'genesis_after_entry', 'nabm_add_page_content' ); function nabm_add_page_content() { if(is_page()) { genesis_widget_area( 'pagewidget', array( 'before' => '<div class="entry">', ) ); } }
If you look below any page entry, you'll see a new widget area on my site at http://www.RealScottsdaleLiving.com
August 28, 2014 at 3:12 pm in reply to: Is there a way to paginate long Pages rather than Posts? #121567arretx
MemberBrian, I got it.
August 28, 2014 at 2:53 pm in reply to: Is there a way to paginate long Pages rather than Posts? #121564arretx
MemberThanks Brian. I figured that out, but now I'm struggling to find a way to add Next and Previous links at the top and/or bottom of the page.
arretx
MemberI had to move the code around in the home.php file to re-position the widgets. The functions.php file seems to simply define the existence of widgets, but home.php calls the function and displays the widget.
My question is how to make this happen in my custom functions so it's not overwritten the next time the theme is updated.
This site shows the "welcome" widget above the "slider and top search" widgets.
arretx
MemberIt looks like in the CSS there was a no-repeat defined, which, after being removed, solved the problem ??? Strange.
arretx
MemberProblem solved. If all 4 widgets areas have a widget in them, they will all show. If only one of them does not call any information, none of them will show.
If you are using widget logic, you may have a widget in one of the footer widgets that only displays under certain conditions, in which case, none of the other widgets will show unless that condition is met.
arretx
MemberOn the other hand, it looks like it's embedded inside the genesis widget core files and I'm at a loss on the code. Any other suggestions?
January 14, 2013 at 2:38 pm in reply to: Landscape – Suggested ways to customize page backgrounds… #11903arretx
MemberOkay, no need for an answer. I figured it out.
On the page I want to modify, in "Layout Settings" simply add a custom class (make it up) and put it in the BODY field, then save your page.
In Appearance -> Editor, edit the child theme's CSS file and add the following:
.custom-class #inner { whatever whatever }
"whatever" will be the result on that page. So, let's say you wanted a blue background on a few different pages, a red background on a few others, and only one page with a yellow background.
On each page that you want to be blue, add the custom class you created in the Body field, and so on.
-
AuthorPosts