Forum Replies Created
-
AuthorPosts
-
January 1, 2017 at 12:26 pm in reply to: Breadcrumb appearing twice after upgrading to latest version of Genesis #198564
justcurious
MemberPerfect, thank you so much Victor and a happy 2017 to you!
January 1, 2017 at 11:15 am in reply to: Breadcrumb appearing twice after upgrading to latest version of Genesis #198558justcurious
MemberThank you so much Victor! That is weird, I have emptied the page caches and tried on several devices/browsers. Here is what I see in the page source code:
<div class="breadcrumb"><span class="breadcrumb-link-wrap" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"><a href="http://www.nstperfume.com/2016/" itemprop="item"><span itemprop="name">2016</span></a></span> / Browsing by date: December 2016</div><div class="archive-description date-archive-description archive-date"><h1 class="archive-title">Archives for December 2016</h1></div>
It's that redundant "Archives for December 2016" that I don't want to appear (and it didn't used to be there, and still does not appear for other breadcrumb types), but you're not seeing it at all?
February 28, 2015 at 1:32 pm in reply to: How to display number of comments when comments are closed #142674justcurious
MemberWow, thanks, had long since given this up as not being worth the time to fix. But just implemented, works great and very useful to have.
Again, thank you, that was really nice of you to share!
January 4, 2014 at 8:55 am in reply to: How to display number of comments when comments are closed #83118justcurious
MemberOutsidethebox, I never totally solved it for the post entry meta...I show when comments are closed, but if comments are closed and there are already existing comments, the number of comments only appears below the post. Here is what I'm using for post entry meta:
add_filter( 'genesis_post_info', 'my_post_info_filter' ); function my_post_info_filter( $post_info ) { if ( ! comments_open() ) { $post_info = 'Posted by [post_author_posts_link] on [post_date] — Comments are closed [post_edit]';} else { $post_info = 'Posted by [post_author_posts_link] on [post_date] [post_comments zero="Leave a Comment" one="1 Comment" more="% Comments"] [post_edit]';} return $post_info; }
And here is what I use to show the number of comments at the bottom of the post:
add_action( 'genesis_before_comments', 'my_before_comments', 15); function my_before_comments() { if ( ! comments_open()) { return __(comments_number( '<h3>Comments are closed</h3>', '<h3>1 Comment — Comments are closed</h3>', '<h3>% Comments — Comments are closed</h3>' ), 'genesis' ); } else { return __(comments_number( '<h3>No Comments</h3>', '<h3>1 Comment</h3>', '<h3>% Comments</h3>' ), 'genesis' ); } }
Note that that is BEFORE genesis_title_comments, so you need to do something with that...either filter it out altogether, or what I did was filter genesis_title_comments to display a link to my comment policy.
If you come up with a better solution, hope you'll post it here!
justcurious
MemberI have switched theme frameworks several times and seen no such problems. You need to be sure your SEO settings are whatever they should be -- I suppose if you had your SEO settings done properly in one framework (or SEO plugin) and then lost those settings in another, you could have a problem. You could also have a problem if you set your blog up in such a way as to prevent Google from finding your content easily, but if anything, you'd have to go out of your way to mess that up in either Thesis or Genesis.
justcurious
MemberAnother option is to use a local install. If you google 'wordpress local install', you'll find lots of different ways to do that. I use Instant WP which is pretty easy. The one drawback is that it's not really possible to duplicate your live environment 100%, but you can come pretty close, and I have found it a great way to work and also to fiddle around with the site after you take it live.
October 24, 2013 at 1:13 pm in reply to: How to display number of comments when comments are closed #68674justcurious
MemberThank you both! I am a little worried about the plugin because it has not been updated in so long, and Summer, I can't disable comments in settings -- I do want new comments on most posts, but need to close them on some posts.
I have finally figured out how to do this for the Comment title at the bottom of single posts, so will eventually manage to get it working in the post meta.
-
AuthorPosts