Forum Replies Created
-
AuthorPosts
-
collegeofwoosterParticipant
Where could I even download a Genesis 2.x.x?
collegeofwoosterParticipantHmm. So why is it working on a desktop but not the mobile? Odd. Thanks.
collegeofwoosterParticipantSanitization working. Marking as resolved.
collegeofwoosterParticipantI think I've got it sorted (using the panel option). get_option() is finding the values and things are behaving as expected. The only thing I'm not sure of is how to sanitize one of my options to make sure it is an integer.
collegeofwoosterParticipantThanks.
collegeofwoosterParticipant@braddalton Do you mean in a newer StudioPress Child theme? My theme does not have a customize.php file. I think that is what I am trying to create. I think I have something working now, but don't see a way to add a panel as a sub-panel like I could add my theme settings as a sub-page of the Genesis page before.
collegeofwoosterParticipantSorry, it was resolved before but I hadn't gotten a chance to get back. Thanks.
collegeofwoosterParticipantgenwrock,
If you look at the HTML output of either of your hook uses you'll see that it is not outputting things the way I want. In either case you will see a single
<aside>
with classes sidebar, sidebar-primary, and widget-area. What I want is two asides one with classes sidebar, sidebar-primary, and widget-area and the other with sidebar, sidebar-secondary, and widget-area where the asides are consecutive in the HTML.The trick is to use
add_action( 'genesis_after_content', 'genesis_get_sidebar_alt' );
.collegeofwoosterParticipantgenwrock,
Thanks.
It is in a local development environment.
I don't think CSS tricks are going to solve it since I want an HTML structure of
<div class="content-sidebar-wrap"> <aside class="sidebar sidebar-primary widget-area" role="complementary" itemscope="itemscope" itemtype="http://schema.org/WPSideBar"> <section class="widget widget_text"> <div class="widget-wrap"> <h4 class="widgettitle">Primary Sidebar Widget Area</h4> <div class="text widget"> <p>This is the Primary Sidebar Widget Area. You can add content to this area by visiting your <a href="http://wpbeta.dev/onsitephysicalrehab/wp-admin/widgets.php">Widgets Panel</a> and adding new widgets to this area. </p> </div> </div> </section> </aside> <aside class="sidebar sidebar-secondary widget-area" role="complementary" itemscope="itemscope" itemtype="http://schema.org/WPSideBar"> <section class="widget widget_text"> <div class="widget-wrap"> <h4 class="widgettitle">Secondary Sidebar Widget Area</h4> <div class="text widget"> <p>This is the Secondary Sidebar Widget Area. You can add content to this area by visiting your <a href="http://wpbeta.dev/onsitephysicalrehab/wp-admin/widgets.php">Widgets Panel</a> and adding new widgets to this area. </p> </div> </div> </section> </aside> <aside class="content" role="main" itemprop="mainContentOfPage" itemscope="itemscope" itemtype="http://schema.org/Blog"> </aside> </div>
and CSS tricks aren't going to modify the HTML structure. Trying to move the Alt Sidebar using the genesis_after_sidebar_widget_area hook results in an HTML structure of
<div class="content-sidebar-wrap"> <aside class="sidebar sidebar-primary widget-area" role="complementary" itemscope="itemscope" itemtype="http://schema.org/WPSideBar"> <section class="widget widget_text"> <div class="widget-wrap"> <h4 class="widgettitle">Primary Sidebar Widget Area</h4> <div class="text widget"> <p>This is the Primary Sidebar Widget Area. You can add content to this area by visiting your <a href="http://wpbeta.dev/onsitephysicalrehab/wp-admin/widgets.php">Widgets Panel</a> and adding new widgets to this area. </p> </div> </div> </section> <section class="widget widget_text"> <div class="widget-wrap"> <h4 class="widgettitle">Secondary Sidebar Widget Area</h4> <div class="text widget"> <p>This is the Secondary Sidebar Widget Area. You can add content to this area by visiting your <a href="http://wpbeta.dev/onsitephysicalrehab/wp-admin/widgets.php">Widgets Panel</a> and adding new widgets to this area. </p> </div> </div> </section> </aside> <aside class="content" role="main" itemprop="mainContentOfPage" itemscope="itemscope" itemtype="http://schema.org/Blog"> </aside> </div>
So I don't think there is a hook that will do what I want. Which is OK but just kind of a pain.
January 8, 2013 at 8:21 am in reply to: Toolbar dropdown flyout menus blank for my child themes #10348collegeofwoosterParticipantLandon,
That is on the theme itself and not the WP Toolbar. You need an account with the service to see the WP Toolbar. Here is what I see
http://www.flickr.com/photos/breitenbucher/8361646058/in/photostream
-
AuthorPosts