Forum Replies Created
-
AuthorPosts
-
lizmsolutionsParticipant
Update - I copied the wrong code - this is what I'm using -
<?php /** * Genesis Framework. * * WARNING: This file is part of the core Genesis Framework. DO NOT edit this file under any circumstances. * Please do all modifications in the form of a child theme. * * @package Genesis\Templates * @author StudioPress * @license GPL-2.0+ * @link http://my.studiopress.com/themes/genesis/ */ add_action( 'genesis_before_loop', 'genesis_do_search_title' ); /** * Echo the title with the search term. * * @since 1.9.0 */ function genesis_do_search_title() { $title = sprintf( '<div class="archive-description"><h1 class="archive-title">%s %s</h1></div>', apply_filters( 'genesis_search_title_text', __( 'Search Results for:', 'genesis' ) ), get_search_query() ); echo apply_filters( 'genesis_search_title_output', $title ) . "\n"; } genesis();
forgot to revert a change. I don't need the "search results for" heading, just the whole content of the post...
Thank you again...
Liz Martinez
lizmsolutionsParticipantyes, the layout is set properly -- I want sidebar - content - sidebar --- but within those settings there is no way to tell that I want the left sidebar to be the primary sidebar --- but because it is the more narrow sidebar, it is set as the secondary sidebar and the container keeps the content and right sidebar ----
somehow I need to change that container so it goes around the sidebar and content --- which is beyond the standard settings in the genesis theme settings section ...
I'm sure it is something easy that i am overlooking and perhaps that is frustrating me even more, but I just cannot find it ...
thank you again ...
lizmsolutionsParticipantthank you for your help. I am having a love-hate relationship with the Outreach theme right now, I cannot find the file where that is set so i can change it ... I can find the style settings in the style sheet, but I can't find which theme file is setting where that div is actually started so I can adjust the container to have the sidebar and content -- not content-sidebar...
I appreciate your assistance 🙂
lizmsolutionsParticipantthe current layout (which is the "way" that Outreach-Pro has it labeled) is:
Secondary Sidebar - Content - Primary SidebarBut, when you make your browser smaller or view it on a tablet or anything else the layout goes:
Content - Primary Sidebar
Secondary Sidebar (so the secondary sidebar goes below the content and right sidebar)I WANT the responsive version to be:
Secondary Sidebar - Content
Primary Sidebar (so that the primary sidebar goes below the content and left sidebar)I see when i inspect the code that it has "content-sidebar-wrap" --- but what I can't find is where that is set within the actual Genesis or Outreach-Pro files.
Or, do I need to somehow change the sidebar labels so that the Secondary Sidebar becomes "Primary" sidebar and vice-versa?
Thank you again for your assistance with this -- I've been searching for the right settings and just can't seem to find it.
Liz
lizmsolutionsParticipantMy default layout in the Genesis settings is sidebar-content-sidebar --- but, obviously, the responsive settings are content-sidebar --- and the right sidebar is the "primary" sidebar --- I want the left sidebar, the more narrow sidebar in the design, to be the primary sidebar ...
thank you for the assistance.
lizmsolutionsParticipantOk, that sounds like a solution -- but can you tell me what file I need to change that in? I can see the content-sidebar-wrap class in the stylesheet -- but I can't find the template/theme file where the class is set so I can change it ...
Thank you!!!
lizmsolutionsParticipantFigured it out!!!
In case anyone else needs it - this is the page template code that worked:
<?php /** * This file adds the Custom Page template like home to the Outreach Pro Theme. * * @author Brad Dalton * @example http://wpsites.net/ * @copyright 2014 WP Sites */ add_action( 'genesis_meta', 'wpsites_custom_genesis_meta' ); /* Template Name: Custom Page Like Home */ function wpsites_custom_genesis_meta() { if ( is_active_sidebar( 'custom-top' ) || is_active_sidebar( 'custom-bottom' ) ) { //* Force full-width-content layout setting add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' ); //* Add wpsites-pro-custom body class add_filter( 'body_class', 'wpsites_body_class' ); //* Remove breadcrumbs remove_action( 'genesis_before_loop', 'genesis_do_breadcrumbs' ); //* Remove the default Genesis loop remove_action( 'genesis_loop', 'genesis_do_loop' ); //* Add custom top widgets add_action( 'genesis_loop', 'wpsites_custom_top_widgets' ); //* Add the default Genesis loop add_action( 'genesis_loop', 'genesis_do_loop' ); } } function wpsites_body_class( $classes ) { $classes[] = 'outreach-pro-custom'; return $classes; } function wpsites_custom_top_widgets() { genesis_widget_area( 'custom-top', array( 'before' => '<div class="home-top widget-area">', 'after' => '</div>', ) ); } genesis();
lizmsolutionsParticipantOk, that worked to get the widget on the homepage, but for some reason the content from the page is not showing up below the widget -- and I am not sure what is missing from the template page to show the page content ...
Thanks again for all the help!!
Liz
lizmsolutionsParticipantI wish it were that simple - but the code is specific to the home page and while I can see where it is obvious that it says "home" -- I'm struggling with what exactly to replace it with.
That is the homepage code - again, I am sure it is something simple that I am completely missing - I'm just stumped ...
<?php /** * This file adds the Home Page to the Outreach Pro Theme. * * @author StudioPress * @package Outreach Pro * @subpackage Customizations */ add_action( 'genesis_meta', 'outreach_home_genesis_meta' ); /** * Add widget support for homepage. If no widgets active, display the default loop. * */ function outreach_home_genesis_meta() { if ( is_active_sidebar( 'home-top' ) || is_active_sidebar( 'home-bottom' ) ) { //* Force full-width-content layout setting add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' ); //* Add outreach-pro-home body class add_filter( 'body_class', 'outreach_body_class' ); //* Remove breadcrumbs remove_action( 'genesis_before_loop', 'genesis_do_breadcrumbs' ); //* Remove the default Genesis loop remove_action( 'genesis_loop', 'genesis_do_loop' ); //* Add home top widgets add_action( 'genesis_loop', 'outreach_home_top_widgets' ); //* Add home bottom widgets add_action( 'genesis_before_footer', 'outreach_home_bottom_widgets', 1 ); } } function outreach_body_class( $classes ) { $classes[] = 'outreach-pro-home'; return $classes; } function outreach_home_top_widgets() { genesis_widget_area( 'home-top', array( 'before' => '<div class="home-top widget-area">', 'after' => '</div>', ) ); } function outreach_home_bottom_widgets() { genesis_widget_area( 'home-bottom', array( 'before' => '<div class="home-bottom widget-area"><div class="wrap">', 'after' => '</div></div>', ) ); } genesis();
lizmsolutionsParticipantI'm assuming you mean the developer's license of Soliloquy?
Thanks for the info, that is very helpful!
Liz
lizmsolutionsParticipantThanks - but my issue is that both of those sliders still require the "slides" to be created, is there another slider that functions like the Responsive slider where it will pull the featured image and content from posts from specific categories.
The point is for the content to not have to be placed in multiple places - so it doesn't need to be written as a post AND then also created as a slide ...
Any other sliders out there that anyone knows of that will do that?
Liz
lizmsolutionsParticipantYup, I knew it was going to be something easy/obvious that I was missing ... I was using
.home .content .... when I needed to be using .home #content ...Thank you!!!!!!!!
-
AuthorPosts