Posts Tagged ‘JavaScript’

WP Engineer - WordPress News, WordPress Themes, Hacks and Tutorials

WordPress Options Passed To JavaScript #2

In our first article of this mini series, I explained how to pass with JSON from PHP to JS. Alternativly you can do this with the WordPress function wp_localize_script(), but contains some pitfalls. Therefore this... read more...

WP Engineer - WordPress News, WordPress Themes, Hacks and Tutorials

WordPress Options Passed To JavaScript #1

In WordPress you are not always in the PHP world and so you have to pass settings and data from the database to scripts sometimes. In many Plugins you can find solutions in loading the... read more...

WP Engineer - WordPress News, WordPress Themes, Hacks and Tutorials

Comment Length Limiter

If you have used Twitter, then you know that you are only allowed to type 140 characters in a single Tweet. There is a nice little number below the text field indicating how much is... read more...

WP Engineer - WordPress News, WordPress Themes, Hacks and Tutorials

Advent Calendar – WordPress Editor: Preserve the scroll position

WordPress has a nice editor, with which are several hundreds of articles written daily. But in my opinion the editor has an usability issue. Every time you save a post the scroll position of the... read more...

WP Engineer - WordPress News, WordPress Themes, Hacks and Tutorials

Localization with JavaScript in WordPress

Creating Plugins and Theme functions with multilanguage capability has been established knowadays.Especially for us as German developers it is a must have. But there are some difficulties if you are using JavaScript, the question is... read more...

WP Engineer - WordPress News, WordPress Themes, Hacks and Tutorials

Fix Empty Searches

One minor problem for any web site is duplicate content: the same resource is available under different URIs. Yes, we have <link rel=canonical>, but anything that prevents such cases is better. Today, let’s look at... read more...

Pages: 1 2 Next