Mohammad Jangda
Forum Replies Created
-
Forum: Plugins
In reply to: [Co-Authors Plus] [Plugin: Co-Authors Plus] Bug in posts_join_filter() ?Would you mind sending me the code? I’ll gladly add it to the plugin.
Thanks for the report @michaelingp
Forum: Plugins
In reply to: [Co-Authors Plus] [Plugin: Co-Authors Plus] Coauthor description?You can try something like:
$coauthors = get_coauthors(); <div class="author-bios"> <?php foreach( $coauthors as $coauthor ) : ?> <p> <strong><?php echo $coauthor->display_name ?>:</strong> <?php echo $coauthor->description; ?> </p> <?php endforeach; ?> </div>Forum: Plugins
In reply to: [Co-Authors Plus] [Plugin: Co-Authors Plus] Showing co-authors without linksThe template tags echo the output so what you’re doing won’t work. You can use the get_coauthors() function or the CoAuthorsIterator to build your string. There’s more info on the Other Notes page.
I do have an update planned, just focused on other projects right now.
Forum: Plugins
In reply to: [Plugin Notes] [Plugin: Plugin Notes] Exporting the notes. Possible?All notes are stored in the *_options table with the key “plugin_notes” so you could technically copy that over to another install and it should work.
I haven’t really played with multi-site installs so I’m not sure how well it would perform, but I can take a look.
Thanks for the feedback!
Thanks for the comments and glad you like the plugin!
@thecorkboard: v1.1 should fix the colour issue 🙂
Forum: Themes and Templates
In reply to: Hovercards on self hosted theme issueAnd for those who care to know what the specific issue is:
When you add a meta description tag on your page, i.e.
<meta name="description" content="..."IE adds a global JavaScript variable calleddescription, that returns the meta tag.One of the gravatar functions is using a
descriptionvariable but not defining it as local scope. So IE thinks it should use the glboally defineddescriptionvar. But IE apparently doesn’t like converting objects to strings, which is why it’s throwing the error.Forum: Themes and Templates
In reply to: Hovercards on self hosted theme issueOkay, figured it out. Turns out IE is flailing because of a global and local variable conflict. and the culprit is the description variable.
Add this code to the your head or right before you echo the gravatar script:
<script type="text/javascript">var description = '';</script>I tested through IE’s developer tools and that seems to fix the problem.
Forum: Themes and Templates
In reply to: Hovercards on self hosted theme issueOn the .org forums, it seems like the issue is that jQuery isn’t being loaded in IE for some reason. Check out “View Source” for this page in IE and it’s missing the script tag for jQuery.
Forum: Plugins
In reply to: [Easy Custom Fields] [Plugin: Easy Custom Fields] Call to undefined functionIt’s probably because you’re running an 2.9.x. Upgrading to 3.0 should fix the issue.
Forum: Plugins
In reply to: [Edit Flow] [Plugin: Edit Flow] v3 breaks status filtering?This issue was resolved with v0.5.1
Forum: Plugins
In reply to: [Edit Flow] Importing Content into Edit FlowThere’s a CSV Importer that you can use, though I don’t think it supports any statuses other than Draft or Publish.
Alternatively, you could format your content as a Movable Type Export File (which is pretty much a simple text file) and then use the Movable Type Importer to import it into WordPress. (Sounds a bit of a round-about approach, but the format of the MT export file makes it a flexible approach when you have free-form content)
Forum: Plugins
In reply to: [Edit Flow] [Plugin: Edit Flow] Cannot delete statuses@lumpysimon Ah, you’re right. We’ll work on a fix.
Forum: Plugins
In reply to: [Edit Flow] [Plugin: Edit Flow] Cannot delete statusesThis is fixed with v0.5.3.
Thanks for your comment @robbyslaughter.
Moving or deleting the wp-admin folder is not a recommended practice and can have many unwanted side effects. (See this post from Core Developer Andrew Nacin)
If you secure your blog well enough, you shouldn’t have to worry about the wp-admin at all.
That being said, I actually commented on that ticket, and while it is a step forward, it does not cover all the use cases that Edit Flow needs when it comes to searching for users. There’s talk of further changes coming in 3.1 and we’ll keep an eye out for that.
Forum: Plugins
In reply to: function equivalent to single_term_title();?According to this ticket, that function will be added in 3.1. Until then you can use this (it’s just a modification of single_tag_title):
if( !function_exists( 'single_term_title' ) ) : function single_term_title($prefix = '', $display = true ) { global $wp_query; if ( !is_tax() ) return; $term = $wp_query->get_queried_object(); if ( ! $term ) return; $my_term_name = apply_filters('single_tag_title', $term->name); if ( !empty($my_term_name) ) { if ( $display ) echo $prefix . $my_term_name; else return $my_term_name; } } endif;