/** * Front-end display of widget. * * @see WP_Widget::widget() * * @param array $args Widget arguments. * @param array $instance Saved values from database. */ public function widget($args, $instance) { // Output before widget echo $args['before_widget']; // Title for Widget $title = ""; if (!empty($instance['title'])) { $title = $args['before_title'] . apply_filters('widget_title', $instance['title']) . $args['after_title']; echo trim($title); } // Custom values for widget $imgurl = empty($instance['imgurl']) ? ' ' : apply_filters('widget_title', $instance['imgurl']); $imgalt = empty($instance['imgalt']) ? ' ' : apply_filters('widget_title', $instance['imgalt']); $linkurl = empty($instance['linkurl']) ? ' ' : apply_filters('widget_title', $instance['linkurl']); if (!empty($imgurl)) { ?> <?php if ($linkurl) { ?> <a href="<?php echo $linkurl; ?> "> <?php } ?> <?php if ($linkurl) { ?> <?php inti_do_srcset_image($imgurl, $imgalt); ?> <?php } ?> <?php if ($linkurl) { ?> </a> <?php } } else { ?> <div class="callout alert"> <p><?php e_('No image added to this image widget', 'inti'); ?> </p> </div> <?php } // Output after widget echo $args['after_widget']; }
<?php include_once ENVIALO_DIR . "/clases/EnvialoSimple.php"; include_once ENVIALO_DIR . "/clases/Formularios.php"; $ev = new EnvialoSimple(); $ev->checkSetup(); if (isset($GLOBALS["APIKey"])) { $fo = new Formularios(); $formularios = $fo->mostrarFormularios(); } else { e_('Problema en la Configuración del Plugin', 'envialo-simple'); } ?> <?php include_once ENVIALO_DIR . "/paginas/header.php"; ?> <script type="text/javascript"> jQuery(document).ready(function(){ jQuery("#modal-obtener-codigo").dialog({ autoOpen : false, height : "500", width : "999", modal : true, position:"top", title : "Obtener Código", close : function(event, ui) {
</p> </div> <div class="col4"> <h3><?php e_('Други'); ?> </h3> <p> <?php wp_nav_menu(array('theme_location' => 'footer-others', 'items_wrap' => '%3$s<br/>')); ?> </p> </div> <div class="col4"> <h3><?php e_('Последвайте ни в:'); ?> </h3> <p> <?php wp_nav_menu(array('theme_location' => 'footer-followus', 'items_wrap' => '%3$s<br/>')); ?> </p> </div> </div> <div id="copyright"> <?php echo sprintf(__('%1$s %2$s %3$s. Some Rights Reserved.', 'initfest'), '©', date('Y'), 'OpenFest'); ?> </div> </footer>
<?php if ($_GET["replytocom"] != "") { echo '<div class="cancel-comment-reply">'; $comment_id_7 = get_comment($_GET["replytocom"]); $name = $comment_id_7->comment_name; cancel_comment_reply_link('Cancelar la respuesta al comentario de'); ?> <?php echo $comment_id_7->comment_author; echo '</div>'; } if (get_option('comment_registration') && !is_user_logged_in()) { ?> <p><?php e_("You must be logged in to post a comment.", "notesblog"); ?> <a href="<?php echo wp_login_url(get_permalink()); ?> "><?php _e("So log in!", "notesblog"); ?> </a></p> <?php } else { ?> <div class="comments-form top"> <form action="<?php echo get_option('siteurl'); ?>
<h1><?php _e('Author Archives for ', 'html5blank'); echo get_the_author(); ?> </h1> <?php if (get_the_author_meta('description')) { ?> <?php echo get_avatar(get_the_author_meta('user_email')); ?> <h2><?php e_('About', 'html5blank'); echo get_the_author(); ?> </h2> <?php the_author_meta('description'); ?> <?php } ?> <?php rewind_posts(); while (have_posts()) {
<div id="license-area-left"> <h2><?php e_('License Details', 'wptouch-pro'); ?> </h2> </div> <div id="license-area-right"> <!-- Ajaxed license details --> </div>
<meta name="author" content="OpenFest" /> <meta name="copyright" content="OpenFest" /> <meta name="robots" content="follow,index" /> <meta name="title" content="" /> <meta name="keywords" content="" lang="en-us" /> <meta name="description" content="" /> <meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0" /> <!--<link rel="icon" type="image/png" href="">--> <link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri(); ?> /favicon.ico" /> <title><?php is_front_page() ? bloginfo('name') . e_(' | ') . e_('Да споделим свободата') : wp_title(' | ', true, 'right'); ?> </title> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> <link rel="stylesheet" type="text/css" href="<?php echo get_stylesheet_uri(); ?> " /> <?php wp_head(); ?> </head> <body>
public function render($fields = array(), $action = 'options.php', $save_button = "Save Settings") { ob_start(); ?> <form method="post" action="<?php echo $options; ?> "> <?php settings_fields($this->option_name . '_group'); ?> <?php $options = get_option("{$this->option_name}_options"); ?> <p class="submit"> <input type="submit" class="button-primary" value="<?php e_($save_button, $this->text_domain); ?> " /> </p> </form> <?php }
<h1><?php _e('Author Archives for ', 'felix'); echo get_the_author(); ?> </h1> <?php if (get_the_author_meta('description')) { ?> <?php echo get_avatar(get_the_author_meta('user_email')); ?> <h2><?php e_('About', 'felix'); echo get_the_author(); ?> </h2> <?php the_author_meta('description'); ?> <?php } ?> <?php rewind_posts(); while (have_posts()) {