Community Forums › Forums › Archived Forums › General Discussion › AgentPress Issue
- This topic has 33 replies, 4 voices, and was last updated 9 years, 12 months ago by RMS.
-
AuthorPosts
-
March 14, 2013 at 9:49 pm #26967AnitaKeymaster
Oh we were responding at the same time. Glad you got it to work.
Love coffee, chocolate and my Bella!
March 14, 2013 at 9:51 pm #26968AnitaKeymasterMake sure you backup everything tonight! Go to Tools > Export and export that file! Then... go to Genesis > Export and export that file also.
Love coffee, chocolate and my Bella!
March 14, 2013 at 9:51 pm #26969NBMEDICMemberFor sure 😉 Thanks again, I'll submit a ticket right now.
April 25, 2014 at 9:37 am #102320RMSMemberHello, I am having the same issue now with the fonts. I really preferred the AgentPress theme's font that is in the demo. Any idea how I can change that back? Thanks!
April 25, 2014 at 10:16 am #102324electricbrickParticipantRay, have you tried all the steps that NBMEDIC went through?
April 25, 2014 at 10:36 am #102328AnitaKeymasterI think I might have found the little booger! Look for this in your style sheet:
font-family: ‘Droid Serif’, arial, serif;
Change out the "apostrophes" so it looks like this:
font-family: 'Droid Serif', arial, serif;
I used a diff checker and the only thing I see is that these are in the style sheet incorrectly.
Love coffee, chocolate and my Bella!
April 25, 2014 at 10:47 am #102329AnitaKeymasterAs a matter of fact, check all of the font-families and make sure the apostrophes are correct.
Love coffee, chocolate and my Bella!
April 25, 2014 at 10:53 am #102330RMSMemberThank you very much!
I have one other question:
On my listings, it shows the Year, Make and Model, and mileage of the Vehicle. I want to delete the mileage so that it will just be year, make and model. (i.e. 2006 Mercury Montego). Any ideas where to start? I am a complete novice on all this. Small business trying to do it myself.
Thanks in advance!
April 25, 2014 at 10:55 am #102331RMSMemberJust saw your post to check all font families. That did it. Thank you, you are a saint 🙂
April 25, 2014 at 10:57 am #102332AnitaKeymasterNot a saint, but an former old school secretary - proofread, proofread, proofread! And, I used to be an analyst! For the listings, check your listings archive template or if you have a single listings page. It could be there. If not, one other shot would be the functions.
Love coffee, chocolate and my Bella!
April 25, 2014 at 12:23 pm #102347RMSMemberI've looked there, but not exactly sure what to delete?
April 25, 2014 at 12:29 pm #102349electricbrickParticipantHere's sample code for a filter you can add to functions.php to alter the widget as well.
listing-city-state-zip is what you likely want to change. Unfortunately, I can't delve much more into that as I am at work.
add_filter( 'agentpress_featured_listings_widget_loop', 'agentpress_featured_listings_widget_loop_filter' ); /** * Filter the loop output of the AgentPress Featured Listings Widget. * */ function agentpress_featured_listings_widget_loop_filter( $loop ) { $loop = ''; /** initialze the $loop variable */ $loop .= sprintf( '<a href="%s">%s</a>', get_permalink(), genesis_get_image( array( 'size' => 'properties' ) ) ); $loop .= sprintf( '<span class="listing-price">%s</span>', genesis_get_custom_field('_listing_price') ); $custom_text = genesis_get_custom_field( '_listing_text' ); if( strlen( $custom_text ) ) $loop .= sprintf( '<span class="listing-text">%s</span>', esc_html( $custom_text ) ); $loop .= sprintf( '<span class="listing-address">%s</span>', apply_filters( 'genesis_post_title_text', get_the_title() ) ); $loop .= sprintf( '<span class="listing-city-state-zip">%s %s, %s</span>', genesis_get_custom_field('_listing_city'), genesis_get_custom_field('_listing_state'), genesis_get_custom_field('_listing_zip') ); $loop .= sprintf( '<a href="%s" class="more-link">%s</a>', get_permalink(), __( 'View Listing', 'apl' ) ); return $loop; }
April 25, 2014 at 2:07 pm #102360RMSMemberI appreciate that. I've tried tinkering with it, but if I delete only the "zip" section (which correlates with mileage in my case), it will only end up showing the "address" (or year for me). Not sure where to go from there...
April 26, 2014 at 9:41 am #102436RMSMemberFinally figured it out!
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.