Comprehensive Guide to make WordPress Theme Options with Customization API

Comprehensive Guide to make WordPress Theme Options with Customization API

The Theme Customizer was introduced since WordPress version 3.4 then it’s become a relatively new way of WordPress Themes to provide you with options. It allows for an editing environment where theme options can be tried by the administrator before being applied to the live site. In this tutorial, we will look at exactly how this feature can be added to a theme and I show you how to create your own classes to extend the controls to make your own Customizer Custom Controls, since not all fields and requests are in the core already. You can access existing solutions of the community or create your own classes.

Read more

Display WordPress post excerpt instead full content

I recomment you using post’s excerpt in the loop of post instead full content with more tag because you can introduting about your post better than automatic teasing a part from the content. Your post will be look more appealing.
By default, WordPress display the post content in loop with the_content() function in theme files, so your custom excerpt will not display as you want on the homepage (or blog page) without editting it. We can tell WordPress using the Excerpt instead the teaser by filter the_content() with your custom function in functions.php.

Read more