Пример #1
0
    function pw_add_all_elements()
    {
        ?>
	<?php 
        pw_add_element_option('header', 'header_logo', __('Logo', "presswork"), 'headerbanner|header');
        ?>
	<?php 
        pw_add_element_option('header', 'blogname', __('Blog Name', "presswork"), 'headerbanner|header');
        ?>
	<?php 
        pw_add_element_option('header', 'description', __('Description', "presswork"), 'headerbanner|header');
        ?>
	<?php 
        pw_add_element_option('header', 'nav', __('Nav Menu', "presswork"), 'headerbanner|header');
        ?>
	<?php 
        pw_add_element_option('header', 'subnav', __('Sub Nav Menu', "presswork"), 'headerbanner|header');
        ?>
	<?php 
        pw_add_element_option('header', 'headerarea', __('Widgetized Area', "presswork"), 'headerbanner|header');
        ?>
	<?php 
        pw_add_element_option('layout', 'firstsidebar', __('First Sidebar', "presswork"), 'main-wrapper|layout');
        ?>
	<?php 
        pw_add_element_option('layout', 'secondsidebar', __('Second Sidebar', "presswork"), 'main-wrapper|layout');
        ?>
	<?php 
        //pw_add_element_option('footer', 'footernav', __('Footer Nav Menu', "presswork"), 'footer|footer');
        ?>
	<?php 
        pw_add_element_option('footer', 'extendedfooter', __('Extended Footer', "presswork"), 'footer|footer');
        ?>
	<?php 
        pw_add_element_option('footer', 'copyright', __('Copyright', "presswork"), 'footer|footer');
        ?>
	<?php 
    }
Пример #2
0
    function pw_add_all_elements()
    {
        ?>
	<?php 
        pw_add_element_option('header', 'header_logo', __('Logo', "presswork"), 'headerbanner|header');
        ?>
	<?php 
        pw_add_element_option('header', 'header_image', __('Header Image', "presswork"), 'headerbanner|header');
        ?>
	<?php 
        pw_add_element_option('header', 'blogname', __('Blog Name', "presswork"), 'headerbanner|header');
        ?>
	<?php 
        pw_add_element_option('header', 'description', __('Description', "presswork"), 'headerbanner|header');
        ?>
	<?php 
        pw_add_element_option('header', 'nav', __('Primary Menu', "presswork"), 'headerbanner|header');
        ?>
	<?php 
        pw_add_element_option('header', 'subnav', __('Secondary Menu', "presswork"), 'headerbanner|header');
        ?>
	<?php 
        pw_add_element_option('header', 'headerarea', __('Widgetized Area', "presswork"), 'headerbanner|header');
        ?>
	<?php 
        pw_add_element_option('layout', 'firstsidebar', __('First Sidebar', "presswork"), 'main-wrapper|layout');
        ?>
	<?php 
        pw_add_element_option('layout', 'secondsidebar', __('Second Sidebar', "presswork"), 'main-wrapper|layout');
        ?>
	<?php 
        pw_add_element_option('footer', 'footernav', __('Footer Menu', "presswork"), 'footer|footer');
        ?>
	<?php 
        pw_add_element_option('footer', 'extendedfooter', __('Extended Footer', "presswork"), 'footer|footer');
        ?>
	<?php 
        pw_add_element_option('footer', 'copyright', __('Copyright', "presswork"), 'footer|footer');
        ?>
	<table class="pw-inputs header-inputs">
		<tr><td><label for="the_header_logo"><?php 
        _e('Logo Image URL', "presswork");
        ?>
</label></td><td><input type="text" name="header_logo" id="the_header_logo" class="header-item" value="<?php 
        echo pw_theme_option("header_logo");
        ?>
" /></td></tr>
		<tr><td><label for="favicon"><?php 
        _e('Favicon URL', "presswork");
        ?>
</label></td><td><input type="text" name="favicon" id="favicon" value="<?php 
        echo pw_theme_option("favicon");
        ?>
" /></td></tr>
	</table>
	<?php 
    }