Forum Replies Created
-
AuthorPosts
-
September 5, 2016 at 9:13 am in reply to: Rearrange Dropdown Search Options – AgentPress Listings #192635asterbirdMember
Hello sbcmurphy, I have the same question. Did you find a solution?
asterbirdMemberis there an
add_image_size(...)
in your functions.php file? It looks like they are widgets... try choosing a different image size in the widget options.asterbirdMember@thanhlm85 the link is no longer working. Do you still need help with this?
asterbirdMemberHi Rob,
I know this is a little late, but I found a solution and wanted to share...
I was able to switch out get_permalink() for relevanssi_get_permalink() by adding the following to my child theme's search.php (if you don't have one, copy the one from Genesis core and paste it into your child theme folder):
//* Modify post titles to add Relevanssi permalink // help from http://adamcap.com/code/filter-genesis-h1-post-titles-to-add-for-styling/ add_filter( 'genesis_post_title_output', 'child_post_title_output', 15 ); function child_post_title_output( $title ) { // change h2 to h1 depending if you have a search page title or not $title = sprintf( '<h2 class="entry-title" itemprop="headline"><a href="%s" rel="bookmark">%s</a></h2>', esc_url( relevanssi_get_permalink() ), apply_filters( 'genesis_post_title_text', get_the_title() ) ); return $title; }
I was doing Woocommerce as well, so some of this might not apply...
// Modify content to add Featured Images and Relevanssi permalink remove_all_actions( 'genesis_entry_content' ); add_action( 'genesis_entry_content', 'child_do_post_excerpt' ); function child_do_post_excerpt() { // Get featured image if page or post the_post_thumbnail( 'medium', array( 'class' => 'alignright' ) ); // Get featured image if WooCommerce product category global $post; $thumbnail_id = get_woocommerce_term_meta( $post->term_id, 'thumbnail_id', true ); echo wp_get_attachment_image( $thumbnail_id, 'medium', '', array( 'class' => 'alignright' ) ); // Get excerpt rather than the_content() so Relevanssi can grab a snippet and highlight search terms the_excerpt(); // Get 'Read More' link with Relevanssi permalink echo '<a class="read-more-link" href="' . esc_url( relevanssi_get_permalink() ) . '">View more »</a>'; }
Hope that helps!
asterbirdMemberLooks like you have a nice search working on your site... Did you resolve this?
April 9, 2014 at 1:05 pm in reply to: AgentPress Listings search shows archive page not taxonomy page #99384asterbirdMemberHi Susan,
Well Yes and No. I ended up solving my problem, but in a different way. Since the taxonomy.php wasn't being called when searching for listings but always the archive-listings.php, I created a conditional on archive-listings.php.
I've never seen wp work this way, and it might stop working on future updates. But for now this is working. Basically I have this in archive-listings.php:
if( is_tax() ) {
show listing search results (whatever was in taxonomy.php)
}
else {show listings
}
Thanks for asking!
asterbirdMemberHi @mindyjoy, add the following to the bottom of your stylesheet. Then you can tweak from there, or add in with your other media queries if you want:
@media all and (max-width: 900px) and (min-width: 501px) { .header-image .site-title a { min-height: 140px; } .title-area { height: 140px; } } @media all and (max-width: 500px) { .header-image .site-title a { min-height: 100px; } .title-area { height: 100px; } }
asterbirdMemberGreat! Glad I could help.
Question, did you create the newsletter widget area / design yourself? I couldn't find it in Streamline Pro I just started using it for a website and wondered how you had it.
asterbirdMemberI think the last step is that you need to apply this template to a WP Page. So create a new page under Pages, and name it Archives (or whatever you want the title to be in the Menu). Then assign that page to your new template in the Page Attributes panel on the edit screen. Then view that page and see if your new changes show up.
Then you'll have to add this new page to your menu instead of the custom link.
Let me know if you have trouble doing this!
asterbirdMemberThis might be what you want: http://www.carriedils.com/custom-post-type-archive-template/
More tips:
http://sridharkatakam.com/custom-archive-page-template-genesis/
http://www.carriedils.com/genesis-2-0-archive-settings-custom-post-types/You can also try to search for a plugin that lists posts or something. I usually like to create a WP page and template. --
Create a template named Ultimate Guides, then create a WP page named Ultimate Guides and assign it to the Ultimate Guide template. Customize the template to show what you want. You have to know PHP and have FTP access to add .php files to the theme. Are you comfortable trying this? I can try to help you if you'd like to do it this way.asterbirdMember@thom, to change background of your nav, add this to your css
#nav .wrap { background: blue; }
@Toon Verlinden, can you add a submenu so I can find where to change the color for you?
January 29, 2014 at 5:05 pm in reply to: Reduce navigation bar Streamline Pro keeping text & pointer positions #87742asterbirdMemberoh, just saw this on another thread about using firebug to troubleshoot css http://www.studiopress.com/tips/using-firebug.htm
January 29, 2014 at 5:03 pm in reply to: Reduce navigation bar Streamline Pro keeping text & pointer positions #87741asterbirdMemberCan you view your local dev site on Chrome or Firefox? Use Chrome's Developer Tools or a free plugin for Firefox called Firebug. Then you can see how the css and html fit together.
I think the class
nav-primary
is a div that holds the menu. Then inside that the menu ul has a classgenesis-nav-menu
. The div with an id ofresponsive-menu-icon
is actually a mobile menu ul that is hidden on desktops. This is off the top of my head, so I'm not positive, that something like that.Glad you got it fixed! you can mark this topic resolved at the top if you have what you need 🙂
January 29, 2014 at 1:49 pm in reply to: Reduce navigation bar Streamline Pro keeping text & pointer positions #87720asterbirdMemberI just started working with Streamline for a new project. Trying to do the same thing. Maybe try this:
around line 1178
.nav-primary .genesis-nav-menu a::before { content: ""; display: block; font-size: 30px; font-size: 3rem; height: 24px; margin-top: -1px; margin-top: .1rem; text-align: center; text-shadow: none; }
I did use this too around line 1050
.genesis-nav-menu a { line-height: 0; }
asterbirdMemberHave you tried adding a custom link to your menu? Add your archive page as a custom link: http://www.anthonygalli.com/archives-2/
January 29, 2014 at 9:24 am in reply to: Outreach Pro page background vs home page background #87684asterbirdMemberglad to know 🙂 please mark as resolved at the top
asterbirdMemberur welcome 🙂 you can mark this issue resolved if it is
asterbirdMemberI've seen a couple js solutions over in the WP forums, you might want to search "add target blank to a href" or something like that over there. quite a few topics come up.
I don't know of any php functions, perhaps others can chime in. Sorry.
asterbirdMembercool 🙂 you can mark this topic as resolved then
asterbirdMemberonly others I can think of are body.blog for blog pages, body.archive for CPT archives, not sure what search, category, and tag pages are.
-
AuthorPosts