# Page for custom post type

**URL:** <https://forum.pinegrow.com/t/page-for-custom-post-type/6455>\
**Category:** Pinegrow Theme Converter\
**Created:** [April 3, 2022, 8:26am UTC](https://forum.pinegrow.com/t/page-for-custom-post-type/6455 "2022-04-03T08:26:36Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Grzegorz](https://avatars.discourse-cdn.com/v4/letter/g/58f4c7/32.png) [@Grzegorz](https://forum.pinegrow.com/u/Grzegorz)\
**Post date:** [April 3, 2022, 8:26am UTC](https://forum.pinegrow.com/t/page-for-custom-post-type/6455/1 "2022-04-03T08:26:36Z")

</div>

Hello everyone,

I’m new to Pinegrow and this is my first post here.  
I use Pinegrow Theme Converter to convert pages made in Webflow to WordPress.

I have normal posts and two custom post types on the website I’m working on, and I want to set up custom pages containing those posts.  
For example, I have a custom post type “Trips” and there is a post “Miami”  
so the path will be like: [www.mypage.com/trips/miami](http://www.mypage.com/trips/miami) but there’s nothing under the link: [www.mypage.com/trips](http://www.mypage.com/trips), it redirects to the home page.  
If I create a page called “Trips” it won’t work because the name is already taken.

So how do I create a custom page containing my custom posts “Trips” that will be under the link: www. mypage . com / trips ?

---

<div class="post-metadata">

**Author:** ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)\
**Post date:** [April 3, 2022, 12:34pm UTC](https://forum.pinegrow.com/t/page-for-custom-post-type/6455/2 "2022-04-03T12:34:13Z")

</div>

Hi @Grzegorz,  
For your CPT are you using a dedicated template? Like `single-trips.php`? This and checking your permalink settings on the WordPress side should give the results you are looking for. Here is a link to this topic for the full Pinegrow, but should give you some insight into what needs to be done with the Theme Converter. [A guide to WordPress templates for posts, pages and custom post types | Pinegrow Web Editor](https://pinegrow.com/docs/wordpress/a-guide-to-wordpress-templates-for-posts-pages-and-custom-post-types/)  
Cheers,  
Bob

---

<div class="post-metadata">

**Author:** ![Grzegorz](https://avatars.discourse-cdn.com/v4/letter/g/58f4c7/32.png) [@Grzegorz](https://forum.pinegrow.com/u/Grzegorz)\
**Post date:** [April 3, 2022, 3:38pm UTC](https://forum.pinegrow.com/t/page-for-custom-post-type/6455/3 "2022-04-03T15:38:07Z")

</div>

Thank you for your reply.

Single post works fine,  
I was asking about the page above that should contain the loop of posts.

I can set up a static page with a template I desire but it can’t be “Trips” it can be “Next-trips” for example.

So the path for the post will be mypage / trips / mypost  
but mypage / trips doesn’t exist  
and the page containing the loop will be mypage / next-trips

Best  
Grzegorz

---

<div class="post-metadata">

**Author:** ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)\
**Post date:** [April 3, 2022, 6:27pm UTC](https://forum.pinegrow.com/t/page-for-custom-post-type/6455/4 "2022-04-03T18:27:04Z")

</div>

Hi @Grzegorz,  
Do you mean an archive page? It would be a template like `archive-trips.php`. That would contain a loop pulling in the various trip CPT.  
Bob

---

<div class="post-metadata">

**Author:** ![Grzegorz](https://avatars.discourse-cdn.com/v4/letter/g/58f4c7/32.png) [@Grzegorz](https://forum.pinegrow.com/u/Grzegorz)\
**Post date:** [April 13, 2022, 11:16am UTC](https://forum.pinegrow.com/t/page-for-custom-post-type/6455/5 "2022-04-13T11:16:05Z")

</div>

Apparently, it is about the archive page.

I have created template archive-trips.php and nothing happened.

It should be on mypage / trips ?

Is there something I should do?

---

<div class="post-metadata">

**Author:** ![Emmanuel](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/emmanuel/32/6294_2.png) [@Emmanuel](https://forum.pinegrow.com/u/Emmanuel)\
**Post date:** [April 13, 2022, 11:23am UTC](https://forum.pinegrow.com/t/page-for-custom-post-type/6455/6 "2022-04-13T11:23:09Z")

</div>

@Grzegorz

To be direct, without knowing what you put in your page, it will be difficult for us to answer you.

Have you had a chance to check out our dedicated WordPress support guide available here: [Contact Us | Pinegrow Web Editor](https://pinegrow.com/contact-us/#wordpress-support-guidelines)

---

<div class="post-metadata">

**Author:** ![Grzegorz](https://avatars.discourse-cdn.com/v4/letter/g/58f4c7/32.png) [@Grzegorz](https://forum.pinegrow.com/u/Grzegorz)\
**Post date:** [April 13, 2022, 11:27am UTC](https://forum.pinegrow.com/t/page-for-custom-post-type/6455/7 "2022-04-13T11:27:19Z")

</div>

Thank you

I will dig into it.

---

<div class="post-metadata">

**Author:** ![Grzegorz](https://avatars.discourse-cdn.com/v4/letter/g/58f4c7/32.png) [@Grzegorz](https://forum.pinegrow.com/u/Grzegorz)\
**Post date:** [May 6, 2022, 9:01am UTC](https://forum.pinegrow.com/t/page-for-custom-post-type/6455/8 "2022-05-06T09:01:06Z")

</div>

I’ve done everything from scratch and Custom posts works OK.

But I have a few more issues:  
1 Why this page looks like this: [https://stormy-typography.localsite.io/podcast/podcast-o-niczym/](https://stormy-typography.localsite.io/podcast/podcast-o-niczym/)  
instead like this: [https://stormy-typography.localsite.io/wyjazdy/test-001/](https://stormy-typography.localsite.io/wyjazdy/test-001/)

2 Why there’s nothing on search result site?

login: aardvark  
pass: gentle

I’ve had enough of it, can someone help me commercially?

---

<div class="post-metadata">

**Author:** ![Emmanuel](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/emmanuel/32/6294_2.png) [@Emmanuel](https://forum.pinegrow.com/u/Emmanuel)\
**Post date:** [May 6, 2022, 9:30am UTC](https://forum.pinegrow.com/t/page-for-custom-post-type/6455/9 "2022-05-06T09:30:47Z")

</div>

During the development steps, in order to easily debug theme templates, I HIGHLY recommend the following plugin: [https://querymonitor.com](https://querymonitor.com)

---

<div class="post-metadata">

**Author:** ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)\
**Post date:** [May 6, 2022, 9:49am UTC](https://forum.pinegrow.com/t/page-for-custom-post-type/6455/10 "2022-05-06T09:49:46Z")

</div>

Hi @Grzegorz,  
For some reason,loading your image through inline styling is losing the width. Not sure why. Setting the width to `100vw` displays the image, but the flow still isn’t quite right. My best guess is that something further up the page is disturbing the flow, or I don’t understand inline vs stylesheet handling of background well enough.  
I don’t quite get your second question.  
Cheers,  
Bob

---

<div class="post-metadata">

**Author:** ![Grzegorz](https://avatars.discourse-cdn.com/v4/letter/g/58f4c7/32.png) [@Grzegorz](https://forum.pinegrow.com/u/Grzegorz)\
**Post date:** [May 6, 2022, 10:26am UTC](https://forum.pinegrow.com/t/page-for-custom-post-type/6455/11 "2022-05-06T10:26:12Z")

</div>

Thank you for the fast replays.

@Emmanuel I will check it out but I’m not a PHP coding person I don’t know if it will be much of a help.

@RobM My second question was about the search result page, it looks like this: [https://stormy-typography.localsite.io/?s=anything](https://stormy-typography.localsite.io/?s=anything)

This is the project I’m struggling to convert to a WordPress theme: [https://wyjdz-do-swiata.webflow.io/](https://wyjdz-do-swiata.webflow.io/)

Best regards  
Grzegorz

---

<div class="post-metadata">

**Author:** ![Emmanuel](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/emmanuel/32/6294_2.png) [@Emmanuel](https://forum.pinegrow.com/u/Emmanuel)\
**Post date:** [May 6, 2022, 11:21am UTC](https://forum.pinegrow.com/t/page-for-custom-post-type/6455/12 "2022-05-06T11:21:41Z")

</div>

> [@Grzegorz](#):
>
> @Emmanuel I will check it out but I’m not a PHP coding person I don’t know if it will be much of a help.

In fact, it’s not about PHP, the information provided is very interesting so you can (among MANY other things) check which template is really used for the display of a view, the current conditions etc …

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/d/d415775234cb3a799d12ff54f9599a834bda17eb.png)
