Tag Archives: codex

register_taxonomy

Create or modify a taxonomy object. Do not use before init.A simple function for creating or modifying a taxonomy object based on the parameters given. The function will accept an array (third optional parameter), along with strings for the taxonomy name and another string for the object type.

2685

Continue reading

register_sidebars

Creates multiple sidebars.If you wanted to quickly create multiple sidebars for a theme or internally. This function will allow you to do so. If you don’t pass the ‘name’ and/or ‘id’ in $args, then they will be built for you.

2681

Continue reading

register_sidebar

Builds the definition for a single sidebar and returns the ID.The $args parameter takes either a string or an array with ‘name’ and ‘id’ contained in either usage. It will be noted that the values will be applied to all sidebars, so if creating more than one, it will be advised to allow for WordPress to create the defaults for you.

2679

Continue reading