Optimization: child theme style loading

child theme css

Quick question: how to do child theme style file loading correctly? If you are searching on WordPress, you will mostly get answers of using wp_enqueue_scripts. If you need to load parent styles too, as I usually do, you will need to call wp_enqueue_style twice, once for parent and once for child theme styles. [div class=”notes”] Pay … Read more

Shortcodes in text widgets

WordPress shortcode

Shortcode in WordPress gives both programmers and users flexibilities. Combining shortcodes and widgets, coders can have less code in their theme, plugin. Calling shortcodes with different parameters helps users using code easier. However, there are some issues that I have seen many people facing to. 1. Shortcodes by default do not run in text widgets. … Read more