rhonn
Forum Replies Created
-
Forum: Plugins
In reply to: [IP2Location Redirection] Allow users to switch languagesThank you for your answer.
Sorry to continue with inquiries regarding this matter. It’s just that I’ve noticed that sometimes the cookie doesn’t expire after 24 hours. I have to manually delete cookies so the plugin redirects again to my chosen URL. I know it’s maybe a browser issue? (using Chrome by the way). I just wanted to let you know and see if the problem is on my end.Forum: Plugins
In reply to: [IP2Location Redirection] Allow users to switch languagesThank you for the prompt answer. Please explain further how does “redirect first time only” works. It redirects the user only the first time they visit the site, right? And then? It would never redirect that user again? Or is it temporary? Does it work with a cookie?
Really appreciate it.Hi, I’ve resolved the issue. Not sure what it was specifically, but I did a manual WordPress update and my site is back to normal.
Hi Asif
This worked out great! Thank you very much.
Now if I want to add another column with another parameter, I just duplicate this snippet with the new parameter?
Or can I integrate the second parameter into the original snippet?
Thanks again!
***EDIT****
Ok, I modified it this way, and it’s working I just wanted to know if there’s an more efficient way to write it?
add_filter( 'manage_users_columns', 'um_custom_add_new_user_column' ); function um_custom_add_new_user_column( $columns ) { $columns['um_phone'] = 'Phone Number'; $columns['um_company'] = 'Company'; return $columns; } add_filter( 'manage_users_custom_column', 'um_custom_add_new_user_column_content', 10, 3 ); function um_custom_add_new_user_column_content( $content, $column, $user_id ) { // Change the 2nd parameter with your desired UM Meta Key if ( 'um_phone' === $column ) { $content = get_user_meta( $user_id, 'phone_number', true ); } if ( 'um_company' === $column ) { $content = get_user_meta( $user_id, 'company_name', true ); } return $content; }
Thanks again!
- This reply was modified 4 years, 5 months ago by rhonn.
Thanks for the reply.
Hope you add this feature in future versions.
Take care.
Thank you for your prompt answer Stephen!
I’ve resolved the issue, and you were right, it had to do with server settings.
When I created the wildcard subdomain in cpanel, it automatically created a folder within the root directory called _wildcard_ so the subdomain was pointing to the wrong directory.I changed the path to “public_html” and the issue was solved.
Thanks again.
Thanks for your response, just a follow up.
It was an error on my end. My database was huge, full of spam. The plugin gave me a warning but I ignored it. The weird thing is that the building of the package was “successful” but obviously it was incomplete, so when I tried to installed it on the other server I received the aforementioned error.
I cleaned and optimize my database and it all went fine from that point.
Thanks again.
Hi, thanks for your reply.
Here’s the link: https://suitsfactory.us/fall-winter-2017-mens-collections/
Forum: Plugins
In reply to: [WooCommerce] Loading times when a product has 600 variations.Sorry, I just realized how stupid “when viewed in a browser” sounds.
I meant when the actual product page -not the back end page- is viewed by the user , it takes a long time to load.I can’t include a link to the site at the moment, because it’s protected and still in development, but maybe someone out there has experienced something similar.
[ No bumping please. ]
Forum: Plugins
In reply to: [WP Customer Reviews] Show form not button?Found my answer. Thank you.