Archived topic
Sidebar setting not returning to Default
23 replies · Started by Matthew on October 17, 2019
Strange, does the option work correctly on regular pages and posts?
What if you create a custom post type using a plugin (just to test)?: https://wordpress.org/plugins/custom-post-type-ui/
hi Tom,
Thanks for your helpful suggestion,
I have installed the CPT UI plugin and the problem persists with new testing custom posts I made. Below is the question I have just put forward in their forum:
https://wordpress.org/support/topic/post-meta-not-updating/
thanks,
Found the issue - bug in GP 2.3.2.
Here's the fix, which I've committed to 2.4: https://github.com/tomusborne/generatepress/commit/b736612964ef5b2c676fd9e0b1a64d8e4a6294ba
Thanks for pointing this out! :)
That's great. Shall I wait for 2.4 release or do something with the github resource, install the fix myself, etc. Not sure of the process
Thanks,
You can make those changes directly to your install if you'd like - that way you don't need to wait for 2.4.
Let me know if you need help doing so :)
Some instructions would be awesome. Also, what is the ETA for 2.4
thanks,
Hi there,
you would need to replace the contents of the block-editor.js file found in the generatepress/js/admin folder with the code provided here:
https://github.com/tomusborne/generatepress/blob/release/2.4/js/admin/block-editor.js
That worked, thanks Tom and David! (or David and Tom),
Also, regarding the placement of the GP Layout control box
For the CPT that was created from me placing a code snippet into my site-specific plug-in, the control is placed in the main body area of the post as shown below:
https://drive.google.com/open?id=123M3wTuPzQsNTwXfi9NMEGUV8U_Rs0v5
Whereas for the CPT that was created from using the CPT-UI plug-in Tom recommended to me for testing, the control is placed in the side section area of the post as shown below:
https://drive.google.com/open?id=1G7CUGeEeOpFfRvCdTGBYxNkhUAKhWWmN
Is this (a) pointing to any potential problem, and (b) could you say how I can move it to the side section which I prefer.
thanks again,
Glad we could be of help.
No issue where the meta box is placed.
If you hover over the Meta box heading you should see the drag cursor appear, click and drag it over the sidebar - can be a bit fiddly something Gutenberg could improve upon.