Skip to content
Public Ticket #9682

PenNews: New functions added to functions.php in child theme don't work

Conversation thread

ICEknigh7 replied

Customer Reply

Nevermind, I was just using the parent theme when I opened this ticket. They work now just like the new CSS.

This can be closed.

quirogamonte replied

Customer Reply

Maybe they are in the Polylang plugin?

Penci Design replied

Staff Reply

Hi,

Yeah, i know. I checked on child theme of pennews and twentyfifteen-child. And i saw you added function twentyfifteen-child to child theme of pennews.

You code  on twentyfifteen-child have  "default_content" and "default_title" hook 

But i can't find  "default_content" and "default_title" hook  on TwentyFifteen theme.

Do you know i want say about filter ?

add_filter( 'default_content', 'jb_editor_content' );
add_filter( 'default_title', 'jb_editor_title' );

Best Regards,

PenciDesign

ICEknigh7 replied

Customer Reply

The new functions were added to "twentyfifteen-child".

Penci Design replied

Staff Reply

Hi,

I download TwentyFifteen theme on  your site and don't find "default_content" and "default_title" filter on TwentyFifteen theme.  https://prnt.sc/peg107 https://prnt.sc/peg182

It appears that two filter not come from TwentyFifteen theme.

Please tell me about the issue and tell me about position two filter on your site.

Best Regards,

PenciDesign

ICEknigh7 started the conversation

Conversation Start

I had a couple of functions added to Wordpress' default theme which automatically duplicated the contents of a post when adding a new language, but they don't work anymore when appending them to PenNews child theme.

They're the same ones I had in TwentyFifteen's child theme, appended now to the functions.php file in PenNews' child theme.

What could be happening?

Want to join this conversation or access attachments? Sign in first.