Support ForumHow to enable Revisions on Portfolio posts? – Support Forum https://support.ishyoboy.com/forums/topic/how-to-enable-revisions-on-portfolio-posts/feed Sun, 20 Apr 2025 09:00:56 +0200 http://bbpress.org/?v=2.5.12-6148 en-US https://support.ishyoboy.com/forums/topic/how-to-enable-revisions-on-portfolio-posts/#post-7868 <![CDATA[How to enable Revisions on Portfolio posts?]]> https://support.ishyoboy.com/forums/topic/how-to-enable-revisions-on-portfolio-posts/#post-7868 Tue, 28 Apr 2015 01:35:19 +0000 Web_Browser Hi,

I cannot see any Portfolio Revisions. I have tried de activating all plug ins and reactivated one at a time but no joy.

Any suggestions?

Regards,

]]>
https://support.ishyoboy.com/forums/topic/how-to-enable-revisions-on-portfolio-posts/#post-7873 <![CDATA[Reply To: How to enable Revisions on Portfolio posts?]]> https://support.ishyoboy.com/forums/topic/how-to-enable-revisions-on-portfolio-posts/#post-7873 Tue, 28 Apr 2015 06:17:33 +0000 IshYoBoy Hey,

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:

From that moment the portfolio will track revisions as well.

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-on-portfolio-posts/#post-7991 <![CDATA[Reply To: How to enable Revisions on Portfolio posts?]]> https://support.ishyoboy.com/forums/topic/how-to-enable-revisions-on-portfolio-posts/#post-7991 Tue, 05 May 2015 00:12:45 +0000 Web_Browser Hi,

Thank you. Sorry which file do I have to add this bit of code in ?

]]>
https://support.ishyoboy.com/forums/topic/how-to-enable-revisions-on-portfolio-posts/#post-8000 <![CDATA[Reply To: How to enable Revisions on Portfolio posts?]]> https://support.ishyoboy.com/forums/topic/how-to-enable-revisions-on-portfolio-posts/#post-8000 Tue, 05 May 2015 05:45:28 +0000 IshYoBoy Hey,

Add it to the “functions.php” of your child theme to avoid losing it in the next update.

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-on-portfolio-posts/#post-8006 <![CDATA[Reply To: How to enable Revisions on Portfolio posts?]]> https://support.ishyoboy.com/forums/topic/how-to-enable-revisions-on-portfolio-posts/#post-8006 Tue, 05 May 2015 15:53:27 +0000 Web_Browser Hi,

Added to Child theme however does not show revsions on portfolio page.
My Funtions Child theme is as below:

Can you see where I am going wrong.
Thanks.

]]>
https://support.ishyoboy.com/forums/topic/how-to-enable-revisions-on-portfolio-posts/#post-8014 <![CDATA[Reply To: How to enable Revisions on Portfolio posts?]]> https://support.ishyoboy.com/forums/topic/how-to-enable-revisions-on-portfolio-posts/#post-8014 Wed, 06 May 2015 04:40:41 +0000 Web_Browser Hi,

I believe it is working. Just need to confirm with some more portfolio pages.

Many thanks again.

]]>
https://support.ishyoboy.com/forums/topic/how-to-enable-revisions-on-portfolio-posts/#post-8034 <![CDATA[Reply To: How to enable Revisions on Portfolio posts?]]> https://support.ishyoboy.com/forums/topic/how-to-enable-revisions-on-portfolio-posts/#post-8034 Wed, 06 May 2015 09:01:30 +0000 IshYoBoy Oh, great!

You just need to maybe enable it on the “Screen Options” panel when editing a page. A new version is created on every publish.

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

]]>