Fix the code for the article on enabling Gutenberg support for CPT
The article is here: https://www.cloudways.com/blog/gutenberg-wordpress-custom-post-type/
The fix is in the comment by John Laprairie who provides an extended list of array values for 'supports'.
In particular, at least the 'title' value is required or when a new CPT is added, there will be no 'Add Title' field in the Gutenberg editor and no way to add a title for the CPT.
It's easy to overlook the correct comment and simply use the code in the article with the expectation that it should work, without having to spend considerable time debugging. Maybe there has been an update to Gutenberg which requires the 'title' value, after this article was initially written 11 months ago.
The article was written February 11, 2019 , the comment with the correct code was written 5 months ago (August 2019). IMHO it's a pretty poor show that it is still not corrected in January 2020 and isn't on a par with other articles I have read on Cloudways.
BTW, this 'feedback' subdomain appears not to have a SSL certificate. Just sayin'.
-
Chilly Beam commented
The journey begins with understanding your strengths as a player. Every gamer approaches https://2k26lockercodes.com/all-2ktv-answers-2k26/ differently. Some enjoy scoring from long distance, while others prefer attacking the basket or locking down opponents on defense. Recognizing your preferred playstyle is important because it helps determine the best build, badges, and animations for your player.
-
shoaib malik commented
It’s frustrating when outdated code examples waste so much debugging time, especially when the fix has been available in comments for months. Just like how using an accurate Auto Loan Calculator prevents unexpected errors in financial planning, up-to-date code snippets are essential to avoid unnecessary headaches. Here’s hoping Cloudways updates this article soon to include the missing 'title' value for Gutenberg compatibility. https://autoloancalculator.app/
-
Alastair Schriber commented
Good catch pointing out that missing 'title' value in the supports array! It's frustrating when outdated articles cause unnecessary debugging. Speaking of helpful tools, I use YouTube Thumbnail Downloader when I need quick access to high-quality thumbnails - wish more sites kept their content updated like your feedback suggests!
-
Alastair Schriber commented
Great catch pointing out the missing title field issue in the Gutenberg CPT code! It's frustrating when outdated articles cause unnecessary debugging time. Just like how Face shape detecter needs accurate inputs to work properly, code examples need to be complete and up-to-date to function as intended. Hope they fix it soon!
-
Alastair Schriber commented
Good catch about the missing 'title' value in the CPT code! It's frustrating when outdated articles cause unnecessary debugging. Reminds me of bouncy balls where small missing settings can break functionality too. Hope Cloudways updates this soon since the fix has been in comments for months. Also agree about the SSL issue!
-
Alastair Schriber commented
Great catch pointing out the missing 'title' value in the Gutenberg CPT code! It's frustrating when outdated articles cause debugging headaches. While waiting for Cloudways to update it, I'll be clicking away in Brainrot Clicker - at least that game gets regular updates unlike this article! The SSL issue is another red flag.
-
Virginia Walker
commented
Thank you for such valuable information. I've been looking for a solution to this problem for a long time and I finally found one. Really appreciate your reply! Quite often there are difficulties and bugs when writing code for an article. As in general when writing a scientific article. I turn periodically to professionals https://www.bestessays.com/ who write the best essays and it helps me to submit them on time.
-
Leon Walsh
commented
Well, sometimes it happens that the company lacks professional developers to make changes to the code making it work properly. Why not to hire third party programmers then instructing them to fix everything? I know there's plenty of programmers providing instant help with the students' homework online gathered at https://myassignmentlab.com/ and which do my assignment for me. To my mind and experience one can get help from this service related to bug fixes, project audit or writing code from scratch. Check them out.
-
Anonymous
commented
Here now someone said something about ASBURY UNIVERSITY so if you are into https://www.paperwritingpro.com/ then i hope this will be really good and there are others who would like to look forward to it at this time of the year as well as for now sooner than that.
-
RichardCMcMurray
commented
Well, I know that this is very critical to solving a technical subject work but this time my essay writing work is most problematic for me and I need some help with this. Someone suggest me try https://essaywriting.net.nz/assignment-help-nz where I can easily get the assignment help in NewZealand but I have some doubts about this and I need expert help for my work. Could you please suggest me something about this.
-
Demetra Neill
commented
Thankyou so much for this post.