Mohammad Jangda
Forum Replies Created
-
Forum: Plugins
In reply to: [Lazy Load] [Plugin: Lazy Load] Screws up Facebook OpenGraphThanks for the suggestion. I’ve added the noscript tags in v0.2. Though, worth noting that if you have the og:image tags added to your site, this shouldn’t be an issue.
Forum: Plugins
In reply to: [Lazy Load] [Plugin: Lazy Load] SUGGESTION: Add support for thumbnaildCool, thanks for the suggestion. I’ve implemented it in 0.2.
Forum: Plugins
In reply to: [Co-Authors Plus] [Plugin: Co-Authors Plus] 2.6 not working with WP 3.3Oh, and forgot to say thanks for all the feedback and testing everyone 🙂
Forum: Plugins
In reply to: [Co-Authors Plus] [Plugin: Co-Authors Plus] 2.6 not working with WP 3.3I just pushed a new version that replaces sanitize_key with sanitize_user.
You’d be better off using
add_post_type_support:function mf_add_zoninator_post_types() { $available_post_types = array_values(get_post_types(array('public' => true, '_builtin' => false), 'names')); foreach ( $available_post_types as $post_type ) { add_post_type_support( $post_type, 'zoninator_zones' ); } } add_action('zoninator_pre_init', 'mf_add_zoninator_post_types');Or simply including
'zoninator_zones'in yoursupportsarg when registering your post_type.Yeah, the search is a bit weak right now. With one of the recent updates, I switched it lean more toward better performance than more accurate searches. I’ll see if we can find a good middle ground.
Forum: Plugins
In reply to: [Plugin Notes] edit_plugins capabilityGood idea. Changed http://plugins.trac.wordpress.org/changeset/433775/plugin-notes
Forum: Plugins
In reply to: [Co-Authors Plus] Use just commas to separate authorsIn your
wp-config.phpor your theme’sfunctions.php, add the following:define( 'COAUTHORS_DEFAULT_BETWEEN_LAST', ', ' );Forum: Plugins
In reply to: [Co-Authors Plus] [Plugin: Co-Authors Plus] Upgrading from co-authorsWhen you activate the plugin, it should automatically run the upgrade. However, if you have a lot of posts, it might fail so you may have to run the update manually.
Forum: Plugins
In reply to: [HTML Emails] [Plugin: HTML Emails] question regarding functionalityYou can use the files in the templates folder as a starting point. Just copy them into your theme or your
/wp-content/folder and modify as necessary.Forum: Plugins
In reply to: [Edit Flow] [Plugin: Edit Flow] Remove/Reset Editorial CommentsWe left out a delete option for mainly for audit/transparency purposes.
The disable option for editorial comments was just an oversight; we’ll try to add it in the version. You can remove the box by adding the following code to your theme:
add_action( 'admin_menu', 'x_disable_ef_editorial_comments', 100 ); function x_disable_ef_editorial_comments() { remove_meta_box( 'edit-flow-editorial-comments', 'post', 'normal' ); remove_meta_box( 'edit-flow-editorial-comments', 'page', 'normal' ); }Hope that helps.
Forum: Fixing WordPress
In reply to: Avatars on a blog with multiple authors per postThe docs are a little outdated.
get_the_coauthor_metareturns an array of the requested values for the coauthors, so callingget_the_author_meta( 'user_email' )would return something like:
array (
[123] => 'abc@example.com',
[456] => 'def@example.com'
)
where 123 and 456 are user ids.
You can also just do a custom loop, using
CoAuthorsIteratororget_coauthors()and aforeach loop. See http://wordpress.org/extend/plugins/co-authors-plus/other_notes/Forum: Plugins
In reply to: [Co-Authors Plus] [Plugin: Co-Authors Plus] Migrating complex siteHowever it appears that only the first name displays in the byline. Is this just some code I’m responsible for on my end to get the byline and author boxes to display BOTH authors?
Yes, you need to add the appropriate template tags to get both authors to display when viewing a post. See http://wordpress.org/extend/plugins/co-authors-plus/other_notes/
You have to click on the first author’s name and change it to another author. And this can only be done before the second author is added. So “remove down to one, then change the first”
You should be able to change the first author without adding another one. If it’s not working that way, then it’s a bug.
Forum: Plugins
In reply to: [Edit Flow] [Plugin: Edit Flow] Custom statuses and email notifications@mmkurko Thanks for this reporting that. It’s a known issue and something we’ll try to fix in the next release.
You can try changing line 598 to something along the lines of:
if ( 1 == 2 && function_exists( 'get_users' ) ) {This will force into the alternate search. You can add additional fields (e.g. user_nicename) you want to search through in the $author_fields array, two lines above.
Note: I would not recommend this if you have lots of users on your site, as you’ll likely see a pretty significant performance hit.