• 0

Docker - custom post type

Question

Posted · Report post

Hi,

 

I think Docker will be  very useful for my site however I wanted to ask, what does pagelines recommend using as far as a custom post type plugin? Is there a plugin in that better than the rest?

Share this post


Link to post
Share on other sites

8 answers to this question

  • 0

Posted · Report post

EDIT:

 

Martin Davies"] and @[member="James B, I found the fix for this problem:

 

In the Settings section of Polylang, make sure this is checked: The front page url contains the language code instead of the page name or page id

 

I found this fixed my Navi search problem and apparently it was the fix needed to get Docker to work as well!

 

So if anyone is having problems with Polylang and DMS2, apparently this setting is very important to have checked.

 

Thank you

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Thank you James B for the suggestion. There were too many to choose from so this help, thanks again

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

It doesn't seem to be working properly., the sidebar is not visible - any advice on why that might be?

 

 

EDIT:

 

I found the problem. I'm using Polylang for translations and the Types plugin to create custom post types. When I went into the languages setting of Polylang and checked the box to activate language and translations from custom post types, it breaks the docker sidebar. When I unchecked that setting, the sidebar reappears.

 

This is a bit problematic since ideally the site should be fully bilingual.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi I have another update to this.

 

So as I explained above Polylang seems to conflict with the Docker. Today I noticed though that all the posts I created under my custom post type now were showing as 404 pages.

 

I went into Polylang and reselected the box to activate language and translations, and the content reappeared however the sidebar disappeared.

 

Any feed back?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi there, is the page still using the same template as the page with the sidebar on? Are you able to drag and drop the sidebar back into position in the editor from the add to page section or does it vanish completely?

 

PolyLang will have separate pages for different languages. So you'd need to have a Docker section set up for each language, on each page.

 

If you're able to screenshot or screencast the process you're following this will help the moderator team in diagnosing the issue for you.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi James B thanks for stepping in to offer your assistance.

 

First, I should clarify that when I say "sidebar" I'm referring to the sidebar created by Docker...perhaps a better phrase would be vertical menu?

 

I understand that Polylang needs separate pages which is what I was doing (at least I'm fairly certain that is what I was doing!)

 

EDIT

 

Here's a link to a screencast of the problem I've been having:

 

 

  • I created a custom post type
  • made it translatable
  • added a new post
  • published the post and applied my docker template to the page
  • went back into edit to click the link to create the French version of the post
  • clicked publish and view and got a 404 page

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Could we have a link to your site please?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now