Ejemplo n.º 1
0
			<?php 
    wptouch_the_icon_pack();
    ?>
			<div class="pack" id="pack-<?php 
    echo wptouch_get_icon_pack_class_name();
    ?>
">	
			  	<div class="nano">
	  				<div class="content">
					<?php 
    if (wptouch_have_icons(wptouch_get_icon_pack_name())) {
        ?>
		
						<ul>
						<?php 
        while (wptouch_have_icons(wptouch_get_icon_pack_name())) {
            ?>
							<?php 
            wptouch_the_icon();
            ?>
							<li>
								<img src="<?php 
            wptouch_the_icon_url();
            ?>
" />
								<div class="title"><?php 
            wptouch_the_icon_short_name();
            ?>
</div>
								<?php 
            if (wptouch_icon_has_image_size_info()) {
Ejemplo n.º 2
0
function wptouch_output_menu_icon_packs()
{
    global $current_screen;
    if ($current_screen->base != 'nav-menus' || $current_screen->get_help_tab('locations-overview') != null) {
        return false;
    }
    require_once WPTOUCH_DIR . '/core/admin-icons.php';
    if (wptouch_have_icon_packs()) {
        ?>
		<div id="icon-picker">
			<div id="icon-packs">
			<?php 
        while (wptouch_have_icon_packs()) {
            wptouch_the_icon_pack();
            ?>

			<div class="pack" id="pack-<?php 
            echo wptouch_get_icon_pack_class_name();
            ?>
">
		  		<?php 
            if (wptouch_have_icons(wptouch_get_icon_pack_name())) {
                ?>
					<h3><?php 
                echo wptouch_get_icon_pack_name();
                ?>
</h3>
					<ul>
					<?php 
                while (wptouch_have_icons(wptouch_get_icon_pack_name())) {
                    ?>
						<?php 
                    wptouch_the_icon();
                    ?>
						<li>
							<img src="<?php 
                    wptouch_the_icon_url();
                    ?>
" alt="icon" />
						</li>
						<?php 
                }
                ?>
					</ul>
				<?php 
            }
            ?>
			</div>
		<?php 
        }
        ?>
			</div>
		</div>
	<?php 
    }
}
Ejemplo n.º 3
0
function wptouch_the_icon_pack_name()
{
    echo wptouch_get_icon_pack_name();
}
Ejemplo n.º 4
0
<ul class="manage-sets">
	<?php 
while (wptouch_have_icon_packs()) {
    ?>
		<?php 
    wptouch_the_icon_pack();
    ?>
		<?php 
    if (wptouch_get_icon_pack_name() == __('Custom Icons', 'wptouch-pro')) {
        continue;
    }
    ?>
		<li>
			<img src="<?php 
    wptouch_the_icon_pack_thumbnail();
    ?>
" alt="placeholder">
			<p class="set-title"><?php 
    wptouch_the_icon_pack_name();
    ?>
</p>
			<p class="set-author">
				<a href="<?php 
    echo wptouch_get_icon_pack_author_url();
    ?>
" target="_blank">
					<?php 
    echo wptouch_get_icon_pack_author();
    ?>
				</a>
			</p>