Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   Does theme have page or post revision control feature (http://forum.bytesforall.com/showthread.php?t=12801)

not2old2learn Feb 15, 2011 04:07 AM

Does theme have page or post revision control feature
 
Is there a feature in ATO to turn off or limit page and post revisions? If so, where. If not, short of a plugin, do you recommend adding code to the top of the wp-config.php file like this (found this code after an extensive search):

//Turn OFF WP revisions feature.
define ('WP_POST_Revisions', false);
define ('WP_PAGE_Revisions', false);

or to limit reivisions

//Limit WP revisions. Value can be any positive integer number.
//Create a maximum of 2 revisions, plus one for auto-save.
define ('WP_POST_REVISIONS', 2);
define ('WP_PAGE_REVISIONS', 2);

Thanks in advance for your help.

juggledad Feb 15, 2011 04:21 AM

page and post revision control is entirely a WP feature and no theme controls it. Short of a plugin what you suggest is the only way I know to control revisions.

not2old2learn Feb 15, 2011 04:33 AM

Thanks for the quick response, understood on the "is an entirely WP features". That said, do you recommend adding code versus using a revision plugin? In other words does the addition of a plugin add unnecessary clutter behind the scenes when some simple code like shown in the original post would suffice?

juggledad Feb 15, 2011 04:47 AM

I'd put it in the wp-config.php. If you do it using a plugin, you are
1) executing more code
2) at the mercy of the plugin developer to keep up the plugin
Let WordPress take care of it, after all, they put it there and give the wp-config option in the first place :)


All times are GMT -6. The time now is 01:03 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.