jackbluehouse2019
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: using json in pluginvar_dump( $obj->type );
returns:
string(17) “FeatureCollection”
var_dump( $obj->type['city']);
returns:
Warning: Illegal string offset ‘city’ in /Applications/MAMP…
string(1) “F”Forum: Plugins
In reply to: [WP Maps - Display Google Maps Perfectly with Ease] The filter elementsHi Ashok Singh,
“Select Category” does not appear in wp-google-map-plugin.pot file and therefore cannot be translated.
Any other solution?
ThanksHi Flipper,
I did not make myself well understood, on this page:
https://www.chvd.org/topos-2020/?flag=topo_4
I can hover on markers on desktop and click on markers on mobile.
I would like to do the same with your plugin.
And by the way, have you solved the “Select category” translation?
Thanks
Jacques from FranceHi Flipper,
thanks for your answer.
I hope you’ll fix this issue soon (I’m using other plugins that allow mouse hover on mobile on google maps so you should be able to do the same…)
an other issue : My site is in french and all WP written indications are in french except yours (Select Category) which stays in english as you can see on screenshot:https://www.bluehouse.fr/JB2/support/flip.jpg
What can I do to change this “Select Category” to “Sélectionner une orientation ??
In fact it happens when I set “Show info window on” Mouse Hover
If I set Mouse Click it works fine.
Is Mouse Hover not usable on mobile screen?Forum: Developing with WordPress
In reply to: Retrieve Post ID when using publish_post hookOk bcworkz, I understand,
I changed my code according to your comment and used$post_id
directly.
ThanksForum: Developing with WordPress
In reply to: Retrieve Post ID when using publish_post hookI found it:
$postID=$post->ID;
Thanks for your help!
Forum: Developing with WordPress
In reply to: Retrieve Post ID when using publish_post hookHi MK,
I tried this:add_action( 'publish_post', 'myFunction',10,2 ); function myFunction($post_id, $post) { $author = $post->post_author; /* Post author ID. */ $name = get_the_author_meta( 'display_name', $author ); }
this is working fine for author ID and author name but how do I get published post ID?
I tried something like this but no result$postID=$post_id->post_id;
Thanks
Forum: Plugins
In reply to: [Page Restrict] Translate login form labelsThe words: Username, Password, Log in, Remember me, Lost your password
are in pagerestrict.php so I translated them directly in the php file. Problem I have to block plugin update. If somebody knows a better way let me know.
Thanks
Jacques from FranceForum: Plugins
In reply to: [Contact Form 7] CF7 updateI have a CF7 form and since CF7 last update I can’t submit the form anymore.If I go back to old CF7 version it’s working fine…
Forum: Plugins
In reply to: [Contact Form 7] CF7 updateIforgot to put the beginning and the end of the code, it’s in a function:
function action_wpcf7_after_flamingo( $result ) { $file = fopen($text_url,"r"); while(! feof($file)){ $line= fgets($file); //Do something with $line like search some words } fclose($file); } add_action( 'wpcf7_after_flamingo', 'action_wpcf7_after_flamingo', 10, 1 );
Forum: Plugins
In reply to: [Flamingo] wpcf7_after_flamingoHi,
I found the solution
JacquesForum: Plugins
In reply to: [Contact Form 7] Create radiobuttons with custom post typeOk I solved my problem by creating custom posts instead of db items.
Therefor I can use your code to display dynamic content in dropdown menu.
ThanksForum: Plugins
In reply to: [Contact Form 7] Create radiobuttons with custom post typeHi flo13,
your code works fine with posts. Now I need to do the same thing but with an array of items stored on db.
Do you think it’s possible?
ThanksForum: Plugins
In reply to: [Contact Form 7] Create radiobuttons with custom post typeHello from France,
what is:
type’ => ‘YOUR CPT NAME HERE’,Thanks
Jacques