Support ForumHow to enable revisions for my homepage? – Support Forum https://support.ishyoboy.com/forums/topic/how-to-enable-revisions-for-my-homepage/feed Sun, 20 Apr 2025 07:32:49 +0200 http://bbpress.org/?v=2.5.12-6148 en-US https://support.ishyoboy.com/forums/topic/how-to-enable-revisions-for-my-homepage/#post-11223 <![CDATA[How to enable revisions for my homepage?]]> https://support.ishyoboy.com/forums/topic/how-to-enable-revisions-for-my-homepage/#post-11223 Fri, 15 Jan 2016 10:55:43 +0000 trottinett Hi ishoboy,

I think this will be one of my last questions and the my website will be finish.
I need the code for also enable revision for my HOME site.
You wrote one month before:

Ahaaaaa! The revisions are not enabled by default on Portfolio CPT. Please see this topic. This will surely enable them: https://support.ishyoboy.com/forums/topic/how-to-enable-revisions-on-portfolio-posts/

The revisions are not enabled for CPTs by default. To enable them you need to manually set this when registering the Custom Post Type (“Portfolio” in this case).

When we register it we use this filter:
$supports = apply_filters( 'ish_cpt_plugin_portfolio_post_type_supports', array('title', 'editor', 'thumbnail', 'comments' ) );

So just use the WordPress’s add_filter function to add a filter to the hook “ish_cpt_plugin_portfolio_post_type_supports” in your child theme and in it add the “revisions” into the end of input array. Something like:

Now, how is the code for the HOME site, that I have to put in the funkctions.php.

greetings
snowbird12

]]>
https://support.ishyoboy.com/forums/topic/how-to-enable-revisions-for-my-homepage/#post-11227 <![CDATA[Reply To: How to enable revisions for my homepage?]]> https://support.ishyoboy.com/forums/topic/how-to-enable-revisions-for-my-homepage/#post-11227 Fri, 15 Jan 2016 14:55:01 +0000 IshYoBoy Hey snowbird12

The answer is in the orinal topic you posted. Since your home is a regular page the Revisions are enabled by default. No additional code is needed to enable them. Just make sure they are visible from the “Screen Options” As per our first answer in your original topic:

File history – How to enable Revisions on portfolio posts?

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>
https://support.ishyoboy.com/forums/topic/how-to-enable-revisions-for-my-homepage/#post-11423 <![CDATA[Reply To: How to enable revisions for my homepage?]]> https://support.ishyoboy.com/forums/topic/how-to-enable-revisions-for-my-homepage/#post-11423 Thu, 28 Jan 2016 16:10:17 +0000 trottinett Hi Kreo
Hope you have a good time.
Again a revision question: how can I enable the revisions for products in the shop (woocommerce).
I open a new product, but there are now revisions. Also in the screen options there is no “post revisions”?

cheers
Toni

]]>
https://support.ishyoboy.com/forums/topic/how-to-enable-revisions-for-my-homepage/#post-11427 <![CDATA[Reply To: How to enable revisions for my homepage?]]> https://support.ishyoboy.com/forums/topic/how-to-enable-revisions-for-my-homepage/#post-11427 Thu, 28 Jan 2016 18:51:04 +0000 IshYoBoy Hi Toni,

Unfortunately the WooCommerce Plugin does not support revisions due to its complexity :( You can google about this topic to get more information.

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>