Forum Replies Created
-
AuthorPosts
-
January 20, 2020 at 8:22 am in reply to: Location of Customize > Additional CSS file in Metro Pro theme #496033webmonkeyMember
Thanks so much, Anita, that did the trick. I was able to restore just the databases from a pre-move Updraft Pro backup. Everything is back to normal. Many thanks.
January 6, 2020 at 5:41 pm in reply to: Trying to remove excerpt from Search Results page only #495823webmonkeyMemberThanks Anita, I have done that.
braddalton, it's working on the Category and Tags archives just fine. Why wouldn't it also work on Search? It used to in the current iteration of the site.
January 4, 2020 at 9:11 am in reply to: Trying to remove excerpt from Search Results page only #495768webmonkeyMemberI mean the point is that it works fine in every other archive page situation except the Search Results.
Genesis is frustrating. Every time I do another site, I run into the same frustrating problems. There are some super basic things that should be built into the theme that are not.
• Logo handling. Why can't Genesis offer a simple solution for logos, where you can upload a desktop and mobile version. It's the most basic identity customization for any website. Genesis tends to offer only one fixed size which may or may not fit the orientation of the client logo, and looks crappy on either mobile or desktop. Basic. Trying to figure this out for each new site is a total waste of time. Build it in.
• Archive display. Really, Studiopress can't build in a bunch of options for how archive pages (what we used to call "index" pages) display post listings? Offer a variety of thumbnail options (full width, square and aligned, etc) in a checkbox/pulldown menu environment. Do you want an excerpt to display. Have this customizable category by category, on the search results page, and on the tag archives separately. But everything has to be coded?
Half the themes don't even include the standard Category description. Amateur hour. Don't disable standard parts of WordPress and don't sell themes that do that. Build it in.
I don't want to be spending half a client project trying to figure out what used to be super simple on the Internet. It makes me think StudioPress has no actual staff with a design focus and has delegated its user experience to programmers who aren't end users.
The whole point of a CMS is to make things easier. It didn't help that StudioPress changed the names of all of its hooks at that last major update of Genesis. And that's such a programmer solution to customization. Get with useability. You'd see half the number the posts on this forum if StudioPress offered more simple customizability. That's why I've been using Divi for about half the sites I do. Because StudioPress requires too much effort to customize.
Back in the day, there was a StudioPress theme called Prose that attempted to do this kind of thing. It was pre-responsive so useless today, but that kind of idea was never explored further.
You're selling to designers, not programmers. Heck even the client should be able to go into the backend and change simple things like font size without going to university to learn how. I'm beyond frustrated with StudioPress. Get some UX people to audit your themes. Build into Genesis some of these things so your rando template designers can't mess things up. Every theme I purchase might as well be from a completely different company. There's no consistency.
January 3, 2020 at 10:30 pm in reply to: Trying to remove excerpt from Search Results page only #495761webmonkeyMemberPS: That image is how it looks like on regular Archive pages where it's working. It works on Archive pages, tag pages, etc., but for some reason behaves differently on the Search Results page.
January 3, 2020 at 10:24 pm in reply to: Trying to remove excerpt from Search Results page only #495760webmonkeyMemberWhat I had going on showed the title and thumbnail, but was missing the two custom fields.
What you posted preserved the title and the two custom fields but lost the thumbnail.
See this image for what I'm aiming for: https://www.dropbox.com/s/8ryemk9llyboylt/ideal-archive.png?dl=0
If there was a way I could insert a class into the <p> tag around all excerpt text, that would be the simplest. Then I could just hide the unwanted Excerpt using CSS.
Here's the code that's putting the two custom fields on archive pages:
<?php if ( is_archive() || is_front_page() || is_search() || is_tag() ) { echo '<div class="archive-title" align="center">'; genesis_do_post_title(); echo '</div>'; if( genesis_get_custom_field( 'gfm-artist' )) echo '<div class="archive-details" align="center"><p><span class="archive-field-name">Artist:</span> <span class="archive-field-value">' . genesis_get_custom_field( 'gfm-artist' ) .'</span><br>'; if( genesis_get_custom_field( 'gfm-price' ) && ! in_category( '571' )) echo '<span class="archive-field-name">Price:</span> <span class="strike archive-field-value">' . genesis_get_custom_field( 'gfm-former-price' ) . '</span> <span class="archive-field-value">' . genesis_get_custom_field( 'gfm-price' ) .'</span></p></div>'; } ?>
January 3, 2020 at 1:00 pm in reply to: Trying to remove excerpt from Search Results page only #495751webmonkeyMemberThanks Anita!
That worked perfectly (in that it preserved the two custom fields) but had the unwanted effect of removing the thumbnail from search results.
It seems that the part:
.search-results div.entry-content
deals with both the thumbnail and the excerpt.It's a shame there's no class on the excerpt itself. That would have been the easiest way...
Any ideas? I'm grateful for any help you can give in resolving this.
October 21, 2019 at 8:12 pm in reply to: Transitioning from Prose to Metro Pro: functions.php question #494158webmonkeyMemberOkay, great. That's the page I needed. Thanks Victor.
webmonkeyMemberI'm not sure I want to hack into the WP search.php, although I could stick tweaks in the child theme.
The weird thing is that WordPress' default is that posts sort by most recent in the tags archives but not, as detailed above, in the search function. I don't understand why there isn't an advanced options section covering things like search.
webmonkeyMemberIt would be way more useful to have search results return just titles, rather than blog-style full posts. It takes forever to scroll through.
webmonkeyMemberHere's the solution for the adding a more link to manual Excerpts:
http://www.studiograsshopper.ch/code-snippets/customising-the_excerpt/Thanks folks.
webmonkeyMemberSadly the Bill code didn't work for me.
March 13, 2014 at 11:45 am in reply to: Portfolio layout not loading pictures correctly – Please help! #94707webmonkeyMemberJacking the min-height of the portfolio up helps. I had to go to 600 pixels high before the layout worked. The Balance theme needs div separation on the Portfolio page.
.page-template-page_portfolio-php .featuredpage .page, .page-template-page_portfolio-php .featuredpost .post { min-height: 600px; }
webmonkeyMemberYes, thank you. Changing the Readings settings worked. Not sure why a custom home page wouldn't override that though. 🙁
I found this code for adding a Read More link to Excerpts, but it's not functioning sadly:
add_filter( 'excerpt_more', 'child_read_more_link' ); add_filter( 'get_the_content_more_link', 'child_read_more_link' ); add_filter( 'the_content_more_link', 'child_read_more_link' ); /** * Custom Read More link. * * @author Greg Rickaby * @since 1.0.0 */ function child_read_more_link() { return '<a class="more-link" href="' . get_permalink() . '" rel="nofollow">Continue Reading...</a>'; }
There has to be a way to hook a permalink at the end of the Excerpt.
webmonkeyMemberThat code you suggested I look at is the code I posted originally. Changing it to 4 from 5 made no difference. This is how this post began.
I get that Excerpts don't have "Continue Reading". I don't want to do the content limit thing, preferring the control of Excerpts. I just need a link/image link at the end of Excerpts. That's got to be doable.
webmonkeyMemberThanks.
Here's the staging site:
http://turbo20.qnop.net/~changing/There are 5 articles on homepage, I just want 4.
At the end of Excerpts, I want a "Continue Reading" link.
webmonkeyMemberBalance respects WordPress Excerpts. I won't use the More tag as that ends up in misery if you start articles with an image. It's a horrible feature. Is there a way to add Continue Reading text to Excerpts?
I am trying to reduce the number of articles visible on the homepage from 5 to 4. That wasn't addressed in this response.
Are you with StudioPress? They don't seem to monitor these forums at all.
webmonkeyMemberThanks Brad. My bad: the footer widgeted areas disappeared.
April 30, 2013 at 4:27 pm in reply to: Genesis Grid Loop teething problems: missing borders/unwanted sidebar shrinkage #38646webmonkeyMemberThanks to help from plugin writer Bill Erickson, I was able to resolve the missing border.
The 2-across Genesis Grid columns are 201 pixels wide each, so a 200 x 200 pixel image with a 1 pixel border is actually 202 wide, hiding the right border of the image.
Resolved this by adding a new image size of 199 x 199 pixels to functions.php, then ran the Regenerate Thumbnails plugin, then selected this new image size in Grid Loop. All good now.
Still no idea about why images are shrinking in the right bar.
webmonkeyMemberYes, it's all win now:
http://66.147.244.62/~grapefr3/Thanks. 🙂
April 29, 2013 at 3:08 pm in reply to: How to exclude a category from the homepage loop when using "Genesis Grid Loop"? #38465webmonkeyMemberThanks Brad, that worked like a treat.
-
AuthorPosts