how to override file for header top part customize

Posted in: Newspaper
Post count: 11

Hi,

I have copy file from
plugins\td-standard-pack\Newspaper\parts\header\top-menu.php
to
themes\Newspaper-child\parts\header\top-menu.php

Then I have changed required information. But this is not getting effect from child theme file.

Can we override this file? it’s possible or not?

I wating for your review.

Thanks

Post count: 35449

Hi,

If you are using a standard header and not a cloud header, then the file will apply -> https://i.imgur.com/GbY36NR.png but in some case you need to copy some more files, I recommend to copy all files from plugins\td-standard-pack\Newspaper\parts\header in themes\Newspaper-child\parts\header and check the results!

Thank you!

Post count: 11

Hi calin

as per your sugessio i copy all file from plugin header to child theme header. top menu sign in/ join is working but when i click on sign in then popup is coming fron td-login-modal.php but it’s only come from plugin file. i try change content in child theme but it’s reading from plugin file.

Please update me4

Regard
Alpesh

Post count: 35449

Hi,
I think that I provide some confusion with above answers, please let me explain again:
This file wp-content/plugins/td-composer/legacy/Newspaper/parts/header/td-login-modal.php is responsible for the login/register content when the login button is selected.
This file wp-content/plugins/td-composer/legacy/Newspaper/parts/login.php is responsible for the login/register using the responsive version for theme for mobile devices.
This file wp-content/plugins/td-composer/mobile/parts/login.php is responsible for the login/register using the mobile theme plugin layout.
And this file wp-content/plugins/td-composer/mobile/parts/register.phpis responsible with the mobile theme plugin to display the content for login/resister
Hope this will help you!
Thank you!

Post count: 11

Hi Calin,

As you suggest I copy all file from
plugins\td-standard-pack\Newspaper\parts\header
in
themes\Newspaper-child\parts\header

But my all customization not reflect from child theme.

For Example
If I change in the below file then it reflects changes
themes\Newspaper-child\parts\header\top-menu.php

but If I change in below file then it’s not reflect
\themes\Newspaper-child\parts\header\td-login-modal.php

I hope that you understand my concern.

Post count: 11

Hi Calin,

Don’t worry about this. I got a solution for this.

Thanks for your help.

Post count: 35449

Hi, I’m glad that you manage the situation!
If you have other questions, let us know!
Have a nice day!

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.