Issue creating page called projects with the same name as my Custom Post type

HI Guys,

I have created a custom post type called Projects.
I decided to create a page called projects and using the page builder add one of the default custom templates provided by BB called blog grid. When I do try this beaver builder just takes me to the archive page. Very strange. http://klassprojects.com.au/projects/?fl_builder

On the other hand I created a page called test and using page builder added the default custom templates provided by BB called blog grid and all works fine.
Any Ideas.

Also when I select a single custom post blog/project it displays the project with a sidebar and no featured image. How do i get it to display with no sidebar and the featured image. Ive seen this issue for the featured image come up a few times has this been rectified.

Regards
Ollie

Hey Ollie,

That’s really weird. Do you mind sharing temp admin access so we can take a look? You can post the details here using the private reply option below.

Thanks!

KC

Hey Ollie,

Just wanted to chime in here. When you created the CPT Projects, it took the /projects slug, and that’s the reason why visiting that URL take you to the archive page. I’d suggest using a different title/slug for your page.

The Single Posts layout is controlled by your theme. If you are using the BB theme, you can change that under Appearance > Customize > Content > Blog Layout.

Hope this helps! :slight_smile:

Ben

Hi Ben,

I removed the custom post type and flushed the cache and resaved permalinks and this fixed the problem i had at the time. It seems that I can create any kind of page for my blog and use it with some of the beaver builder page builder templates, eg: “Blog grid” and this is all very well and good for the default wordpress blog but is there an option to use these page builder templates with a custom post type or do we have to customise archive.php and single.php with custom post types.
Also the option under beaver builder settings->post types allows you to allow custom post types whats the point of this if you still have to customise template files.

Kind Regards
Ollie

Hey Ollie,

The Page Builder can only edit the content area of the page, i.e., it simply replaces the native WP editor. There are some elements the native WP editor can’t handle like archive pages, headers, and etc. For those instances, you’ll need to edit the template files.

You can definitely use the Page Builder on CPTs by enabling the setting you mentioned. But again, you can only use it on the content area.

Hope this helps! :slight_smile:

Ben

Hi Ben,

I just found the option I was looking for. Under the projects page I created, within the BB page builder the “grid blog” template i chose has a setting for post types which I missed. now I can display my custom post types. But now I have another issue. when I select a single post from my projects it displays the message:
SORRY! THAT PAGE DOESN’T SEEM TO EXIST.

Any Ideas

Regards
Ollie

Hey Ollie,

Do you mind sharing temp admin access to the site so we can take a look?

Ben

Hi Ben,

I flushed the cache and saved the permalinks again and it has fixed this problem. Seems like I have had a couple issues when implementing custom post types have others experienced the same thing. Happy to give you access if you want to have a look. just let me know. Thanx

Regards
Ollie

Also I know I have asked you about displaying the sidebar option within BB settings->blog layout thanks for that but is there an option to do the same for other post types as there is no option for it other than creating a single-projects.php temp-late file based on the single.php template file and removing stuff out.

Thanx

Hey Ollie,

The permalinks setting simply modifies your .htaccess file. That file might have been deleted on your installation. Resaving the permalinks settings should have recreated that file and fix the issue. I do get this problem from time to time even outside BB.

That setting in the customizer controls all single posts. There is no granular control for each CPT. Modifying the template files is one way around it. If you want to hide it, you can use CSS. If you want to replace the contents of the sidebar, you can use the WooSidebars plugin.

Hope this helps! :slight_smile:

Ben

Hi Ben,

Thanx for all your help. I tried the sidebar plugins but unfortunately they still display a sidebar on a single post page, as you mentioned there is no granular control for this, so I have opted to create a custom template painful as it was. Any chance this can be considered for the next release/update as I find the BB theme has very little good support for custom post types. Would be a nice feature to have among other options for custom post types. Again thanks for your help.

Kind Regards
Ollie

Hey Ollie,

No worries at all! If you’ve a minute, feel free to add that as a feature request on our User Voice.

Enjoy! :slight_smile:

Ben