- This topic has 23 replies, 3 voices, and was last updated 4 years, 5 months ago by David.
-
AuthorPosts
-
October 17, 2019 at 4:16 am #1037031Matthew
In the Customizer I have Layout > Sidebars set to,
Sidebar Layout: Content (no sidebars)
Blog Sidebar Layout: Content/Sidebar
Single Post Sidebar Layout: Content/SidebarOn the post edit screen for a sample post (custom post type) I used the GP ‘Layout’ meta box and set the radio button from
Default
toContent (no sidebars)
. Then I refreshed the front facing post screen and the sidebar disappeared, which is correct.Back to the post edit screen and select the Layout setting back to Default. When I refreshed the post screen, the sidebar didn’t return. I think it should return the default setting under GP’s customizer, i.e Content/Sidebar (for Single Post Sidebar Layout)?
Note that I have a Layout Element created earlier as Tom recommended and I followed here:
https://generatepress.com/forums/topic/sidebars-have-come-up-on-attachment-pages/It is set to
Content (no sidebars)
with display rules asMedia | All Media
. This is not the custom post type concerned.Thanks,
October 17, 2019 at 6:01 am #1037099DavidStaffCustomer SupportHi there,
could you link me to the Post where the sidebar should be visible?
You can edit your original topic and use the Site URL field to share privately.October 17, 2019 at 6:44 pm #1037687MatthewHi David,
After the hyphen in the Site URL field is a password you need to insert for the Hide my Site plugin.
After returning to the sample post in admin screen I see that the GP ‘Layout’ meta box resets itself to Content (no sidebars), after I had set it on Default before saving the post. So it’s reverting to a global setting automatically it would seem.
Thanks!
October 18, 2019 at 4:14 am #1037947DavidStaffCustomer SupportDoes the sidebar re-appear if you change the Customizer > Sidebar Layout: Content (no sidebars) to Sidebar Layout: Content / Sidebar ?
October 18, 2019 at 7:29 am #1038116MatthewWhen I did that it had no effect on the custom post type posts. They are still without a sidebar. For other areas of my site i.e. pages it brought the sidebar on
October 18, 2019 at 5:54 pm #1038523DavidStaffCustomer SupportDo you have any Layout Elements effecting the sidebar ?
October 20, 2019 at 6:25 pm #1039917Matthewpls see my initial post earlier,
Note that I have a Layout Element created earlier as Tom recommended and I followed here:
https://generatepress.com/forums/topic/sidebars-have-come-up-on-attachment-pages/It is set to Content (no sidebars) with display rules as Media | All Media. This is not the custom post type concerned.
I set this up after Tom suggested and it worked great to remove the sidebar on my attachment page. To re-iterate, the only settings I made for this layout element were:
on Sidebar tab: set to
Content (no sidebars)
on Display Rules: set toMedia
>All Media
(i.e. the two select list drop-downs)All other settings for the layout element were default.
Also I moved this layout element to the trash to see if might be affecting things, but there was no improvement. Should I delete it permanently and try?
October 20, 2019 at 7:05 pm #1039926MatthewWith GP Customizer set on
Content/Sidebar
under Single Post Sidebar LayoutOn Standard Posts this is what happens.
Default radio selection for GP layout meta box is on
Default
https://drive.google.com/open?id=1DNNwYIozEaAtpd81BGA-FLO_r_JjoHaS
front facing post is displaying right sidebarSet radio selection for GP layout meta box to
Content (no sidebars)
https://drive.google.com/open?id=1tb53DMX0ZtiLYYU8AburzNEN52DXnZg-
front facing post is NOT displaying right sidebar nowSet radio selection for GP layout meta box back to
Default
. Note in the capture the setting becomes Content/Sidebar once I re-load the admin post screen
https://drive.google.com/open?id=1kClIVgXWsuWtuMO65qADNJOdsxS-GsS_
front facing post is displaying right sidebar againOn Custom Post Type this is what happens.
Default radio selection for GP layout meta box is on
Default
https://drive.google.com/open?id=1axL94cDxB7rWm_BzS5UfY3v_5aCb41uy
front facing post is displaying right sidebarSet radio selection for GP layout meta box to
Content (no sidebars)
https://drive.google.com/open?id=1yUqcMHMNlqeFJk6ajH5CEX8xEpS7R4jx
front facing post is NOT displaying right sidebar nowSet radio selection for GP layout meta box back to
Default
. Note in the capture the setting becomes Content (no sidebars) once I re-load the admin post screen
https://drive.google.com/open?id=1qzVZ6ti148GOJOKPZM6K-iv9O8eEo_Jc
front facing post is NOT displaying right sidebar again.So that is the difference, standard posts it is working while custom post type is not; there is a problem.
Any ideas?
thanks,
October 21, 2019 at 2:39 am #1040106DavidStaffCustomer SupportWould you be able to provide us with Temporary Admin access so we can take a look.
You can send the login via the Account Issue form:https://generatepress.com/contact/
Please add the URL of this topic to the form so we can track.
October 21, 2019 at 4:08 am #1040147MatthewHi David,
I am going to add a new user for this. Do I make the role ‘Administrator’
And the email ‘wordpress@generatepress.com’ should do?
thanks
October 21, 2019 at 6:17 am #1040225DavidStaffCustomer SupportWe would need Admin Role and use support@generatepress.com
October 21, 2019 at 4:27 pm #1040766TomLead DeveloperLead DeveloperNote in the capture the setting becomes Content (no sidebars) once I re-load the admin post screen
This tells me that the option is failing to save, which would explain why the frontend isn’t working.
Does this continue to happen even if you deactivate your other plugins? I wonder if one of them is causing Gutenberg not to save.
October 21, 2019 at 7:48 pm #1040868MatthewI’ve deactivated all plugins and removed all code from my site-specific plug-in to see if there’s anything in that that might be conflicting. All that’s left is the code of the actual custom post type (that’s in my site-specific plug-in), which is pretty standard code that registers the custom post type and taxonomy.
Can you confirm that the GP layout metabox on specific posts is compatible with custom posts? Would you be ok to look at my site-specific plug-in briefly, it’s a quite small and basic code in that for the custom post you would be familiar with. Hopefully anything wrong would stick out
thanks,
October 22, 2019 at 9:10 am #1041542TomLead DeveloperLead DeveloperOne thing to check: When registering your custom post type, can you make sure
custom-fields
is one of the items in thesupports
field?Like this: https://stackoverflow.com/a/55729362
October 23, 2019 at 8:19 pm #1042939MatthewGreat idea, I thought it would be the reason for sure, but no!
Using LSCache with caching at the server, done ‘Purge All’, disabled, then deactivated this plugin. Also cleared all forms of browser cache.
My CPT,
https://drive.google.com/file/d/1eix3gvw4s0RZvsZhjZRfxmzKQwV9nGub/view
Taxonomy (if required)
https://drive.google.com/file/d/1C1kQDm6wN8bQREShy11LZDG52sIwuwZS/view
thanks,
-
AuthorPosts
- You must be logged in to reply to this topic.