WordPress Theme Customizer Custom Controls
The Customizer is a relatively new way of WordPress Themes to provide you with options. Here is the visuality important, arrange the options directly in frontend for the Theme, play and save the settings. The post provide information about custom classes for your requirements.
Plugins are pretty popular, since it is easy to adjust your blog or website to your liking with Plugins. Less popular are Dropins. WordPress alows to replace some functions with Dropins. The list of possibilities isn’t big and not well documented. But I like to use Dropins to enhance the possibilties of caching, especially APC […]
Set WordPress Featured Image Automatically
Anyone who works in his WordPress blog with a picture and always wants or need to put one on his post – depending on the layout implementation, might like this small Plugin, which can do the setting automatically. If not a Featured Image is set it grabs the first image that was uploaded to the […]
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 little tutorial, also you should think about it in advance about these two solutions.
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 wp-load.php and therefore access to all features of WordPress. Long ago Otto (Samuel Wood) already referred to this fact and […]
First or Last Page in Page-Structures of WordPress
Now and then little snippets are pretty useful. For a fix in a Premium-Theme, I needed a kind of evaluation, where I am in the site structure and with little effort I was able to expand the classes and react with CSS. The following code shows the basic for it and get_pages() is the key […]