Reply To: v2.5 update 2 bugs

forums forums Circle Flip Support v2.5 update 2 bugs Reply To: v2.5 update 2 bugs


Specifically, if you make the above function pluggable I’ll be all set:

TIP FOR THEME DEVELOPERS. The fact that a child theme’s functions.php is loaded first means that you can make the user functions of your theme pluggable —that is, replaceable by a child theme— by declaring them conditionally. E.g.:

if ( ! function_exists( ‘theme_special_nav’ ) ) {
function theme_special_nav() {
// Do something.
In that way, a child theme can replace a PHP function of the parent by simply declaring it beforehand.