Chip Bennett
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Getting the copyright off the bottom right hand cornerYou’re using the hosted blogging service wordpress.com. You need to use wordpress.com support.
Forum: Plugins
In reply to: [cbnet Multi Author Comment Notification] Double notification emailsNo worries. I’m happy to be able to support my Plugins!
I just pushed version 2.1.1, which should fix this issue. Please let me know if you still have issues with multiple emails, or if you experience any other issues.
Thanks again!
Forum: Plugins
In reply to: [Bitly's Wordpress Plugin] Permission not grantedI just pushed version 1.0.1, which fixes this issue.
Thanks again for reporting it, and let me know if you have any other issues!
Forum: Plugins
In reply to: [cbnet Multi Author Comment Notification] Double notification emailsOkay, I just tested this, and was able to reproduce it. Should be easy to track down; I’ll try to get a fix out shortly.
Thanks for reporting!
Forum: Plugins
In reply to: [cbnet Multi Author Comment Notification] Double notification emailsHmm, that’s an interesting one. Are you 100% sure the emails are going to the same email address? (e.g. is it possible that one is a forwarded email or alias?)
Forum: Plugins
In reply to: [Bitly's Wordpress Plugin] Permission not grantedOkay, I see what I did:
I moved the Plugin settings to
Dashboard -> Settings -> Writing, but forgot to change the link on the Manage Plugins page. I’ll fix that and push it out, but in the meantime, just go toDashboard -> Settings -> Writing.Forum: Plugins
In reply to: [Bitly's Wordpress Plugin] Permission not grantedHmm… I’m getting that now, too. Well that’s… neat.
I’ll investigate, and should have a fix pushed out tonight or tomorrow morning.
Thanks for reporting!
Forum: Plugins
In reply to: [Bitly's Wordpress Plugin] Permission not grantedTo what user role is your username assigned? Administrator, Editor, or Author?
Forum: Themes and Templates
In reply to: Editing the comment formLogin in to you Control Panel.
Open wp-includes folder from File Manager.
Select comment-template.php and Click Edit
For more detailsIn wordpress 3.0 it is different so follow this method.
NO NO NO NO NO!Do NOT do this. Do not edit core files unless you absolutely know what you’re doing.
And do not advise users to edit core files.
Hi Francois,
The reason that the older version works is that it unhooks
wp_notify_postauthor(), and calls its own function. If it still works, that’s great. But it is very old, and fairly bad, code. 🙂Francois,
I just tested it on my development install, and it works just fine for me: I set an arbitrary user to receive email notifications, then posted a test comment. That user received the email notification, in addition to the post author receiving the email.
What other Plugins do you have installed/active, that might be interfering with the email notification?
Note that I’m now overriding the
wp_notify_postauthor()pluggable core function, so if another Plugin is also overriding that function, that may be the problem.Forum: Plugins
In reply to: [cbnet Different Posts Per Page] Custom post typesOne question though; what do I replace the part where my name is with?
You don’t have to change that. You can use it as-is. 🙂
Forum: Plugins
In reply to: [cbnet Different Posts Per Page] Custom post typesHi Martjinchel,
Unfortunately, one of the (perhaps temporary) casualties of completely rewriting the Plugin was removing the ability to add arbitrary categories/post types/etc. I am exploring ways to re-implement that functionality, and if I find something I like, I’ll be sure to add it in again.
In the meantime, you can add it yourself, fairly simply, with the following hook/callback (which should be placed in
functions.phpor in a site-specific Plugin). Assuming you have:CPT: ‘foo’
Posts per page: 5
Order: ascendingCPT: ‘bar’
Posts per page: 3
Order: descendingfunction martjinchel_filter_pre_get_posts( $query ) { if ( is_post_type_archive( 'foo' ) && $query->is_main_query() ) { $query->set( 'posts_per_page', '5' ); $query->set( 'order', 'ASC' ); } if ( is_post_type_archive( 'bar' ) && $query->is_main_query() ) { $query->set( 'posts_per_page', '3' ); $query->set( 'order', 'DESC' ); } } add_action( 'pre_get_posts', 'martjinchel_filter_pre_get_posts', 11 );This is, in fact, all the Plugin does now. Just wash, rinse, and repeat for each custom post type you need to modify. By adding priority
11, you ensure your code executes after the Plugin, so your query filters will take precedence.Francois,
Thanks for the explanation. Let me take a look, and do some testing. It was working for me before I released, but maybe something changed?
Hi Francois,
Can you provide more detail? What stopped working?