Skip Navigation

[Resolved] No 100% width template after converting from page to custom post type

This support ticket is created 6 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 1.16 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 6 years, 10 months ago.

Assisted by: Luo Yang.

Author
Posts
#531647

Example page: hidden link

I am using Avada theme. Bootstrap CSS setting is switched to "off" in Toolset Settings.

What happened:

1. I created a new CPT called "product"
2. I switched 5 posts from post type "page" to post type "product" in the database (according to best practice)
3. When I open the newly switched posts in the back end, I am missing options, most notably the page templates. I'm also missing lots of options from the Fusion Page Options, and the Theme Options, in Avada.

I also tried making a copy of page.php via FTP, renaming it to single-product.php, and that did not help anything.

Any other ideas of how we can fix that?

Damian

#531713

Dear Damian,

The step 2 you mentioned above:
switched 5 posts from post type "page" to post type "product" in the database
I don't think it is the "best practice", since you are changing the post data in the database directly, and it will conduct some unexpected result, in your case, there are some Avada options value lost, I suggest you try these:
1) Manually setup the custom post again, check if the theme file single-product.php works
2) Ask help from the developers of Avada theme, check if it is possible to:
switched 5 posts from post type "page" to post type "product" in the database

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.