karidemi
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: editing permalinks and the post_type_link filterI have run into the same issue. I would like to be able to edit those permalinks normally, with the inline “edit” button.
A workaround is to open the “Screen Options” and check off “slug”. At least that way, the slug can be updated, but it is confusing for users to need to look in two places.
Has anyone else ran into this, or found a solution?
Forum: Plugins
In reply to: [Media Library Assistant] Automatic category selection on uploadThank you for your quick response.
After upgrading to version 2.22 from 2.21, I am now seeing that filter running on all upload screens as expected. Thanks again!
Forum: Plugins
In reply to: [Media Library Assistant] Automatic category selection on uploadOk, I now realize that the
mla_update_attachment_metadata_prefilteris only firing on the Bulk Edit screen. What I’m really looking for is a way to modify uploads as they come in through the media modal, as that is the only way my users can upload items, at the moment.Thanks again for your time.
Forum: Plugins
In reply to: [Media Library Assistant] Automatic category selection on uploadSorry to bug, but I’ve been trying to get this filter to fire, and I’m having a bit of trouble.
I’m hooking into the
mla_update_attachment_metadata_prefilterand just trying to use the example error_log output, to see what I can modify, but I never see anything in my log file. I am assuming the filter should fire whenever a new item is uploaded, is that true? I’ve tried uploading from the media modal and from the Media/Add New screen and I’m still not getting any output.Thanks!
Forum: Plugins
In reply to: [Media Library Assistant] Automatic category selection on uploadAh, yes, I meant to say, I hooked into the “filter_media_modal_query_final_terms” filter.
I will experiment with this today, but based on your response it looks like this is precisely what I needed.
Thank you!
Forum: Plugins
In reply to: [Restrict Categories] Fix for multiple rolesI ran into a similar issue while using WPFront User Role Editor. The role editor allows you to assign multiple secondary roles to a user. Assigning multiple roles that are restricted by category results in the user seeing nothing, when really, they should see any items in category A OR category B.
The above fix corrected the problem. Is there anyway it could be added to the plugin directly? I too have not found any issues since I made the modification.
Forum: Plugins
In reply to: [Simple Calendar - Google Calendar Plugin] Modifying default markupWell, I take that question back, because I see that it will be easy enough to add my own filter to default_content.
A better question would be, do you have any plans to add filters to the markup found in class-gce-display.php? It would be really nice if theme developers had more control over what is getting output. I would prefer not to have to use the default class names, and use my own instead.
Thanks for the update! Looking forward to the fix.
Forum: Plugins
In reply to: [Document Gallery] rogue descriptionsThanks, Dan. With your help I was able to get this working to my satisfaction!
-Karissa
Forum: Plugins
In reply to: [Document Gallery] rogue descriptionsOk, one last thing… I hope!
Now, I am trying to have the galleries with descriptions render differently than those without. To do that I’m passing in an argument to my filter function : dg_gallery_template_func($desc) and then using an if/else to see if $desc is true or not. However, it appears to always return true, regardless of if I actually have descriptions turned on. \
I did a test and when I return the value of $desc, it returns the whole gallery instead of the bool value, like I would have assumed.
Am I doing this correctly?
-Karissa
Forum: Plugins
In reply to: [Document Gallery] rogue descriptionsWorked like a charm. Thanks!
Forum: Plugins
In reply to: [Document Gallery] modifying HTML outputAmazing! Thank you!
Forum: Plugins
In reply to: [Document Gallery] Term not valid errorOf course I figured it out as soon as I posted that. It wants the nice taxonomy name, not the slug. Duh.
Thanks again!