Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

Does theme have page or post revision control feature


  #1  
Old Feb 15, 2011, 04:07 AM
not2old2learn's Avatar
not2old2learn
 
71 posts · Aug 2010
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.
  #2  
Old Feb 15, 2011, 04:21 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Feb 15, 2011, 04:33 AM
not2old2learn's Avatar
not2old2learn
 
71 posts · Aug 2010
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?
  #4  
Old Feb 15, 2011, 04:47 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Tags
page revisions, post revisions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Control Panel for Theme Frame themes? techdruid ThemeFrame Presales 6 Mar 3, 2011 03:09 PM
Feature Request: option settings for custom post types (WP 3.1) webalyst New Versions, & Updating 0 Jan 4, 2011 02:56 PM
[SOLVED] How to output the Revision - Updated date / time on Pages Toan Center area post/pages 3 Feb 24, 2010 05:28 AM
[SOLVED] Disable Edit this Post feature cltaylor Comments, trackbacks & pings 2 Sep 18, 2009 10:04 AM
BFA Popular Post Widget with the "display the list on" feature not working? cyboc Sidebars & Widgets 2 Sep 15, 2009 03:52 PM


All times are GMT -6. The time now is 02:35 AM.


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