link_advanced_meta_box [ WordPress Function ]
link_advanced_meta_box ( $link )
| Parameters: |
|
| Defined at: |
|
Benzer Fonksiyonlar: link_xfn_meta_box, link_target_meta_box, add_meta_box, link_categories_meta_box, link_submit_meta_box
Display advanced link options form fields.
Source
<?php
function link_advanced_meta_box($link) {
?>
<table class="links-table" cellpadding="0">
<tr>
<th scope="row"><label for="link_image"><?php _e('Image Address') ?></label></th>
<td><input type="text" name="link_image" class="code" id="link_image" value="<?php echo ( isset( $link->link_image ) ? esc_attr($link->link_image) : ''); ?>" /></td>
</tr>
<tr>
<th scope="row"><label for="rss_uri"><?php _e('RSS Address') ?></label></th>
<td><input name="link_rss" class="code" type="text" id="rss_uri" value="<?php echo ( isset( $link->link_rss ) ? esc_attr($link->link_rss) : ''); ?>" /></td>
</tr>
<tr>
<th scope="row"><label for="link_notes"><?php _e('Notes') ?></label></th>
<td><textarea name="link_notes" id="link_notes" rows="10"><?php echo ( isset( $link->link_notes ) ? $link->link_notes : ''); // textarea_escaped ?></textarea></td>
</tr>
<tr>
<th scope="row"><label for="link_rating"><?php _e('Rating') ?></label></th>
<td><select name="link_rating" id="link_rating" size="1">
<?php
for ( $r = 0; $r <= 10; $r++ ) {
echo '<option value="' . $r . '"';
if ( isset($link->link_rating) && $link->link_rating == $r )
echo ' selected="selected"';
echo('>' . $r . '</option>');
}
?></select> <?php _e('(Leave at 0 for no rating.)') ?>
</td>
</tr>
</table>
<?php
}
?>
Examples [ wp-snippets.com ]
Google Arama Sonuçlarý
- Docs for page meta-boxes.php
/wp-admin/includes/meta-boxes.php. Description. Description | ...
phpdoc.wordpress.org - PHPXRef 0.7 : WordPress : Detail view of meta-boxes.php
link_advanced_meta_box() post_thumbnail_meta_box() ...
phpxref.ftwr.co.uk - meta-boxes.php - PHP Cross Reference of WordPress Source - Yoast
link_advanced_meta_box() post_thumbnail_meta_box() ...
xref.yoast.com - Add a Standard WordPress Meta-Box
Mar 18, 2010... link_categories_meta_box – linkcategorydiv; link_target_meta_box – linktargetdiv; link_xfn_meta_box – linkxfndiv; link_advanced_meta_box ...
shibashake.com