Matt Brett
Forum Replies Created
-
Correction, the fix above does work. I had accidentally unchecked “save to taxonomy” while testing.
I’ll second this, but the fix didn’t work for me. Going to try rolling back to the previous version.
Forum: Plugins
In reply to: [Gravity Forms + Custom Post Types] Bug in multiselect fields -> taxonomyI ran into this issue a few months ago, and the fix above worked at the time. But it seems with the latest version of Gravity Forms, the multi select category field is no longer saving values. Single category or multiple.
Forum: Plugins
In reply to: [Yoast SEO] Stop the pushy "See what's New" notification?If you have an admin stylesheet in your theme, you can hide it with a little CSS…
.yoast-notice { display: none !important; }
Forum: Plugins
In reply to: [Gravity Forms + Custom Post Types] Checkboxes & TaxonomiesA fix for this issue was posted on Github a few days ago. Just tested, and taxonomy checkboxes are working properly again.
Forum: Plugins
In reply to: [Gravity Forms - Update Post] Publishdate gets reset when post is updatedRan into this issue myself, and was able to figure it out.
Look for the following, which is at line 266 in the current version.
$post_data['post_type'] = $this->post['object']['post_type'];
That retains the post_type when the post is edited. There are others similar issues, where the author can change to the user who edited it, and the comment status can be changed to closed. Here’s what I added to prevent all of the above from happening…
$post_data['post_author'] = $this->post['object']['post_author']; $post_data['comment_status'] = $this->post['object']['comment_status']; $post_data['post_date'] = $this->post['object']['post_date']; $post_data['post_date_gmt'] = $this->post['object']['post_date_gmt'];
Forum: Plugins
In reply to: [Buddypress Xprofile Custom Fields Type] Image Uploading Not WorkingNot working here either, and it was previously. I haven’t used the image field in a couple months, so I’m not sure exactly when it stopped working. Definitely not uploading images, though.
Forum: Plugins
In reply to: [Convert Post Types] Converted posts end up in default categoryHere to report the same issue. Tried multiple times using different categories, but posts converted from pages always ended up in the default category.
Just confirming that indeed, the category ID is not what’s needed to exclude categories. I had to dig into the database to find out what term_taxonomy_id is associated with the categories I wanted to exclude.
For others that might be trying to figure this out, here’s how you find the term_taxonomy_id for a category…
- Find the ID of the category you want to exclude by going to Posts -> Categories in WP-Admin, and hovering over the category’s name in the list. Look down at the status bar in your browser and note the tag_ID.
- You’ll need to access your database somehow. Most servers have phpMyAdmin installed, and this is what I used. Browse the wp_term_taxonomy table and sort if by term_id.
- Find the ID of the category you’re after. Look at the value in the term_taxonomy_id column – this is the value you need for the exclude parameter.
Hope that helps clear things up.
Forum: Plugins
In reply to: [Last.Fm Records] [Plugin: Last.Fm Records] Shortcode no longer working (1.7)@jeroensmeets helped me out on Twitter.
Turns out, you need to use the new user parameter as well as the others. So my shortcode now looks like this…
[lastfmrecords user=”MattBrett” period=”lovedtracks” count=”6″]
Forum: Plugins
In reply to: [Last.Fm Records] [Plugin: Last.Fm Records] Shortcode no longer working (1.7)Thanks for the quick reply, but still no dice. Anything I can do to help debug?
Forum: Plugins
In reply to: Facebook Login Button not working on Buddypress and WordPress?Same problem here. Also running WP 3.2.1, BuddyPress, and Theme My Login. Had no problem registering with the Facebook button, but can’t login to existing account.
Thanks for posting this mod/fix!
Was a bit annoyed that a 300×300 image was in place of my 150×150 thumbnails.
Indeed, manually deleting the page_secondary-image_thumbnail_id custom field sorts this bug out.
Forum: Alpha/Beta/RC
In reply to: Parameters for wp_list_comments() in 2.7?I’m not sure what all of them are, but I went digging into /wp-includes/comment-template.php yesterday trying to track down the parameters for wp_list_comments myself. Here’s what I found…
walker
max_depth
style
callback
end-callback
type
page
per_page
avatar_size
reverse_top_level
reverse_childrenYou can use them within the wp_list_comments function call in your comments.php template, similar to how most others…
<?php wp_list_comments('avatar_size=48&type=comment'); ?>