Michael Fields
Forum Replies Created
-
Strange,
I noticed a similar problem with the count attribute during development. Google’s documentation shows that the html markup should look like this:<div class="g-plusone" data-size="standard" data-count="true"></div>With the
sizeandcountattribute prefixed withdata-. This never really worked forcountin my experience. It did, however, work withsizewhen I released the plugin …That being said, I’ve looked into it and have verified the bug you reported. Please look for an update in version 0.1.1 which will be released in the next 15 minutes.
Best,
-MikeSetting
having_imagestofalsewill just return unfiltered output of get_terms(). Please try Diogo15’s suggestion of setting thehide_emptyargument ofget_terms(). This would look something like this:$terms = apply_filters( 'taxonomy-images-get-terms', '', array( 'taxonmoy' => 'taxonomy-name', 'term_args' => array( 'hide_empty' => 0, ), ) );Awesome! Glad you got it working.
Is this the error you are getting?
Notice: The category taxonomy does not have image support. Manage Settings in /Users/mfields/Sites/plugins/Taxonomy-Images/taxonomy-images.php on line 1102If so, it’s not really an error. It’s a notice. You’ll have to choose which taxonomies have image support in the plugin’s settings page.
Someone asked for this feature a while back and I thought it was a really good idea.
Version 0.7 also supports the old shortcode. I’ve just deprecated it and removed it from the documentation. I don’t want new users using it. I am building better support with full template capabilities into my Taxonomy List Shortcode plugin.
All I want is something simple that would output all the terms for a given taxonomy as well as a description of that term.
The shortcode should still work. Have you tried it?
I see no reason that the first code snippet would not work. Do you intend to display categories or some other taxonomy?
The second example is not actually code rather a preview of how the filter will modify the term objects.
Forum: Plugins
In reply to: [Taxonomy Images] list taxonomy categries with ImagesYou’ll need to upgrade to version 0.7 and then use code similar to the following:
$terms = apply_filters( 'taxonomy-images-get-terms', '' ); if ( ! empty( $terms ) ) { print '<ul>'; foreach( (array) $terms as $term ) { print '<li><a href="' . esc_url( get_term_link( $term, $term->taxonomy ) ) . '">' . wp_get_attachment_image( $term->image_id, 'detail' ) . '</li>'; } print '</ul>'; }Forum: Fixing WordPress
In reply to: Moving content only to a testing domainHonestly I have never seen this message. Which step do you experience this at?
Forum: Fixing WordPress
In reply to: All fonts have changed to italicHow did you find that so quickly?
It was the first
<em>on the page … just got lucky 🙂Glad to help!
Forum: Fixing WordPress
In reply to: All fonts have changed to italicTry closing the em here:
<em><strong>KATIE MAYHEW<br>maybe:
<em><strong>KATIE MAYHEW</em><br>Forum: Requests and Feedback
In reply to: Possible bug in plugins section of ww.wp.xz.cnRight on. Thanks for your attention and the information. Next time I’ll just update sooner if I experience the same thing (Lord knows I make enough spelling mistakes).
Forum: Fixing WordPress
In reply to: Moving content only to a testing domainI usually use the built-in import/export functionality. You can find these links under the “Tools” section of the admin menu. You can export the content from your live site and then import it to your local test server.
Forum: Fixing WordPress
In reply to: All fonts have changed to italicYou have probably left an
<em>or<i>tag open somewhere at the top of you page. Please review the last thing you edited an ensure that all html tags are closed properly.Forum: Requests and Feedback
In reply to: Possible bug in plugins section of ww.wp.xz.cnChip, Thanks for the suggestion. Done.
Forum: Plugins
In reply to: [Wordpress Shout Box / Chat] PHP ErrorThe plugin has this code on line 6:
$_GET[base]This should look like:
$_GET['base']Notice the quotes around the word
base. PHP reads this as a constant, but because there is no defined constant with that name, PHP lets you know about it by printing the message.It is best to use quotes in situations like this. Things could go horribly wrong if there was a constant named “base” defined in WordPress, another plugin or your active theme!
Forum: Requests and Feedback
In reply to: Possible bug in plugins section of ww.wp.xz.cnBTW, is this something for Trac? What IS the best place for such things?