Archive | Functions by letter r RSS feed for this section

register_sidebar_widget

Register widget for sidebar with backwards compatibility.Allows $name to be an array that accepts either three elements to grab the first element and the third for the name or just uses the first element of the array for the name.

2683

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

register_post_type

Register a post type. Do not use before init.A function for creating or modifying a post type based on the parameters given. The function will accept an array (second optional parameter), along with a string for the post type name.

2675

Continue reading