onico0
Forum Replies Created
-
Forum: Plugins
In reply to: [Easy Property Listings] Add Sortable Property Column in Admin DashboardOops, the solution was in my topic ^_^
Just copy past this below :
// Make our sorting work function property_id_column_orderby( $vars ) { if ( isset( $vars['orderby'] ) && 'property_unique_id' == $vars['orderby'] ) { $vars = array_merge( $vars, array( 'meta_key' => 'property_unique_id', 'orderby' => 'meta_value' ) ); } return $vars; } add_filter( 'request', 'property_id_column_orderby' );
For the travelers who will google something to come here, of course, all this code must be past in your /themes/{your-child-theme}/functions.php file ??
Forum: Plugins
In reply to: [Simple Lightbox] Simple Lightbox Stopped workingUpdate : disabling .htpasswd protection on development server solve the issue. I never seen that mentioned before.
I suggestion to implement such kind of warning in the dashboard for that. Can make lose long time. Thanks ??
Forum: Plugins
In reply to: [Simple Lightbox] Simple Lightbox Stopped workingDoesn’t works anymore here too (WP 4.8)… switching to TwentySeventeen, disabling all plugins and clearing all the caches do not solve the issue, even on different browsers (website on https/2.0). Let’s try another plugin so.
Hehe ?? It was my pleasure to (tiny) contribute to your amazing plugin with this small report ^_^ Thanks for all your work and the incredibly fast fix!
Thanks Merv,
That’s what I did, but, in any case, the function print the wrapper.
It’s why I was thinking the condition “if ( $tag != ‘none’ || $tag != ” )” was wrong. But, if you confirm me it works, I will check again soon.
Thanks and good luck with FeedSync 3 ??
Good day too.
Forum: Plugins
In reply to: [Map My Posts] [Fix] WPML & Google Map API key error fixesmaybe try the “Snazzy Maps” plugin !? and keep it touch if works or not ??
Forum: Plugins
In reply to: [Map My Posts] [Patch] a patch solution for the new google apiThen, also add this to admin-geocoder.js.
google.load('maps', '3', {other_params: 'sensor=false&key=AIzaSyCqQBt6kmG65K1RHBiAchXzX0o8i_lD-F0'});
Don’t forget to refresh the js file.
Forum: Plugins
In reply to: [Easy Property Listings] How to change title / h1 of example.com/property ?Notice: Undefined variable: smof_data in (…)
Careful.
In Avada 5, they not use $smof_data any more.
Instead use :
Avada()->settings->get(‘…’);
For example, replace
$sidebar_2 = $smof_data['blog_archive_sidebar_2'];
by
$sidebar_2 = Avada()->settings->get( 'blog_archive_sidebar_2' );
etc.cheers
Hello again,
I just forked it on GitHub and send you a pull request : https://github.com/MisterWP/recent-posts-widget-extended
I hope everything is fine.
Forum: Plugins
In reply to: [Registration Options for BuddyPress] Format EmailsOkay thanks, here the solution.
/includes/admin.php : 90
// Use wptexturize instead of sanitize_text_field which remove all tags, line break $activate_message = wptexturize( $args['activate_message'] ); update_option( 'bprwg_activate_message', $activate_message ); $approved_message = wptexturize( $args['approved_message'] ); update_option( 'bprwg_approved_message', $approved_message ); $denied_message = wptexturize( $args['denied_message'] ); update_option( 'bprwg_denied_message', $denied_message );
Use “br” or any html tag to template your mails.
/includes/admin.php : 212
// I also stripslashes here, not sure if needed : wp_mail( $mailme_filtered['user_email'], $mailme_filtered['user_subject'], stripslashes($mailme_filtered['user_message']) );
Forum: Plugins
In reply to: [Registration Options for BuddyPress] Format EmailsHello,
Any update on this ?
Would be nice to be allowed to use, at least the markup “br” ??
The apostrophes also are escaped, displaying things like that : “Brian\’s umbrella”.
Thanks already for this plugin.
Forum: Plugins
In reply to: [Easy Property Listings] How to change title / h1 of example.com/property ?I did it by hardcoding some things :'( but I think for the <title> of the page, not the <h1> it can be done with Yoast SEO > Titles & Metas > Taxinomies
Forum: Plugins
In reply to: [OpenHook] can't access open hook with admin usesrconfirmed conflict with iThemes Security and the feature “Disable File Editor”
do not forget to clear your WP Rocket Cache if you use this pluginHmm Ok thanks Merv, I see. But, my customer do not want to show de complete address in clear but want an accurate point on the map. Maybe the few lines I published here will be useful for someone else. Anyway, because of your powerful templates structure, we are very flexible, I took about less than 10 minutes to change the way this works.
P.S: hope it not disturb I share all the main custom codes I write for me in templates ??
Sorry I made a mistake ! Use wp_get_post_terms instead of get_terms (will not works coz retreive all terms !).
$property_locations = wp_get_post_terms(get_the_ID(), 'location');
Kiss.