Jump to content

Archived

This topic is now archived and is closed to further replies.

jane

Docker - custom post type

Recommended Posts

jane    6
jane

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
James B    436
James B

Hi there, alot of users use wp- types for custom post types - http://wp-types.com/home/types-manage-post-types-taxonomy-and-custom-fields/


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
jane    6
jane

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
jane    6
jane

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
jane    6
jane

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
James B    436
James B

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.


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
jane    6
jane

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
greenfly    230
greenfly

Could we have a link to your site please?


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
jane    6
jane

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

×