moltra
Forum Replies Created
-
Forum: Themes and Templates
In reply to: child theme, not working javasciptyes I did, but there has been slight changes due to troubleshootin.
Forum: Themes and Templates
In reply to: child theme, not working javasciptThere is more information on the files and things tried at.
https://stackoverflow.com/questions/40519085/wordpress-child-theme-google-map-api-google-places
Forum: Themes and Templates
In reply to: child theme, not working javasciptI am still trying to figure out how to get this to work.
I have a test server setup at https://104.236.207.225/
I am getting the following error.
message
:
“initMap is not a function”
name
:
“InvalidValueError”
stack
:
“Error?Forum: Themes and Templates
In reply to: child theme, not working javasciptI think I am just going to have a custom plugin / theme created. I have been trying to get this working on and off for over 2 months.
Thanks for your help.
Forum: Themes and Templates
In reply to: child theme, not working javasciptYes, I will setup a VM server tonight on a cloud service. Currently the server that the page cannot be accessed from online.
- This reply was modified 8 years, 4 months ago by moltra.
Forum: Themes and Templates
In reply to: child theme, not working javasciptI created a reply, I guess it is being moderated?? If it does not show up, I will create a new reply with the info in it.
But no errors in chrome dev toolbox, and yes I am using jquery.
The one I posted had a link in it, maybe that is causing the moderation?
- This reply was modified 8 years, 4 months ago by moltra.
Forum: Themes and Templates
In reply to: child theme, not working javasciptI am creating the child theme based on Stanleywp theme.
I have used the chrome dev tools and no error is showing up.
Here is the function in my functions.php file that I use to call the javascript.
function theme_js() { wp_enqueue_script( 'theme_js', get_stylesheet_directory_uri() . '/js/placeloc.js', array( 'jquery' ), '1.0', true ); wp_enqueue_script( 'gmap', '//maps.googleapis.com/maps/api/js?key=keyremovedY&libraries=places&callback=initMap', array ('jquery'), '1.0', true ); } add_action('wp_enqueue_scripts', 'theme_js'); add_action('wp_enqueue_script', 'gmap'); ?>
Basically I am trying to get a google places autocomplete hotel search javascript to work in wordpress.
https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-hotelsearch
[excessive code moderated]
- This reply was modified 8 years, 4 months ago by moltra.
- This reply was modified 8 years, 4 months ago by stephencottontail.
Forum: Plugins
In reply to: [WP Store Locator] Store location on cookie and search from thereI am also interested in this. I will see if I can figure it out and post what I find.
Forum: Plugins
In reply to: [Foodlist] totally seperate menus for different resturantswould it be possible to have to two menus so that only the Post owner could edit their menu?
Forum: Plugins
In reply to: [YASR - Yet Another Star Rating Plugin for WordPress] Cannot voteYes that fixed it.
I just got varnish working and now I am starting to see all the problems that it can cause with wordpress and plugins. I might end up not using varnish.
Forum: Fixing WordPress
In reply to: Cannot get amazon banner to show in footerI had the <div class messed up
Forum: Plugins
In reply to: [AdPush] Not showing add below commentsI am using 2015 theme with no changes.
I am using the Jetpack by WordPress.com plugin and if I enable the comments using the jetpack plugin the ad does not display. If I disable the jetpack comments, the ad displays properly.
I sent the system status via the send to support button in your settings.
Have the ad displaying now and will keep the jetpack comments disabled.
Thanks.
Version 4.1.0 will email the email-id separately.