DeBAAT
Forum Replies Created
-
Forum: Networking WordPress
In reply to: How to output name & email of site adminHai George,
Glad to read it is working.
And saw your coffe tip coming in.
Thanks for that!Forum: Networking WordPress
In reply to: How to output name & email of site adminHai George,
Saw this same question on the jobs page of WPMU DEV.
And because I couldn’t get into touch with you on that site, I thought to reply here.When you want to show information in a header template, I would suggest to use a function instead of a short code.
The function you are looking for could be like this, to be included in the file functions.php:function z_show_current_name(){ // Get the current admin user, using it's registered email as key $user_info = get_user_by( 'email', get_option('admin_email')); // Use the user_info found to distill the info wanted $user_fname = $user_info->first_name; $user_lname = $user_info->last_name; $text = 'TESTING: '; // Return the output to show return '<span class="lmn_user_info lmn_user_fname">' . $text . '' . $user_fname . '</span><span class="lmn_user_lname"> ' . $user_lname . '</span>'; }You could then use this function in your header.php file like this:
<?php echo z_show_current_name(); ?>Hope this will help.
If you want to support me, you can buy me a coffe via my site at de-baat dot nl slash contact.Forum: Plugins
In reply to: [WP Media Category Management] A couple of issuesThe first request has been implemented in V1.4.1. Took some puzzling 😉
Since I haven’t had any response, I’m closing this issue.
If you have any more remarks, please create a new item.Forum: Plugins
In reply to: [WP Media Category Management] Error when removing a categoryHAi Benoit,
Sorry to disappoint you, but this error is because you are using an old version of WordPress. I’ve developed this plugin with version 4.0, the latest version is even 4.1.
The function that is generating the error is only introduced with version 3.6 (as can be seen in the file taxonomy.php).Further, it is possible to assign multiple categories to a single media file. Each category can be toggled independently and every category assigned will be shown. Please note that categories are not shown in the grid view, only in the list (table) view. And of course when editing the single media file.
Forum: Reviews
In reply to: [WP Media Category Management] Excellent …just excellent :)Thanks for the compliments.
One of the reasons I chose to use ‘Toggle’ instead of ‘Set’ is that this can be used for both the ‘Set’ and ‘Unset’ command.
I was hoping that the word ‘Toggle’ would be enough to indicate this.
If necessary, you might change the wording using a language file?Forum: Plugins
In reply to: [WP Media Category Management] A couple of issuesHai,
Thanks for using my plugin.
The issues, I can’t reproduce. Can you provide some more information on the situation when they occur?
Regarding the requests:
- Will be available with the new release, thanks for the suggestion.
- Good idea, I’ll look into that.
- This should already be possible. In fact, it is the main reason this plugin exists… Changing is implemented as a toggle. You can select multiple media files using the checkboxes, just as you would delete them in bulk. Also, when the bulk action to toggle a certain category is selected, you still have to click the Apply button.
If you have any more suggestions, please let me know.
Forum: Plugins
In reply to: [WP Media Category Management] WooCommerce/Custom Posts categories possible?I would appreciate more explanation.
Do you have a reference to a demo site?Forum: Plugins
In reply to: [WP Media Category Management] WooCommerce/Custom Posts categories possible?Hmm, I would like to help but don’t quite understand your question.
It may have to do with me not having enough experience with WooCommerce 😉This plugin is meant to support media management.
How would you like to have this cooperate with WooCommerce/Custom Posts categories?
Do you have an example maybe?Forum: Plugins
In reply to: [WP Media Category Management] Update removes Media Categories from menuSorry, just saw you already closed the issue.
Thanks anyway for reporting this.Forum: Plugins
In reply to: [WP Media Category Management] Update removes Media Categories from menuHai,
Does its ok mean this issue is solved?
If not, can you then mail me a screen shot of the MCM Settings screen showing the option list for “Media Taxonomy To Use”?
I’m very curious as to what’s happening here.Forum: Plugins
In reply to: [WP Media Category Management] Update removes Media Categories from menuIt is intended behaviour that the media menu only shows the MCM Categories option when you have selected the MCM Categories as “Media Taxonomy To Use” on the MCM Settings page.
If you used another taxonomy, then the menu won’t show.Can you try again with V1.3.0 and after update do a re-save of the MCM Settings with the “Media Taxonomy To Use” set to “MCM Categories”?
Forum: Plugins
In reply to: [WP Media Category Management] Update removes Media Categories from menuStrange.
Can you provide me some more information?
What was the previous version you upgraded from, what is the current version?
What have you currently selected as “Media Taxonomy To Use”?
Sometimes, it will help to re-save the settings page.Forum: Reviews
In reply to: [WP Media Category Management] Best availableThanks for the support and donation!
This is certainly an encouragement.
Even more, if you have any suggestions to make it even better, I’ll be glad to hear them.Forum: Plugins
In reply to: [Enhanced Media Library] Any way to bulk edit images?For those that can’t wait: there is a new plugin which does just the bulk editing (and nothing else 😉 ).
See https://wordpress.org/plugins/wp-media-category-management/
Any remarks and reviews are very welcome.
Forum: Plugins
In reply to: [Participants Database] Send signup email also to CCThanks for this hint.
Won’t this adjustment be gone when I update to a new version of the plug-in?With the hint, I noticed that the notification is send to the primary email address as defined in the settings.
So now I’ve found another workaround:- I added a new ‘dummy_cc_email‘ field to the database and defined this to be the primary email address.
- In the hook function ‘before_signup_thanks‘, I concatenate the original participants email address and my own CC email address and store this in the new ‘dummy_cc_email‘ address.
- The email now gets send to both email addresses while the original email address is safely stored in the original field.
Thanks for pointing me in the right direction.