Results 1 to 4 of 4
Like Tree1Likes
  • 1 Post By startmarketing

Thread: Update vantage option Category Depth by script

  1. #1
    Thread Starter
    Member startmarketing's Avatar
    Join Date
    Jan 2012
    Location
    Brisbane, Australia.
    Posts
    79
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Update vantage option Category Depth by script

    I'm writing a plugin and I would like it to change some vantage options.
    Is there a list of all vantage options? Where are they stored in the database?

    In this case I would like to change the Category Depth from 3 to 999.
    Something like update_option( 'categories_menu[depth]', 999 ); isn't working.

    I found the place where the option is sort of created but not where it is registered or updated by the backend menu.

    Code:
    			array(
    				'title' => __( 'Category Depth', APP_TD ),
    				'type' => 'select',
    				'name' => array( $prefix, 'depth' ),
    				'values' => array(
    					'999' => __( 'Show All', APP_TD ),
    					'0' => '0',
    					'1' => '1',
    					'2' => '2',
    					'3' => '3',
    					'4' => '4',
    					'5' => '5',
    					'6' => '6',
    					'7' => '7',
    					'8' => '8',
    					'9' => '9',
    					'10' => '10',
    				),
    				'tip' => __( 'How many levels deep should the category tree traverse?', APP_TD ),
    			),
    jdwired likes this.

  2. #2
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,617
    Thanks
    222
    Thanked 1,873 Times in 1,770 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Thread Starter
    Member startmarketing's Avatar
    Join Date
    Jan 2012
    Location
    Brisbane, Australia.
    Posts
    79
    Thanks
    12
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Thread Starter
    Member startmarketing's Avatar
    Join Date
    Jan 2012
    Location
    Brisbane, Australia.
    Posts
    79
    Thanks
    12
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Dimitris Category Depth and search
    By dolphinbay in forum Help Using Vantage (Legacy)
    Replies: 1
    Last Post: June 26th, 2013, 11:53 AM
  2. [SOLVED] Category Depth
    By valloyo in forum Report ClassiPress Bugs
    Replies: 4
    Last Post: March 23rd, 2012, 04:06 AM
  3. Category depth issue on 3.1
    By asurling in forum ClassiPress General Discussion
    Replies: 10
    Last Post: July 31st, 2011, 09:19 AM
  4. Sub Category Depth Option
    By hanniabu in forum ClassiPress General Discussion
    Replies: 3
    Last Post: May 14th, 2011, 03:19 PM
  5. Category Depth option not working with more than 5 subs
    By ddashwood in forum Report ClassiPress Bugs
    Replies: 3
    Last Post: April 5th, 2011, 01:18 AM