Gutenberg support for the portfolio post type
Good afternoon,
A long time ago that working with you I had not realized that the portfolio post type do not use the Gutenberg editor (or do not have it activated by default).
After researching I have found the solution that I think can help the community and it would be great if you could implement it natively since it is extremely simple:
All I did was add the line
'show_in_rest' => true,
to file
/wp-content/themes/betheme-child/functions/post-types/class-mfn-post-type-portfolio.php
in line 369, into "$args" array.
And voila! We already have the new editor to be able to use it in the post type portfolio.
Obviously I did it in the child theme and if you put it natively it would be great.
I hope I know what you think of the idea and if you were planning to add it one day.
Thans!
Comments