wp_get_links [ WordPress Function ]
wp_get_links ( $args = '' )
| Parameters: |
|
| See: | |
| Returns: |
|
| Defined at: |
|
Gets the links associated with category.
Source
<?php
function wp_get_links($args = '') {
_deprecated_function( __FUNCTION__, '2.1', 'wp_list_bookmarks()' );
if ( strpos( $args, '=' ) === false ) {
$cat_id = $args;
$args = add_query_arg( 'category', $cat_id, $args );
}
$defaults = array(
'after' => '<br />',
'before' => '',
'between' => ' ',
'categorize' => 0,
'category' => '',
'echo' => true,
'limit' => -1,
'orderby' => 'name',
'show_description' => true,
'show_images' => true,
'show_rating' => false,
'show_updated' => true,
'title_li' => '',
);
$r = wp_parse_args( $args, $defaults );
return wp_list_bookmarks($r);
}
?>
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- Function Reference/wp get links « WordPress Codex
This function has been deprecated. That means it has been replaced by a new function or is no longer supported, and may be removed from future versions.
codex.wordpress.org - wp_get_links won't display inline after 2.1 upgrade - WordPress
At http://idahofallz.com the footer displays one link category. Before the 2.1 upgrade, they displayed in a big paragraph (using display: inline;). Now, after the 2.1 ...
wordpress.org - WordPress › Support » Include description with wp_get_links?
I'm currently using the example on the Codex's wp_get_links page and would like to know if that could be modified to include the description? I've tried mucking ...
wordpress.org - WordPress › Support » Tags — wp_get_links
(forgot?) Register · WordPress › Support » wp_get_links ...
wordpress.org
Gebruikersdiscussies [ wordpress.org ]
- tommysollen on "Help! Fatal error: Cannot redeclare wp_get_links()"
- homeycomb on "Help! Fatal error: Cannot redeclare wp_get_links()"
- moshu on "Help! Fatal error: Cannot redeclare wp_get_links()"
- homeycomb on "Help! Fatal error: Cannot redeclare wp_get_links()"
- tommysollen on "Help! Fatal error: Cannot redeclare wp_get_links()"
- tommysollen on "Help! Fatal error: Cannot redeclare wp_get_links()"
- oakmonster on "wp_get_links and WP 2.1"
- Root on "wp_get_links and WP 2.1"
- whooami on "wp_get_links and WP 2.1"
- oakmonster on "wp_get_links and WP 2.1"