Skip Navigation

[Closed] I prefer to hardcode the theme and I use to make it with echo_shortcode on the old version of Views

This support ticket is created 3 years, 10 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.

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 3 replies, has 2 voices.

Last updated by Luo Yang 3 years, 9 months ago.

Assisted by: Luo Yang.

Author
Posts
#2156621

Hi Luo.
Ok, I have all done, the post forms and the two CPT, however I didn't know hoy to implement the post view on the single book post page. I prefer to hardcode the theme and I use to make it with echo_shortcode on the old version of Views, but with the new Blocks I can't see any shortcode. I could be a very dummy question but I do not the new version very much. Sorry.

Another issue I have is the book checkbox and how the post form will get that information.
Thanks.

#2156625

Hello,

Q1) I suggest you try these:
1) Create a new content template, and display the post view
2) In your theme file, output above above post view with Views API function render_view_template(), see our document:
https://toolset.com/documentation/programmer-reference/views-api/

Q2) Another issue I have is the book checkbox and how the post form will get that information.
Please elaborate the questions with more details:
How do you setup the "book checkbox" in post form?
What information do you want to get from book checkbox?

Thanks

#2167875

Can I open this thread later?
Right now I'm with another things on this project.
Thanks?

#2168539

I have marked this thread as "Waiting for feedback" status, you can update here when you need more assistance for it.

The topic ‘[Closed] I prefer to hardcode the theme and I use to make it with echo_shortcode on the old version of Views’ is closed to new replies.