Child theme functions

Posted in: Newspaper
Post count: 10

Hi, Not sure if we can overwrite function in Newspaper/functions.php by using child theme as functions in Newspaper/functions.php are declared without “if ( ! function_exists(“.

What do you suggest if we cant to change functionality of any function.
Thanks

Post count: 3343

Hello,
From child theme nor work only the CSS. Sorry for the inconvenience.

Just edit the function you want to edit and on updates you can use a Winmerge or similar software to compare the changes.

Thanks for understanding

Post count: 10

Hmm that not good. Any plans to bring support for child theme because without it, extending the theme is not possible.

Post count: 9544

We also need the functions in child theme to work.
This is mandatory to enable custom over-rides for the site, turn off functions in things like Yoast for the menubar, specify custom optimizations, etc.

Child theme functions.php must be enabled for this theme to propagate both professionally and for the WordPress community to support it – period.

This includes over-rides for removing “versions” on javascript and CSS and font calls, removing RSS enclosures, removing error messages at login hack attempts, changing the WP post revisions interval and numbers, etc., etc.

This is one of the core functions (pun intended) for having a child theme.

This may mean looking for another theme provider, after all, if this core function support is removed. I’m already having to do couple of hacks on every version for things still not fixed, and which are *still* not yet defaults (like author byline on post … why should this be optional by a hack?).

C’mon folks. Time to clean up some of the BASE LINE functions of the theme before getting too tricky with some of the other stuff with galleries, or sliders, or whatnot.

Post count: 9544

HI … just to clarify I’m not misunderstanding:

the functions.php in child theme should over-ride core WP functions as normal – correct? But may not over-ride “theme specific” functions.

I think I can live with that (whew) 🙂

Post count: 9544

(sorry… having a bad day over here ….. )

Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.