Title: Scott Reilly's Replies - page 10 | WordPress.org

---

# Scott Reilly

  [  ](https://wordpress.org/support/users/coffee2code/)

 *   [Profile](https://wordpress.org/support/users/coffee2code/)
 *   [Topics Started](https://wordpress.org/support/users/coffee2code/topics/)
 *   [Replies Created](https://wordpress.org/support/users/coffee2code/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/coffee2code/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/coffee2code/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/coffee2code/engagements/)
 *   [Favorites](https://wordpress.org/support/users/coffee2code/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 136 through 150 (of 409 total)

[←](https://wordpress.org/support/users/coffee2code/replies/page/9/?output_format=md)
[1](https://wordpress.org/support/users/coffee2code/replies/?output_format=md) [2](https://wordpress.org/support/users/coffee2code/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/coffee2code/replies/page/3/?output_format=md)…
[9](https://wordpress.org/support/users/coffee2code/replies/page/9/?output_format=md)
10 [11](https://wordpress.org/support/users/coffee2code/replies/page/11/?output_format=md)…
[26](https://wordpress.org/support/users/coffee2code/replies/page/26/?output_format=md)
[27](https://wordpress.org/support/users/coffee2code/replies/page/27/?output_format=md)
[28](https://wordpress.org/support/users/coffee2code/replies/page/28/?output_format=md)
[→](https://wordpress.org/support/users/coffee2code/replies/page/11/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Stealth Update] Shows a dozen times in Quick Edit](https://wordpress.org/support/topic/shows-a-dozen-times-in-quick-edit/)
 *  Plugin Author [Scott Reilly](https://wordpress.org/support/users/coffee2code/)
 * (@coffee2code)
 * WordPress & Plugin Developer
 * [10 years, 9 months ago](https://wordpress.org/support/topic/shows-a-dozen-times-in-quick-edit/#post-6398141)
 * [@gahapati](https://wordpress.org/support/users/gahapati/): Hi,
 * Glad to hear my plugins have been of use to you over the years!
 * Turns out the Quick Edit functionality for the plugin was faulty. I removed it
   in the just-released v2.4.3. I’ll see about fixing it and reintroducing the feature
   into v2.5.
 * Thanks for reporting it!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Get User Custom Field Values] Plugin not working after 4.2.3 update](https://wordpress.org/support/topic/plugin-not-working-after-423-update/)
 *  Plugin Author [Scott Reilly](https://wordpress.org/support/users/coffee2code/)
 * (@coffee2code)
 * WordPress & Plugin Developer
 * [10 years, 9 months ago](https://wordpress.org/support/topic/plugin-not-working-after-423-update/#post-6359098)
 * Can you post an example of your usage of the shortcode that is not working for
   you?
 * As I stated, the problematic side effect of security changes introduced in 4.2.3
   are with how a shortcode is used, not with how it is implemented in a plugin (
   though some plugins may output shortcodes in a problematic fashion).
 * In the case of Get User Custom Field Values, the plugin merely defines a shortcode,
   which was not something affected by the update.
 * Seeing an actual example of how you’re using the shortcode should provide better
   context for any further recommendations.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Text Hover] Does it work with Awesome font?](https://wordpress.org/support/topic/does-it-work-with-awesome-font/)
 *  Plugin Author [Scott Reilly](https://wordpress.org/support/users/coffee2code/)
 * (@coffee2code)
 * WordPress & Plugin Developer
 * [10 years, 9 months ago](https://wordpress.org/support/topic/does-it-work-with-awesome-font/#post-6359708)
 * [@efnaka](https://wordpress.org/support/users/efnaka/) : Hi,
 * In order for the plugin to “see” something like a Font Awesome icon, you’d likely
   be using the HTML format for inserting it into content, like so:
 *     ```
       <i class="fa fa-book"></i>
       ```
   
 * Unfortunately, the current version of the plugin (v3.6) does not support making
   tooltips for HTML. I can’t recall if the plugin supported it previously. I’ll
   see what I can do about supporting it for a future release and follow up here
   if I do.
 * Thanks for making the suggestion!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Get Custom Field Values] Not Working in 3.8.9 or 4.2.3](https://wordpress.org/support/topic/not-working-in-389-or-423/)
 *  Plugin Author [Scott Reilly](https://wordpress.org/support/users/coffee2code/)
 * (@coffee2code)
 * WordPress & Plugin Developer
 * [10 years, 9 months ago](https://wordpress.org/support/topic/not-working-in-389-or-423/#post-6361061)
 * [@htmadmin](https://wordpress.org/support/users/htmadmin/): Hi,
 * There was a security update made to all version of WordPress going back to 3.7,
   which includes the very latest, 4.2.3. This security update affected the Shortcode
   API within WordPress. You can read about it here: [https://make.wordpress.org/core/2015/07/23/changes-to-the-shortcode-api/](https://make.wordpress.org/core/2015/07/23/changes-to-the-shortcode-api/)
 * Basically, the change affected how WordPress parses shortcodes, and in some cases
   it no longer recognizes them. In your case, more than likely this has to do with
   how you are using quotes around the shortcode. You might something like so:
 *     ```
       <a href="[custom_field field="product_url" this_post="1" /]">Product site</a>
       ```
   
 * You have to make sure the quotes used for the shortcode attributes do not match
   the same quotes used for the HTML attribute (e.g. the “href” attribute). The 
   above example should be changed to the following:
 *     ```
       <a href="[custom_field field='product_url' this_post='1' /]">Product site</a>
       ```
   
 * (Note the shortcode’s attribute quotes were changed to single quotes so they 
   differ from the use of double quotes for the ‘href’ attribute.)
 * If you’re still wondering how to change what you’ve got, feel free to provide
   the code snippet of how you’re using the shortcode and I can make a more specific
   recommendation.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Get User Custom Field Values] Plugin not working after 4.2.3 update](https://wordpress.org/support/topic/plugin-not-working-after-423-update/)
 *  Plugin Author [Scott Reilly](https://wordpress.org/support/users/coffee2code/)
 * (@coffee2code)
 * WordPress & Plugin Developer
 * [10 years, 9 months ago](https://wordpress.org/support/topic/plugin-not-working-after-423-update/#post-6359042)
 * [@gmgsavings](https://wordpress.org/support/users/gmgsavings/): Hi,
 * There was a security update made to all version of WordPress going back to 3.7,
   which includes the very latest, 4.2.3. This security update affected the Shortcode
   API within WordPress. You can read about it here: [https://make.wordpress.org/core/2015/07/23/changes-to-the-shortcode-api/](https://make.wordpress.org/core/2015/07/23/changes-to-the-shortcode-api/)
 * Basically, the change affected how WordPress parses shortcodes, and in some cases
   it no longer recognizes them. In your case, more than likely this has to do with
   how you are using quotes around the shortcode. You probably have something like
   so:
 *     ```
       <a href="[user_custom_field field="user_url" this_post="1" /]">Author's site</a>
       ```
   
 * You have to make sure the quotes used for the shortcode attributes do not match
   the same quotes used for the HTML attribute (e.g. the “href” attribute). The 
   above example should be changed to the following:
 *     ```
       <a href="[user_custom_field field='user_url' this_post='1' /]">Author's site</a>
       ```
   
 * (Note the shortcode’s attribute quotes were changed to single quotes so they 
   differ from the use of double quotes for the ‘href’ attribute.)
 * If you’re still wondering how to change what you’ve got, feel free to provide
   the code snippet of how you’re using the shortcode and I can make a more specific
   recommendation.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Text Hover] Text in layout builder](https://wordpress.org/support/topic/text-in-layout-builder/)
 *  Plugin Author [Scott Reilly](https://wordpress.org/support/users/coffee2code/)
 * (@coffee2code)
 * WordPress & Plugin Developer
 * [10 years, 9 months ago](https://wordpress.org/support/topic/text-in-layout-builder/#post-6346590)
 * Unfortunately I don’t have any recommendations for you with regards to layout
   builder plugins as I’ve never used any of them. I know some others don’t run 
   standard filters (or any at all) which would prevent their text boxes from being
   accessible to this plugin, as you’ve experienced with this one.
 * Was the support personnel for the layout builder plugin you’re using not able
   to help out in any way?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Text Hover] Text in layout builder](https://wordpress.org/support/topic/text-in-layout-builder/)
 *  Plugin Author [Scott Reilly](https://wordpress.org/support/users/coffee2code/)
 * (@coffee2code)
 * WordPress & Plugin Developer
 * [10 years, 9 months ago](https://wordpress.org/support/topic/text-in-layout-builder/#post-6346507)
 * Sorry, but that’s a commercial plugin so I have no access to its code to provide
   a recommendation on how to proceed. As they have dedicated support services that
   should be available to you as one of their customers, you can ask their advice.
 * Information to include for them:
 * The Text Hover plugin functions by filtering text. By default, it filters ‘the_content’,‘
   get_the_excerpt’, and ‘widget_text’. If the builder’s text box widget (or whatever
   component you are using) has its own custom filter, Text Hover could be made 
   to handle that as well, with code like so:
 *     ```
       /**
        * Enable text hover for custom filter.
        *
        * @param array $filters Filters to handle for text hover.
        * @return array
        */
       function more_text_hovers( $filters ) {
       	$filters[] = 'custom_filter_name'; // Here you could put in the name of any filter you want
       	return $filters;
       }
       add_filter( 'c2c_text_hover_filters', 'more_text_hovers' );
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Allow Multiple Accounts] Duplicate username instead of duplicate email address?](https://wordpress.org/support/topic/duplicate-username-instead-of-duplicate-email-address/)
 *  Plugin Author [Scott Reilly](https://wordpress.org/support/users/coffee2code/)
 * (@coffee2code)
 * WordPress & Plugin Developer
 * [10 years, 9 months ago](https://wordpress.org/support/topic/duplicate-username-instead-of-duplicate-email-address/#post-6335200)
 * Hi,
 * Allowing duplicate email addresses is less involved than allowing duplicate usernames.
   Email address is a piece of information associated with an account whereas the
   username is used to actually log into the system.
 * The login process would have to be adjusted to deal with duplicate usernames.
   For a login attempt, would WP keep comparing the password for every instance 
   of the given username until it found which account is being logged into? Or would
   you be modifying the login form to require both username and email address to
   log in?
 * There’s also the issue of the password reset form, which can take the username.
   Without adjusting the handling and display of that form, you risk a user not 
   being able to reset for their specific account.
 * And there’s also unique author slug generation.
 * Which is all to say, there’s a lot involved in allowing duplicate usernames, 
   little of which overlaps with what the plugin currently does. It would warrant
   being its own plugin, but not one I’m looking to build at this point.
 * Cheers!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Text Hover] Text in layout builder](https://wordpress.org/support/topic/text-in-layout-builder/)
 *  Plugin Author [Scott Reilly](https://wordpress.org/support/users/coffee2code/)
 * (@coffee2code)
 * WordPress & Plugin Developer
 * [10 years, 9 months ago](https://wordpress.org/support/topic/text-in-layout-builder/#post-6346493)
 * [@hidalgm2](https://wordpress.org/support/users/hidalgm2/) : Hi,
 * What layout builder are you referring to?
 * In my experience, some layout builder plugins don’t run WordPress filters against
   the text entered into text box widgets, which is the method this plugin (and 
   many others) use able to process things. If the layout builder it well-developed,
   it would at least introduce a custom filter that could be used.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Allow Multiple Accounts] Email addresses not populating lower field](https://wordpress.org/support/topic/email-addresses-not-populating-lower-field/)
 *  Plugin Author [Scott Reilly](https://wordpress.org/support/users/coffee2code/)
 * (@coffee2code)
 * WordPress & Plugin Developer
 * [10 years, 10 months ago](https://wordpress.org/support/topic/email-addresses-not-populating-lower-field/#post-6255532)
 * [@jezzerisin](https://wordpress.org/support/users/jezzerisin/) : Hi,
 * A screenshot might help since I’m a little unclear on the nature of the issue
   you’re reporting. Feel free to send to coffee2code @ gmail. If you do send it
   to me, follow up here to let me know so I make sure to look out for it.
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Get User Custom Field Values] Display Fields For (Any) User](https://wordpress.org/support/topic/display-fields-for-any-user/)
 *  Plugin Author [Scott Reilly](https://wordpress.org/support/users/coffee2code/)
 * (@coffee2code)
 * WordPress & Plugin Developer
 * [10 years, 10 months ago](https://wordpress.org/support/topic/display-fields-for-any-user/#post-6251908)
 * [@mvpacific](https://wordpress.org/support/users/mvpacific/) : Hi,
 * Just so I’m clear, you would like to get fields by the name of the field itself
   and not necessarily according to a specific user?
 * Could you provide an example of what you’d like to get back from the proposed
   function/widget you’d use?
 * Say for instance all 100 users of the site have a ‘favorite_color’ custom field.
   What return or display would you expect when requesting values related to ‘favorite_color’?
 * I guess you might be suggesting a method with the following signature:
 * `function c2c_get_all_user_meta( $field, $count='', $before='', $after='', $none
   ='', $between='', $before_last='', $order="ASC")`
 * Here `$count` indicates how many user meta values to return and `$order` is how
   to order the results (ASCending or DESCending). Results would be ordered according
   to the custom field value.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Allow Multiple Accounts] Mailpress user sync conflict -all newsletter mail in database changed](https://wordpress.org/support/topic/mailpress-user-sync-conflict-all-newsletter-mail-in-database-changed/)
 *  Plugin Author [Scott Reilly](https://wordpress.org/support/users/coffee2code/)
 * (@coffee2code)
 * WordPress & Plugin Developer
 * [10 years, 10 months ago](https://wordpress.org/support/topic/mailpress-user-sync-conflict-all-newsletter-mail-in-database-changed/#post-6215079)
 * [@jonas-lundman](https://wordpress.org/support/users/jonas-lundman/), [@kiwi3685](https://wordpress.org/support/users/kiwi3685/):
   Check out v3.0.4 of the plugin which should fix the issue you encountered going
   forward.
 * It seems both of those plugins hooked the same action as Allow Multiple Accounts
   in such a way that they were getting the user email addresses before AMA had 
   a chance to change them back to something proper.
 * Depending on how those newsletter plugins work, their copy of the user emails
   may or may not get fixed. (If they periodically resync, as kiwi3685 suggested
   MailPoet does, it may automatically clear up.)
 * Let me know the issue persists for either of you. Thanks for reporting it!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Allow Multiple Accounts] Contacting the author](https://wordpress.org/support/topic/contacting-the-author/)
 *  Plugin Author [Scott Reilly](https://wordpress.org/support/users/coffee2code/)
 * (@coffee2code)
 * WordPress & Plugin Developer
 * [10 years, 10 months ago](https://wordpress.org/support/topic/contacting-the-author/#post-6311228)
 * [@elindydotcom](https://wordpress.org/support/users/elindydotcom/) : Hi,
 * I am currently not available for any freelance work.
 * If you have suggestions that might have general appeal to users of the plugin,
   feel free to suggest them and I may consider implementing them in a future release.
 * Cheers!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Admin Commenters Comments Count] Add to user metadata](https://wordpress.org/support/topic/add-to-user-metadata/)
 *  Plugin Author [Scott Reilly](https://wordpress.org/support/users/coffee2code/)
 * (@coffee2code)
 * WordPress & Plugin Developer
 * [10 years, 10 months ago](https://wordpress.org/support/topic/add-to-user-metadata/#post-6326391)
 * [@imscenterprise](https://wordpress.org/support/users/imscenterprise/) : Hi,
 * It’s doable with some custom code since it’s not a built-in feature of the plugin.
 * The following code can be put into a .php file in `wp-content/mu-plugins/`, or
   less ideally in your theme’s functions.php file.
 *     ```
       /**
        * Just before an export takes place, store all user comments counts in the
        * 'accc_comments_count' usermeta field.
        */
       function store_user_comment_counts_in_meta() {
       	// Don't do anything if Admin Commenters Comments Count isn't active.
       	if ( ! class_exists( 'c2c_AdminCommentersCommentsCount' ) ) {
       		return;
       	}
   
       	// Loop through all users.
       	foreach ( get_users() as $user ) {
       		// Get the count of the user's number of comments.
       		$comments_count = c2c_AdminCommentersCommentsCount::get_comments_count( 'comment_author_email', $user->user_email, 'comment', $user->ID );
       		// c2c_AdminCommentersCommentsCount::get_comments_count() returns an array that includes the number of
       		// approved comments and the number of pending comments. This next line presumes you only want the count
       		// of approved comments.
       		$comments_count = $comments_count[0];
       		// Store that count in user meta.
       		update_user_meta( $user->ID, 'accc_comments_count', $comments_count );
       	}
       }
       add_action( 'export_wp', 'store_user_comment_counts_in_meta' );
       ```
   
 * I tested it out and it worked for me.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Loop Post Navigation Links] Can this work with get_next_post() and get_previous_post()?](https://wordpress.org/support/topic/can-this-work-with-get_next_post-and-get_previous_post/)
 *  Plugin Author [Scott Reilly](https://wordpress.org/support/users/coffee2code/)
 * (@coffee2code)
 * WordPress & Plugin Developer
 * [10 years, 10 months ago](https://wordpress.org/support/topic/can-this-work-with-get_next_post-and-get_previous_post/#post-6264749)
 * [@mctenold](https://wordpress.org/support/users/mctenold/) : Hi,
 * The plugin did not support your requested functionality until just now, in v2.6.
 * I’ve added `c2c_get_next_or_loop_post()` and `c2c_get_previous_or_loop_post()`,
   which are like `get_next_post()` and `get_previously_post()`, respectively, except
   they loop around at the ends.
 * Hope that helps you. Thanks for the suggestion!

Viewing 15 replies - 136 through 150 (of 409 total)

[←](https://wordpress.org/support/users/coffee2code/replies/page/9/?output_format=md)
[1](https://wordpress.org/support/users/coffee2code/replies/?output_format=md) [2](https://wordpress.org/support/users/coffee2code/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/coffee2code/replies/page/3/?output_format=md)…
[9](https://wordpress.org/support/users/coffee2code/replies/page/9/?output_format=md)
10 [11](https://wordpress.org/support/users/coffee2code/replies/page/11/?output_format=md)…
[26](https://wordpress.org/support/users/coffee2code/replies/page/26/?output_format=md)
[27](https://wordpress.org/support/users/coffee2code/replies/page/27/?output_format=md)
[28](https://wordpress.org/support/users/coffee2code/replies/page/28/?output_format=md)
[→](https://wordpress.org/support/users/coffee2code/replies/page/11/?output_format=md)