activate check-box "google maps weergeven" permanently (by default)
-
Is it possible to activate the checkbox “google maps weergeven” permanently bij default?
In my case I would like to permanently check this box in a Custom Post, for all the new custom posts instead of checking this box each time for each post.
Can I use the function pronamic_google_maps_is_active() for this? And if so, how should I use this. Which arguments, parameters is should use, and should this go in de function.php or in the template single-(post-type) of archive-(post-type)? I already added this in my template:<?php if ( function_exists( 'pronamic_google_maps' ) ) { pronamic_google_maps( array( 'width' => 290, 'height' => 200 ) ); } ?>
but than I still also have to check the checkbox.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘activate check-box "google maps weergeven" permanently (by default)’ is closed to new replies.