Skip Navigation

[Resolved] How i can show the new types on the front website ?

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 8 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

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

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 7 replies, has 2 voices.

Last updated by alind 8 years, 1 month ago.

Assisted by: Shane.

Author
Posts
#440324

I am trying to: show the types page. I have created 3 new types ( 1: firma, 2: products, 3: customer ), and i use the new fields. then, for example, i want to see the product page, But on the product page it's show me only the wordpress field ( title ). i want to see all the fields that i have add.

I visited this URL: hidden link

I expected to see: How i can see all the info. I don't have the view plugin. i try to insert the php code manualy but i don't know where i must insert it.

Instead, I got:

#440448

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Thank you for contacting our support.

On your Post edit page you should see a button right above the WYSIWYG editor called Types and this should allow you to insert the shortcodes for your custom fields that you have created.

Please let me know if this helps.

Thanks,
Shane

#440469

Hello,

I see the button, But, i belive that shortcode it's only to create a single page. not a page like single.php file, who can show me all the posts.

Or, Maibe i don't understend how to use.

#440474

Hello again,

I confirm you also that i use the free version.
Maibe it's posible with the php shortcode?

#440543

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Screen Shot 2016-09-27 at 2.08.25 PM.png

Hi Alin,

Yes this is on the free version you should see a Types button above the editor. See Screenshot.

Could you send me a screenshot of what you are seeing on your end.

Thanks,
Shane

#440551

Hello Shane and thank's that you try to help me!

so, i confirm you that i have this button there. No problem!
My problem it's how i can display the custom type on wordpress page?

i find this tutorial: https://toolset.com/documentation/user-guides/displaying-wordpress-custom-content/ But i realy don't know how i can start to do it.

for example, if my new type name it's "products" how i can create a php file who call me all the custom fields?

🙁 here i am loked..:(

#440569

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Alin,

This tutorial applies if you have our Toolset Views plugin installed.

It makes this setup much easier and without any php code. In order to do this without the content templates from Views you will need to create a php template file for each of you CPT.

Have a look at the link below.
https://toolset.com/documentation/user-guides/creating-templates-for-single-custom-posts-in-php/

Next you will need to display the contents of the custom fields in each CPT have a look at the link below for assistance with this.
https://toolset.com/documentation/customizing-sites-using-php/functions/

Please let me know if this helps.
Thanks,
Shane

#440654

Hello Shane,

I confrm you that i solve the problem.
so, i have create for each type a php file, single-product.php, etc.. then i have add the php shot code for each file and it's work.

Many thank's for all!

The forum ‘Types Community Support’ is closed to new topics and replies.