Plugin Directory

Changeset 495230


Ignore:
Timestamp:
01/25/2012 03:27:46 PM (14 years ago)
Author:
GabSoftware
Message:

updated readme

Location:
vertical-admin-bar
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • vertical-admin-bar/tags/1.0.0/readme.txt

    r495228 r495230  
    1616
    1717<p>
    18 At present, the height of the admin bar has been set to 740px. That should be enough for most menus to display correctly. If you need to override this value, do not change it in your code. Instead, add the **vab_admin_bar_height** filter in the functions.php of your theme. For example, to set a height of 1024, use the following code:
     18At present, the height of the admin bar has been set to 740px. That should be enough for most menus to display correctly. If you need to override this value, do not change it in your code. Instead, add the <strong>vab_admin_bar_height</strong> filter in the functions.php of your theme. For example, to set a height of 1024, use the following code:
    1919`function my_function_callback() { return 1024; }`
    2020`add_filter( 'vab_admin_bar_height', 'my_function_callback' );`
  • vertical-admin-bar/trunk/readme.txt

    r495227 r495230  
    1616
    1717<p>
    18 At present, the height of the admin bar has been set to 740px. That should be enough for most menus to display correctly. If you need to override this value, do not change it in your code. Instead, add the **vab_admin_bar_height** filter in the functions.php of your theme. For example, to set a height of 1024, use the following code:
     18At present, the height of the admin bar has been set to 740px. That should be enough for most menus to display correctly. If you need to override this value, do not change it in your code. Instead, add the <strong>vab_admin_bar_height</strong> filter in the functions.php of your theme. For example, to set a height of 1024, use the following code:
    1919`function my_function_callback() { return 1024; }`
    2020`add_filter( 'vab_admin_bar_height', 'my_function_callback' );`
Note: See TracChangeset for help on using the changeset viewer.