Forum Replies Created
Viewing 6 posts - 1 through 6 (of 6 total)
-
AuthorPosts
-
civilzMemberthanks @sanderschat ♥
civilzMemberi want when user select one “category” in setting page , then return id of that category user selected.
and use in theme.
plz one simple example for me.
1-how to load category in theme setting page.
2- how to use category id in theme.
thanks
civilzMemberthanks but not work !
my code :
theme code :<?php $settings = get_option('my_theme_settings'); $image_id = $settings['logo_upload_file']; $image_id = $image_id[0]; ?> <a href="#"><img class="head-logo" src="<?php echo wp_get_attachment_url($image_id); ?>"></a>themesetting code :
* Title: setting Setting: my_theme_settings */ /*---LOGO---*/ piklist('field', array( 'type' => 'file' ,'field' => 'logo_upload_file' ,'scope' => 'post_meta' ,'label' => 'logo upload' ,'description' => 'Size Only : 97 x 338 px' ,'options' => array( 'basic' => true ) ));but nothing display !
civilzMemberThanks a lot …
civilzMemberi read :
`
http://piklist.com/user-guide/tutorials/displaying-images-upload-field/
`
but not working !!
civilzMemberthanks. ♥
-
AuthorPosts
Viewing 6 posts - 1 through 6 (of 6 total)