Apply own page template to particular page

Posted in: Newspaper
Post count: 19

Hi,

I want to apply my own page template to particular page.

So, I made “page-music-chart.php” on “wp-content/themes/Newspaper” folder

But I can’t find the template on page setting.

Where and how can I apply this template to the page?

Post count: 35449

Hi daehee.kim, this is a little harder, the file must be set in tagDiv Composer, on this path wp-content/plugins/td-composer/legacy/Newspaper but also is possible to be need to make changes in more places to see that page template like those https://i.imgur.com/cS7aiKM.png from our theme.
Thank you!

Post count: 19

Thank you for replying.

But when I tried to set the template under the path you mentioned,

it doesn’t appear on the page setting again.

Please see below pictures.

directory
page setting

Is there any more needed steps to applying the template?

Post count: 19

Image tag doesn’t work properly. Please see below link

https://imgur.com/a/ij6wub1

Post count: 35449

Hi daehee.kim, is not so easy to set a new page template.
Is not working because as I said above, you need to make changes in more paces, you need to add it in this place wp-content/plugins/td-composer/legacy/common/wp_booster/wp-admin/js/td_edit_page.js -> https://i.imgur.com/xBdFQOn.png also in this wp-content/plugins/td-composer/legacy/common/wp_booster/td_wp_booster_functions.php -> https://i.imgur.com/hzPtbif.png and here wp-content/plugins/td-composer/legacy/Newspaper/includes/td_config.php -> https://i.imgur.com/VFesNEa.png I hope that I do not miss a place where it need to be added.
Thank you for your understanding!

Post count: 19

Thank you for your support.

It did work as below link

https://imgur.com/a/QKFuxfA

Actually I have a problem to apply it to live server.

Though it works on staging server, it causes error on live server for somewhat reason.

It makes not only admin page not working, but also make entire WordPress pages not working.

I need to figure out what makes it causes error on live server.

Anyway, thank you for your advise again.

Post count: 35449

Hi,
I hope you can find out what the problem is, to can use your custom page template.
If you have other questions related to our theme, 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.