Forum Replies Created
-
AuthorPosts
-
jonahgirlMember
I went over to the theme website and asked that question via the support link. This is the reply I received about having a regular horizontal menu for desktop view:
As of right now, there is no support for a horizontal nav. It would be a fairly complex procedure to remove the side-menu support and to restyle the primary navigation, but it's possible if you know you're way around jQuery and CSS.
Hope this helps.
Melanie
jonahgirlMemberThanks Michael,
Even the FB debug was showing the thumbnail. Weird.
MelaniejonahgirlMemberNumber of posts was not my issue. The Read More link stopped working...yes I did get a fix.
Nick gave me the answer to add this to my home.php fileglobal $more; $more = 0;
So it looks like this
<?php add_action( 'genesis_meta', 'education_home_genesis_meta' ); /** * Add widget support for homepage. If no widgets active, display the default loop. * */ function education_home_genesis_meta() { global $paged; if( $paged < 1 ) { if ( is_active_sidebar( 'slider' ) || is_active_sidebar( 'intro' ) || is_active_sidebar( 'featured' ) || is_active_sidebar( 'call-to-action' ) ) { add_action( 'genesis_before_content', 'education_home_loop_helper', 1 ); } } } function education_home_loop_helper() { echo '<div id="home-featured">'; genesis_widget_area( 'slider', array( 'before' => '<div class="slider widget-area">' ) ); genesis_widget_area( 'intro', array( 'before' => '<div class="intro widget-area"><div class="inner">', 'after' => '<div class="clear"></div></div></div><!-- end .intro -->' ) ); genesis_widget_area( 'featured', array( 'before' => '<div class="featured widget-area"><div class="inner">', 'after' => '<div class="clear"></div></div></div><!-- end .featured -->' ) ); genesis_widget_area( 'call-to-action', array( 'before' => '<div class="call-to-action"><div class="banner-left"></div>', 'after' => '<div class="banner-right"></div></div><!-- end .call-to-action -->' ) ); echo '</div>'; global $more; $more = 0; } add_action( 'pre_get_posts', 'be_include_category_from_blog' ); /** * Include Category from Blog * * @author Bill Erickson * @link http://www.billerickson.net/customize-the-wordpress-query/ * @param object $query data * */ function be_include_category_from_blog( $query ) { if( $query->is_main_query() && $query->is_home() ) { $query->set( 'cat', '4' ); } } genesis();
The grid loop fix is needed in the functions.php file would control the number of posts on the home page
By setting the total number of posts per page that should fix the grid number run amok..set this to 5/** * Possibly amend the loop. * * Specify the conditions under which the grid loop should be used. * * @author Bill Erickson * @author Gary Jones * @author Travis Smith * @link http://code.garyjones.co.uk/genesis-grid-loop-advanced/ * @link http://wpsmith.net/2013/genesis/genesis-grid-loop-in-genesis-1-9/ * * @return boolean Return true of doing the grid loop, false if not. */ function wps_is_doing_grid_loop() { // Amend this conditional to pick where this grid looping occurs. // This says to use the grid loop everywhere except single posts, // single pages and single attachments. return ( ! is_singular() ); } add_action( 'pre_get_posts', 'wps_include_cat_in_grid' ); /** * Limit Query to one Category * * @author Bill Erickson * @author Travis Smith * @link http://www.billerickson.net/customize-the-wordpress-query/ * @link http://wpsmith.net/2013/genesis/genesis-grid-loop-in-genesis-1-9/ * @param object $query WP Query data * */ function wps_include_cat_in_grid( $query ) { if( $query->is_main_query() && $query->is_home() && wps_is_doing_grid_loop() ) { $query->set( 'cat', '4' ); $query->set( 'posts_per_page', '2' ); } }
Hope you get it worked out.
meljonahgirlMemberThe back up was set up as test in another folder. The live site is still "broken"
jonahgirlMemberSince you want it on all your pages the easiest method would be to use Genesis Simple Hooks. If I knew what slider you were planning on using I could write the code for the hook for you. Just turn off the breadcrumbs...
Melanie
December 15, 2012 at 4:16 pm in reply to: Wanted: Expert to "Pair Program" with me whilst sharing my screen #5458jonahgirlMemberJohn,
I sent you an email. I can also provide references.
Melanie
jonahgirlMemberWhen code doesn't work but the same code works in Firebug...usually means the code isn't right. I noticed that the code you put in the post is missing a ";" at the end of the background line.
Sometimes it is something simple...
-
AuthorPosts