Functions

Custom Taxonomy Dropdown Control

custom_taxonomy_dropdown(string $taxonomy, string $orderby, string $order, string $limit, string $name, mixed $show_option_all, mixed $show_option_none) : void

since 1.00

Parameters

$taxonomy

string

Taxonomy slug

$orderby

string

Order by field

$order

string

Sort order

$limit

string

Not used

$name

string

HTML name= value

$show_option_all

mixed

NULL/"Select All" label

$show_option_none

mixed

NULL/"Select None" label

Custom Taxonomy Dropdown Control

custom_taxonomy_dropdown(string $taxonomy, string $orderby, string $order, string $limit, string $name, mixed $show_option_all, mixed $show_option_none, integer $selected) : void

since 1.00

Parameters

$taxonomy

string

Taxonomy slug

$orderby

string

Order by field

$order

string

Sort order

$limit

string

Not used

$name

string

HTML name= value

$show_option_all

mixed

NULL/"Select All" label

$show_option_none

mixed

NULL/"Select None" label

$selected

integer

Index of the inital selection

Loads the text domain(s) for the mla-child-theme, from the WordPress language directory and/or from the theme's own directory.

mla_after_setup_theme_action() : void

Generate a list of taxonomy- and term-specific links to the page of your choice, listing the terms assigned to a specific post or Media Library item.

mla_custom_terms_list(integer $ID, array $attr) : void

Parameters

$ID

integer

ID of the post/page to generate terms for

$attr

array

Attributes of the function: site_url, page_url, taxonomy

Insert thumbnail image tags for Facebook, Twitter, etc.

mla_insert_social_tags() : void

Generate a list of taxonomy- and term-specific links to the page of your choice.

mla_taxonomy_terms_list(array $attr) : string

Best used with the Collapse-O-Matic plugin, which uses the [expand] shortcode to display an "accordian-style" list.

Parameters

$attr

array

Attributes of the function: taxonomy

Returns

stringHTML

,

and tags

Customize the <title> tag content for the Tag Gallery and Single Image pages

mla_wp_title_filter(string $title, string $sep, string $seplocation) : string

Parameters

$title

string

The default page title

$sep

string

How to separate the various items within the page title

$seplocation

string

Optional. Direction to display title, 'right'.

Returns

stringupdated title value