Hello,
How can I override “/wp-content/plugins/td-standard-pack/Newspaper/header.php”?
Because this one: /wp-content/themes/Newspaper/header.php has “wp_body_open” but “/wp-content/plugins/td-standard-pack/Newspaper/header.php” doesn’t.
Thanks
Hello,
If you want to override the header from ” “/wp-content/plugins/td-standard-pack/Newspaper/header.php” you need to copy the header.php file from there and set it in child theme
Also, what do you want to edit to the header file? maybe it can be done with Cloud Header.
Thank you!
Hello,
Tried this, does not work.
If you want to override the header from ” “/wp-content/plugins/td-standard-pack/Newspaper/header.php” you need to copy the header.php file from there and set it in child theme.
I want to add this action: “wp_body_open”, you have it in the main header.php on the theme, but not in the th-standard-pack
Hello,
The parameter “wp_body_open” can be found in free WordPress Themes.
The file /wp-content/themes/Newspaper/header.php is used when the tagDiv plugins are disabled, then Newspaper theme will be similar like a free WordPress theme.
If you want you can add the code https://pastebin.com/FzCkLbQh in the header file set in the child theme under <body> element => https://i.imgur.com/7qha3Pk.png
Thank you!
Hello again,
I don’t know if you are reading what im writing but I’m going to write again. I’ve done that and it does not work! Your theme does not read changes in header.php in the child theme directory.
Thanks
Hello,
For what do you want to use the “wp_body_open”? do you want to set code in theme, for this our theme is using wp_head() and wp_footer() and it can be set in the fields from Theme Panel https://i.imgur.com/qvvJyyi.png if you want to achieve the same for “wp_body_open” then only set it in header.php body is not enough, you need to do more changes, custom changes or use plugins that can identify that line of code and use it.
Also here are some more details about the way it needs to be set this code https://make.wordpress.org/themes/2019/03/29/addition-of-new-wp_body_open-hook/
Thank you for your understanding!
Hello,
First you say this: If you want you can add the code https://pastebin.com/FzCkLbQh in the header file set in the child theme under <body> element => https://i.imgur.com/7qha3Pk.png then you say: if you want to achieve the same for “wp_body_open” then only set it in header.php body is not enough, you need to do more changes, custom changes or use plugins that can identify that line of code and use it.
Let’s put thinks straight I want to override your theme header.php how can I achieve that? Is that possible yes our no?
Thanks.
Hi,
Yes, you can override the header.php file, but this can be done only with custom work, you need to make some implementations in code and those are not covered by support policy -> https://i.imgur.com/xjeOdMC.png -> https://forum.tagdiv.com/support-policy-2/ with all those, I try to help you, but I can provide only some suggestions and not code implementation.
We are sorry for the inconvenience!
Thank you for your understanding!