108 reputation
10
bio website
location
age
visits member for 1 year, 6 months
seen Feb 8 at 12:20

Jan
13
awarded  Popular Question
Nov
4
awarded  Popular Question
Oct
2
awarded  Popular Question
Feb
27
answered WP Nav Menu: String replacements
Feb
27
comment WP Nav Menu: String replacements
You’re probably right—it’s just because I’d like to keep the code as clean as possible.
Feb
27
comment WP Nav Menu: String replacements
Because I’d like to remove all the other (for me) useless classes and IDs that WP adds automatically like menu-item menu-item-type-post_type menu-item-object-page
Feb
27
asked WP Nav Menu: String replacements
Feb
9
awarded  Tumbleweed
Feb
7
accepted Allow editors to post iframes
Feb
7
comment Allow editors to post iframes
Ah, my fault, I had a wrong YouTube link … Thanks!
Feb
7
comment Allow editors to post iframes
I don’t know why but the [embed] code doesn’t work …
Feb
7
asked Allow editors to post iframes
Jan
21
accepted Using template tags in external JS file
Jan
21
comment Using template tags in external JS file
Yep, I manage to get it to work with wp_enqueue_script( 'custom_js', get_bloginfo( 'template_directory' ) . '/js/google-map.js' ); wp_localize_script('custom_js', 'wp_urls', array( 'template_dir' => get_bloginfo( 'template_directory' ) ));
Jan
21
comment Using template tags in external JS file
I manage to get it to work with wp_enqueue_script( 'custom_js', get_bloginfo( 'template_directory' ) . '/js/google-map.js' ); wp_localize_script('custom_js', 'wp_urls', array( 'template_dir' => get_bloginfo( 'template_directory' ) ));
Jan
21
comment Using template tags in external JS file
wp-head(); is called before the alert but there’s nothing added in the header by wp-head();.
Jan
21
comment Using template tags in external JS file
I changed every hyphen to an underscore—but it still doesn’t work.
Jan
21
revised Using template tags in external JS file
edited body
Jan
21
accepted Removing <p> tags around <div> tags
Jan
21
asked Using template tags in external JS file