Esempio n. 1
0
    /**
     * Display Site Branding
     * @since  1.0.0
     * @return void
     */
    function storefront_site_branding()
    {
        if (function_exists('jetpack_has_site_logo') && jetpack_has_site_logo()) {
            jetpack_the_site_logo();
        } else {
            ?>
			<div class="site-branding">
				<h1 class="site-title"><a href="<?php 
            echo esc_url(home_url('/'));
            ?>
"
				                          rel="home"><?php 
            bloginfo('name');
            ?>
</a></h1>
				<?php 
            if ('' != get_bloginfo('description')) {
                ?>
					<p class="site-description"><?php 
                echo bloginfo('description');
                ?>
</p>
				<?php 
            }
            ?>
			</div>
		<?php 
        }
    }
    /**
     * Display the logo or site title
     */
    function siteorigin_north_display_logo()
    {
        $logo = siteorigin_setting('branding_logo');
        if (!empty($logo)) {
            $logo_id = attachment_url_to_postid($logo);
            $attrs = apply_filters('siteorigin_north_logo_attributes', array());
            ?>
<a href="<?php 
            echo esc_url(home_url('/'));
            ?>
" rel="home"><?php 
            echo wp_get_attachment_image($logo_id, 'full', false, $attrs);
            ?>
</a><?php 
        } else {
            ?>
<h1 class="site-title"><a href="<?php 
            echo esc_url(home_url('/'));
            ?>
" rel="home"><?php 
            bloginfo('name');
            ?>
</a></h1><?php 
        }
    }
Esempio n. 3
0
function vicuna_global_navigation()
{
    $options = get_option('vicuna_config');
    if ($options['g_navi']) {
        ?>
	<ul id="globalNavi">
<?php 
        if ($options['g_navi_home']) {
            ?>
		<li><a href="<?php 
            bloginfo('home');
            ?>
" title="Home">Home</a></li>
<?php 
        }
        if ($options['g_navi'] == 1) {
            wp_list_pages('sort_column=menu_order&title_li=0&depth=1');
        } else {
            if ($options['g_navi'] == 2) {
                wp_list_categories('title_li=0&hierarchical=0');
            }
        }
        ?>
	</ul>
<?php 
    }
}
Esempio n. 4
0
function widget_springloaded_search()
{
    ?>
<div class="side-widget">
  <h3><?php 
    _e('Search');
    ?>
</h3>  
	<form method="get" action="<?php 
    bloginfo('url');
    ?>
/">
<p><input type="text" name="s" onblur="this.value=(this.value=='') ? '<?php 
    _e('Search this Blog', 'springloaded');
    ?>
' : this.value;" onfocus="this.value=(this.value=='<?php 
    _e('Search this Blog', 'springloaded');
    ?>
') ? '' : this.value;" value="<?php 
    _e('Search this Blog', 'springloaded');
    ?>
" id="s" /> <input type="submit" name="submit" value="Search" id="some_name"></p>
	</form>
</div>
<?php 
}
/**
 * the actual logo adding function
 */
function childtheme_logo()
{
    global $my_shortname;
    $logo = get_option($my_shortname . '_logo');
    if (!empty($logo)) {
        ?>
		<a id="logo" href="<?php 
        bloginfo('url');
        ?>
/" title="<?php 
        bloginfo('name');
        ?>
" rel="home"><img src="<?php 
        bloginfo('stylesheet_directory');
        ?>
/scripts/timthumb.php?src=<?php 
        echo $logo;
        ?>
&amp;w=55&amp;zc=1" alt="<?php 
        bloginfo('name');
        ?>
" /></a>
		<?php 
    }
}
Esempio n. 6
0
function widget_andreas01_pagenav()
{
    ?>
<h2 class="hide">Site menu:</h2>
<ul class="page">
<?php 
    if (is_page()) {
        $highlight = "page_item";
    } else {
        $highlight = "page_item current_page_item";
    }
    ?>
<li class="<?php 
    echo $highlight;
    ?>
"><a href="<?php 
    bloginfo('url');
    ?>
">Home</a></li>
<?php 
    wp_list_pages('sort_column=menu_order&depth=1&title_li=');
    ?>
</ul>
<?php 
}
Esempio n. 7
0
    /**
     * Add block for header if no widgets 1
     */
    function wpbss_header_widgets_1_callback()
    {
        if (get_theme_mod('logo')) {
            ?>
	        <a href="<?php 
            echo esc_url(home_url('/'));
            ?>
" rel="home">
	            <img src="<?php 
            echo get_theme_mod('logo');
            ?>
"  class="img-responsive" alt="" />
	        </a>
	    <?php 
        } else {
            // End header image check.
            ?>
	       <h1 class="site-title"><a href="<?php 
            echo esc_url(home_url('/'));
            ?>
" rel="home"><?php 
            bloginfo('name');
            ?>
</a></h1>
	       <strong class="site-description"><?php 
            bloginfo('description');
            ?>
</strong>
	    <?php 
        }
        // End header image check.
    }
Esempio n. 8
0
    function woo_IE_head()
    {
        ?>
	
<!--[if IE 6]>
<script type="text/javascript" src="<?php 
        bloginfo('template_directory');
        ?>
/includes/js/pngfix.js"></script>
<script type="text/javascript" src="<?php 
        bloginfo('template_directory');
        ?>
/includes/js/menu.js"></script>
<link rel="stylesheet" type="text/css" media="all" href="<?php 
        bloginfo('template_directory');
        ?>
/css/ie6.css" />
<![endif]-->	

<!--[if IE 7]>
<link rel="stylesheet" type="text/css" media="all" href="<?php 
        bloginfo('template_directory');
        ?>
/css/ie7.css" />
<![endif]-->

<!--[if IE 8]>
<link rel="stylesheet" type="text/css" media="all" href="<?php 
        bloginfo('template_directory');
        ?>
/css/ie8.css" />
<![endif]-->
	<?php 
    }
Esempio n. 9
0
    /**
     * Display the Open Graph meta tags.
     * Add more to this if needed.
     *
     * See: https://developers.facebook.com/docs/sharing/webmasters and http://ogp.me/
     */
    function skeleton_og_meta_tags()
    {
        if (is_single() || is_page()) {
            if (have_posts()) {
                while (have_posts()) {
                    the_post();
                    ?>
        <meta name="og:description" content="<?php 
                    the_excerpt_rss();
                    ?>
">
        <meta name="og:image" content="<?php 
                    echo skeleton_get_thumbnail_src(get_post_thumbnail_id());
                    ?>
">
    <?php 
                }
            }
        } elseif (is_home()) {
            ?>
        <meta name="og:description" content="<?php 
            bloginfo('description');
            ?>
">
    <?php 
        }
    }
Esempio n. 10
0
function hw2contracts_nua_custom_request_approval_message($message, $username, $email)
{
    $user = get_user_by('email', $email);
    $newMessage = "Before approve letting the user to see the form maybe you want to fill Beem fields in its agreement<br>" . "Using <a href='" . bloginfo("url") . '/' . Conf::$hw2cf_page_alias . "/?user="******"'>this link</a><br><br>";
    $newMessage .= $message;
    return $newMessage;
}
Esempio n. 11
0
function fun_wp_footer()
{
    echo '
	<script type="text/javascript" src="' . THEME_URI . '/js/jquery.min.js"></script>
	<script type="text/javascript" src="' . THEME_URI . '/js/scripts.js"></script>
	';
    if (is_home() && ot_get_option('opt_slider') == 'on') {
        ?>
		<script type="text/javascript">
		eval(function(p,a,c,k,e,d){e=function(c){return c};if(!''.replace(/^/,String)){while(c--)d[c]=k[c]||c;k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('$(4).3(2(){$(\'#1\').0()});',5,5,'nivoSlider|slider|function|load|window'.split('|'),0,{}))
		</script>
<?php 
    }
    if (ot_get_option('opt_share')) {
        ?>
		<script type="text/javascript">
		window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"1","bdSize":"24"},"share":{},"selectShare":{"bdContainerClass":null,"bdSelectMiniList":["qzone","tsina","tqq","renren","weixin","douban"]}};
		with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?cdnversion='+~(-new Date()/36e5)];
		</script>
<?php 
    }
    if (is_single()) {
        ?>
		<script type="text/javascript" src="<?php 
        bloginfo('template_directory');
        ?>
/js/comments-ajax.js"></script>
<?php 
    }
}
Esempio n. 12
0
function server()
{
    global $wp_version;
    $license = trim(get_option('edd_sample_theme_license_key'));
    /*$api_params = array(
         'edd_action' => 'check_license',
         'license' => $license,
         'item_name' => urlencode( EDD_SL_THEME_NAME ) );
     $response = wp_remote_get( add_query_arg( $api_params, EDD_SL_STORE_URL ), array( 'timeout' => 5, 'sslverify' => false ) );
     if ( is_wp_error( $response ) )
      return false;*/
    $license_data = (object) array('license' => 'valid');
    //json_decode( wp_remote_retrieve_body( $response ) );
    if ($license_data->license == 'valid') {
    } else {
        ?>
  <div id="message" class="off error below-h2">
   <p><span class="dashicons dashicons-admin-generic" style="color: #F07E78;"></span> Es posible que esta secci&oacute;n no funcione correctamente, <strong><?php 
        echo THEME_NAME;
        ?>
 <?php 
        echo THEME_VERSION;
        ?>
</strong> solicita la activaci&oacute;n de su licencia, hagalo desde <a href="<?php 
        bloginfo('url');
        ?>
/wp-admin/admin.php?page=mundothemes">aqu&iacute;</a>
   </p>
  </div>
  <?php 
    }
}
Esempio n. 13
0
    /**
     * Display Site Branding
     * @since  1.0.0
     * @return void
     */
    function storefront_site_branding()
    {
        if (function_exists('jetpack_has_site_logo') && jetpack_has_site_logo()) {
            jetpack_the_site_logo();
        } else {
            ?>
			<div class="site-branding  <?php 
            if (is_home() || is_front_page()) {
                echo 'homepage';
            }
            ?>
">
				<h1 class="site-title" style="display:none;"><a href="<?php 
            echo esc_url(home_url('/'));
            ?>
" rel="home"><?php 
            bloginfo('name');
            ?>
</a></h1>
				<p class="site-description" style="display:none;"><?php 
            bloginfo('description');
            ?>
</p>
				<img src="<?php 
            echo get_template_directory_uri();
            ?>
/images/logo.png" alt="">
			</div>
		<?php 
        }
    }
Esempio n. 14
0
/**
 * widget_sms
 *
 * widget for follower registration
 *
 * @access public
 * @params array $args
 * @return none
 */
function widget_sms($args)
{
    require_once "functions.php";
    global $sms_submitted, $wpdb;
    extract($args);
    echo "\n <!--Infoblast SMS Follower Widget by Muhammad Hamizi Jaminan http://www.hamizi.net/-->\n";
    echo $before_widget;
    echo $before_title . get_option("sms_header") . $after_title;
    echo "<div id=\"sms_submitted\" style=\"text-align:center;\"></div>";
    echo "<div id=\"sms_loading\" style=\"display:none; text-align:center;\"><img src=\"" . get_bloginfo('url') . "/wp-content/plugins/infoblast-sms-follower/img/load.gif\"/></div>";
    ?>
	<form name='sms_sub_form' id='sms_sub_form' style="padding:3px;text-align:center;" method='POST'>
		<p>Phone Number<br/>
		+<label name="sms_country_code" id="sms_country_code">60</label><input type="text" name="sms_number" id="sms_number"/>
		</p>
		<input type="button" value="Follow" name="sms_follow" id="sms_follower"/> <input type="checkbox" name="sms_unfollow" id="sms_unfollow"> Unfollow
	</form>
	<input type="hidden" value="<?php 
    bloginfo('url');
    ?>
" id="sms_url"/>
<?php 
    echo "<h6><em>" . get_option("sms_footer") . "</em></h6>";
    echo $after_widget;
    echo "\n <!--End of Infoblast SMS Follower-->";
}
/**
 * Check if a logo is defined and present it.
 */
function origines_logo()
{
    $logofile = get_option('origines_logo');
    if ($logofile == "") {
        ?>
		<a class="brand" href="<?php 
        bloginfo('url');
        ?>
" title="<?php 
        bloginfo('description');
        ?>
"><?php 
        bloginfo('name');
        ?>
</a>
	<?php 
    } else {
        ?>
		<a class="brand" style="padding: 5px 20px 5px;" href="<?php 
        bloginfo('url');
        ?>
" title="<?php 
        bloginfo('description');
        ?>
"><img src="<?php 
        echo get_option('origines_logo');
        ?>
" alt="<?php 
        bloginfo('name');
        ?>
" /></a>
	<?php 
    }
}
Esempio n. 16
0
function render_footer()
{
    $builder_link = '<a href="http://ithemes.com/purchase/builder-theme/" title="iThemes Builder">iThemes Builder</a>';
    $ithemes_link = '<a href="http://ithemes.com/" title="iThemes WordPress Themes">iThemes</a>';
    $wordpress_link = '<a href="http://wordpress.org">WordPress</a> &amp; hosted by <a href="http://www.siteground.com/wordpress-hosting.htm" target="_blank">SiteGround WordPress Hosting</a>';
    $footer_credit = sprintf(__('%1$s by %2$s<br />Powered by %3$s', 'it-l10n-Builder-Paige'), $builder_link, $ithemes_link, $wordpress_link);
    $footer_credit = apply_filters('builder_footer_credit', $footer_credit);
    ?>
	<div class="alignleft">
		<strong><?php 
    bloginfo('name');
    ?>
</strong><br />
		<?php 
    printf(__('Copyright &copy; %s All Rights Reserved', 'it-l10n-Builder-Paige'), date('Y'));
    ?>
	</div>
	<div class="alignright">
		<?php 
    echo $footer_credit;
    ?>
	</div>
	<?php 
    wp_footer();
}
Esempio n. 17
0
function featureText()
{
    if (is_front_page()) {
        the_field('feature_text');
    } elseif (is_home() || is_single()) {
        _e('Rock Theme Official Blog');
    } elseif (is_archive()) {
        _e('Rock Theme Official Blog');
        _e('<br>');
        single_term_title('Browsing: ');
        if (is_month()) {
            $monthNum = get_query_var('monthnum');
            $month = date('F', mktime(0, 0, 0, $monthNum));
            $year = get_query_var('year');
            echo 'Posts from ' . $month . ' ' . $year;
        }
    } elseif (is_page_template('page-news.php') || is_page_template('page-about.php') || is_page_template('page-contact.php')) {
        bloginfo('name');
        _e('<br>');
        the_title();
    } elseif (is_404()) {
        _e('Whoops, were a little lost.');
    } elseif (is_search()) {
        _e('Rock Theme Official Blog');
        _e('<br>');
        printf('Search results for: %s', get_search_query());
    }
}
Esempio n. 18
0
function templ_header_tpl_gallery()
{
    ?>
	<script type="text/javascript" src="<?php 
    bloginfo('template_url');
    ?>
/js/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
    <link rel="stylesheet" type="text/css" href="<?php 
    bloginfo('template_url');
    ?>
/js/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
    <script type="text/javascript">
   <!--
   var $n = jQuery.noConflict();
        $n(document).ready(function() {    
            $n("a[rel=example_group]").fancybox({
                'transitionIn'		: 'none',
                'transitionOut'		: 'none',
                'titlePosition' 	: 'over',
                'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
                    return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
                }
            });    
        });
		//-->
    </script> 
    <?php 
}
Esempio n. 19
0
function meta_title()
{
    if (is_single()) {
        single_post_title();
        echo ' | ';
        bloginfo('name');
    } elseif (is_home() || is_front_page()) {
        bloginfo('name');
        if (get_bloginfo('description')) {
            echo ' | ';
            bloginfo('description');
            get_page_number();
        }
    } elseif (is_page()) {
        single_post_title('');
        echo ' | ';
        bloginfo('name');
    } elseif (is_search()) {
        printf(__('有关 %s 的搜索结果:'), '"' . get_search_query() . '"');
        get_page_number();
        echo ' | ';
        bloginfo('name');
    } elseif (is_404()) {
        _e('404 Not Found', 'Arnold');
        echo ' | ';
        bloginfo('name');
    } else {
        wp_title('');
        echo ' | ';
        bloginfo('name');
        get_page_number();
    }
}
Esempio n. 20
0
function asdf_archive()
{
    ?>
	<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.js" type="text/javascript"></script>
	<script type="text/javascript" src="<?php 
    echo bloginfo('stylesheet_directory');
    ?>
/jsddm.js"></script> 
	<div class="widget"><div class="asdf_archive">
		<h1 class="widget-title">ARCHIVE</h1>
		<img src="<?php 
    echo bloginfo('stylesheet_directory');
    ?>
/media/pfeil_hellgrau_archiv.png" >
		<ul class="jsddm">
			<li><a href="">W&Auml;HLE DEN MONAT</a>
			<ul><?php 
    wp_get_archives('type=monthly&format=html&show_post_count=0');
    ?>
</ul>
			</li>
		</ul>
	</div></div>
<?php 
}
Esempio n. 21
0
    function csadv_logo_function()
    {
        $class = "class='header-logo-area'";
        ?>
		
        <div id="logo" <?php 
        echo $class;
        ?>
>
        
            <a href="<?php 
        echo home_url();
        ?>
" title="<?php 
        bloginfo('name');
        ?>
">
                                                    
                <?php 
        if (csadv_setting('csadv_custom_logo')) {
            echo "<img src='" . csadv_setting('csadv_custom_logo') . "' alt='logo' class='header-logo'>";
            echo "<span class='sitename'>" . get_bloginfo('name') . "</span>";
            echo "<span class='sitedescription'>" . get_bloginfo('description') . "</span>";
        } else {
            echo "<span class='sitename'>" . get_bloginfo('name') . "</span>";
            echo "<span class='sitedescription'>" . get_bloginfo('description') . "</span>";
        }
        ?>
                                                        
            </a>
        
        </div>
                                    
<?php 
    }
Esempio n. 22
0
function widget_pinkrss($args)
{
    extract($args);
    ?>
	<?php 
    echo $before_widget;
    ?>
	<?php 
    echo $before_title . 'SUBSCRIBE' . $after_title;
    ?>
	<a href="<?php 
    bloginfo('rss2_url');
    ?>
">
		<div id="rss_img">
			<img src="img/rss.gif" alt="RSS" />
		</div>
		<div id="rss_text">
			Subscribe via RSS
		</div>
	</a>
	<?php 
    echo $after_widget;
    ?>
	
	<?php 
}
Esempio n. 23
0
function get_my_title_tag()
{
    global $post;
    if (is_front_page()) {
        //the front page
        bloginfo('description');
    } elseif (is_page() || is_single()) {
        //page and postings
        the_title();
        //title of page posting
    } else {
        bloginfo('description');
    }
    if ($post->post_parent) {
        //if there is a parent
        echo ' | ';
        echo get_the_title($post->post_parent);
    }
    echo ' | ';
    //separator with space
    bloginfo('name');
    //site name
    echo ' | ';
    echo 'Seattle, WA';
}
Esempio n. 24
0
function getWeekBlog()
{
    global $wpdb;
    $counter = 0;
    $posts = array();
    $blog = $wpdb->get_col("SELECT blogName FROM wp_weekblog WHERE endPublish >= CURRENT_DATE() AND initPublish <= CURRENT_DATE() AND active=1 ORDER BY endPublish limit 0,1");
    $blogd = $wpdb->get_col("SELECT description FROM wp_weekblog WHERE endPublish >= CURRENT_DATE() AND initPublish <= CURRENT_DATE() AND active=1 ORDER BY endPublish limit 0,1");
    if ($blog[0] == '') {
        return $posts;
    }
    if (!file_exists(bloginfo('template_directory') . '/images/weekblog/' . $blog[0] . '.png')) {
        return $posts;
    }
    $blogId = $wpdb->get_results("SELECT blog_id,domain,path from {$wpdb->blogs} WHERE path like '" . PATH_CURRENT_SITE . "{$blog['0']}/'");
    $blogOptionsTable = "wp_" . $blogId[0]->blog_id . "_options";
    $blogPostsTable = "wp_" . $blogId[0]->blog_id . "_posts";
    $options = $wpdb->get_results("SELECT option_value FROM {$blogOptionsTable} WHERE option_name IN ('siteurl','blogname') ORDER BY option_id, option_name DESC");
    $thispost = $wpdb->get_results("SELECT post_title, guid, post_content, post_date, post_author " . "FROM {$blogPostsTable} " . "WHERE post_status = 'publish' " . "AND post_title<>'' " . "AND post_type = 'post' " . "ORDER BY {$blogPostsTable}.id DESC limit 0,3");
    $thisusername = get_userdata($thispost[0]->post_author)->user_login;
    if ($thispost[1]->post_title == '') {
        return $posts;
    }
    $posts = array('title0' => $thispost[0]->post_title, 'title1' => $thispost[1]->post_title, 'guid0' => $thispost[0]->guid, 'guid1' => $thispost[1]->guid, 'blogTitle' => $options[1]->option_value, 'blogUrl' => $options[0]->option_value, 'imgName' => $blog[0], 'description' => $blogd[0]);
    return $posts;
}
Esempio n. 25
0
    /**
     * Creates the tag for header image
     */
    function franz_header_image()
    {
        $header = get_custom_header();
        if ($header->url) {
            /* Scale hidpi header image */
            $custom_header = get_theme_support('custom-header');
            $header_args = array_pop($custom_header);
            if ($header->width >= 2 * $header_args['width']) {
                $header->width = floor($header->width / 2);
                $header->height = floor($header->height / 2);
            }
            ?>
       <img class="img-responsive" src="<?php 
            echo esc_url($header->url);
            ?>
" height="<?php 
            echo esc_attr($header->height);
            ?>
" width="<?php 
            echo esc_attr($header->width);
            ?>
" alt="" /> 
         
    <?php 
        } else {
            bloginfo('name');
        }
    }
Esempio n. 26
0
function twentysixteen_child_infinity_footer()
{
    ?>
<div id="infinite-footer">
    <div class="container">
        <div class="blog-info">
            <a href="/copyright/">&copy; <?php 
    bloginfo('name');
    ?>
</a>
        </div>
        <div class="blog-credits">
            <a href="/privacy-policy/">Privacy policy</a>
	    <a style="margin-left:10px;" href="/terms-use/">Terms of use</a>
	    <a style="margin-left:25px;" href="http://wordpress.org/" rel="generator">Proudly powered by WordPress</a>
	    <span style="margin-left:10px;"> Theme: TwentySixteen Child</span> 
	    <a style="margin-bottom:11px;" href="#" class="back-to-top"><span class="genericon genericon-collapse"></span><?php 
    _e(' Back to Top', 'twentysixteenchild');
    ?>
</a>
        </div>
    </div>
</div>
<?php 
}
function foxycart_template_header_includes()
{
    ?>
<!--<link rel="shortcut icon" href="<?php 
    bloginfo("url");
    ?>
/favicon.ico" />-->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui">
<meta name="ROBOTS" content="NOINDEX">
<link rel="stylesheet" href="{{ config.css_file }}" media="screen">
<!-- FC script insertion -->{{ fc_header_content|raw }}<!-- /FC script insertion -->
<!--[if lt IE 9 ]>
    <script type="text/javascript">
        var IEElms = ['article', 'aside', 'header', 'main', 'nav', 'section'];
        for (var i = 0; i < IEElms.length; i++) {
            document.createElement(IEElms[i]);
        };
    </script>
<![endif]-->
<style type="text/css">


</style>
	<?php 
}
Esempio n. 28
0
function ProjectTheme_add_pesapal_deposit($uid = '')
{
    $ProjectTheme_pesapal_enable = get_option('ProjectTheme_pesapal_enable');
    if ($ProjectTheme_pesapal_enable == "yes") {
        ?>
                
                
                <strong><?php 
        _e('Deposit money by PesaPal', 'pt_gateways');
        ?>
</strong><br/><br/>
                
                <form method="post" action="<?php 
        bloginfo('siteurl');
        ?>
/?p_action=pesapal_deposit_pay">
                <?php 
        _e("Amount to deposit:", "pt_gateways");
        ?>
  <input type="text" size="10" name="amount" /> <?php 
        echo projectTheme_currency();
        ?>
                &nbsp; &nbsp; <input type="submit" name="deposit" value="<?php 
        _e('Deposit', 'pt_gateways');
        ?>
" /></form>
    			<br/><br/>
                <?php 
    }
}
Esempio n. 29
0
    /**
     * Custom header image markup displayed on the Appearance > Header admin panel.
     *
     * @see landscape_custom_header_setup().
     *
     * @since landscape 1.0
     */
    function landscape_admin_header_image()
    {
        ?>
	<div id="headimg">
		<?php 
        if ('blank' == get_header_textcolor() || '' == get_header_textcolor()) {
            $style = ' style="display:none;"';
        } else {
            $style = ' style="color:#' . get_header_textcolor() . ';"';
        }
        ?>
		<h1><a id="name"<?php 
        echo $style;
        ?>
 onclick="return false;" href="<?php 
        echo esc_url(home_url('/'));
        ?>
"><?php 
        bloginfo('name');
        ?>
</a></h1>
		<div id="desc"<?php 
        echo $style;
        ?>
><?php 
        bloginfo('description');
        ?>
</div>
	</div>
<?php 
    }
Esempio n. 30
0
function apt_simple_title()
{
    if (!is_front_page()) {
        echo trim(wp_title('', false)) . " | ";
    }
    bloginfo('name');
}