'Sidebar', 'before_widget' => '
onchange="document.getElementById('eg_frame_all_images').value = (this.checked ? 'true' : 'false');" />
If enabled, all images larger than x will have a frame with drop shadow applied. Otherwise, only images and other elements with a class of 'frame' will have this style applied. |
onchange="document.getElementById('eg_frame_all_images').value = (this.checked ? 'true' : 'false');" />
If enabled, all images larger than x will have a frame with drop shadow applied. Otherwise, only images and other elements with a class of 'frame' will have this style applied. |
||
If specified and 'Page with custom sidebar' page template is selected, will display posts from these tags in the sidebar. Specify multiple tags by separating with a comma ','. |
||
If 'Page with custom sidebar' page template is selected, and one or more related tags are provided above, this will be the title above a list of related posts. |
||
If 'Page with custom sidebar' page template is selected, this text/HTML will be displayed in the sidebar. |
entries
/>
/>
Separate multiple tags with commas
} function elegant_grunge_widget_init() { register_sidebar_widget('Photoblog', 'elegant_grunge_photoblog'); register_widget_control('Photoblog', 'elegant_grunge_photoblog_setup'); add_option('elegant_grunge_photoblog_tags', 'photoblog'); add_option('elegant_grunge_photoblog_heading', 'Photoblog'); add_option('elegant_grunge_photoblog_entries', '4'); add_option('elegant_grunge_photoblog_order', 'random'); add_option('elegant_grunge_photoblog_width', '100'); add_option('elegant_grunge_photoblog_height', '70'); } add_filter( 'the_content', 'elegant_grunge_filter' ); add_option( 'show_rss', true ); add_option( 'show_author', false ); add_option( 'copyright', 'Copyright © '.strftime('%Y').' '.get_bloginfo( 'name' ) ); add_option( 'frame_all_images', true ); add_option( 'frame_class_skip', 'noframe,wp-smiley' ); add_option( 'create_photoblog_thumbnails', false ); add_option( 'photoblog_thumb_count', 30 ); add_option( 'photoblog_thumb_width', '' ); add_option( 'photoblog_thumb_height', '' ); add_option( 'photoblog_lightbox', function_exists('autoexpand_rel_wlightbox') ); add_option( 'photoblog_frames', false ); add_action( 'admin_menu', 'elegant_grunge_setup_admin' ); add_action( 'edit_form_advanced', 'elegant_grunge_post_options' ); add_action( 'edit_page_form', 'elegant_grunge_page_options' ); add_action( 'save_post', 'elegant_grunge_save_post' ); add_action( 'widgets_init', 'elegant_grunge_widget_init' ); ?>