link_target_meta_box [ WordPress Function ]
link_target_meta_box ( $link )
| Parameters: |
|
| Defined at: |
|
Benzer Fonksiyonlar: link_xfn_meta_box, link_advanced_meta_box, link_submit_meta_box, link_categories_meta_box, post_tags_meta_box
Display form fields for changing link target.
Source
<?php
function link_target_meta_box($link) { ?>
<fieldset><legend class="screen-reader-text"><span><?php _e('Target') ?></span></legend>
<p><label for="link_target_blank" class="selectit">
<input id="link_target_blank" type="radio" name="link_target" value="_blank" <?php echo ( isset( $link->link_target ) && ($link->link_target == '_blank') ? 'checked="checked"' : ''); ?> />
<?php _e('<code>_blank</code> — new window or tab.'); ?></label></p>
<p><label for="link_target_top" class="selectit">
<input id="link_target_top" type="radio" name="link_target" value="_top" <?php echo ( isset( $link->link_target ) && ($link->link_target == '_top') ? 'checked="checked"' : ''); ?> />
<?php _e('<code>_top</code> — current window or tab, with no frames.'); ?></label></p>
<p><label for="link_target_none" class="selectit">
<input id="link_target_none" type="radio" name="link_target" value="" <?php echo ( isset( $link->link_target ) && ($link->link_target == '') ? 'checked="checked"' : ''); ?> />
<?php _e('<code>_none</code> — same window or tab.'); ?></label></p>
</fieldset>
<p><?php _e('Choose the target frame for your link.'); ?></p>
<?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_target_meta_box() xfn_check() link_xfn_meta_box() ...
phpxref.ftwr.co.uk - meta-boxes.php - PHP Cross Reference of WordPress Source - Yoast
link_target_meta_box() xfn_check() link_xfn_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