> CFS Options Screens wordpress plugin resources analysis

CFS Options Screens wordpress plugin resources analysis

Download This Plugin
Download Elegant Themes
Name CFS Options Screens
Version 1.0.1
Author Jonathan Christopher
Rating 100
Last updated 2014-09-15 06:49:00
Downloads
354
Download Plugins Speed Test plugin for Wordpress

Home page

Delta: 0%

Post page

Delta: 0%
CFS Options Screens plugin has no negative impact on PageSpeed score.

Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%

CFS Options Screens plugin added 8 bytes of resources to the Home page and 13 bytes of resources to the sample Post page.

CFS Options Screens plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.

Great! CFS Options Screens plugin ads no tables to your Wordpress blog database.

Build any number of options screens based on Custom Field Suite.

For Example

Begin by creating Field Group(s) you want to include on your options screen. Be sure to set NO Placement Rules. Once it's created, note the post ID it uses. You can then register any number of options screens like so:

function my_cfs_options_screens( $screens ) {
    $screens[] = array(
        'name'            => 'options',
        'menu_title'      => __( 'Site Options' ),
        'page_title'      => __( 'Customize Site Options' ),
        'menu_position'   => 100,
        'icon'            => 'dashicons-admin-generic', // optional, dashicons-admin-generic is the default
        'field_groups'    => array( 75 ), // post ID(s) of CFS Field Group to use on this page
    );
    return $screens;
}
add_filter( 'cfs_options_screens', 'my_cfs_options_screens' );

Retrieve your options like so:

$value = cfs_get_option( 'options_screen_name', 'field_name_from_field_group' );

You can set up multiple top level and/or children options pages by adding a parent argument when registering your screen:

function my_cfs_options_screens( $screens ) {
    // Parent
    $screens[] = array(
        'name' => 'options',
        'field_groups' => array( 15 ),
    );
    // Child
    $screens[] = array(
        'name' => 'options-nav',
        'parent' => 'options',   // name of the parent
        'field_groups' => array( 17 ),
    );
    return $screens;
 }
 add_filter( 'cfs_options_screens', 'my_cfs_options_screens' );
Resources added by plugin to Home page/Post page in kB
Total size of resources for Home page/Post page in kB
Random Theme Tests
Business Pro screenshot

Business Pro

by: vainfotech

24221
65%
Blackoot Lite screenshot

Blackoot Lite

by: Iceable

10558
0%