Actualización desde web
git-svn-id: https://192.168.0.254/svn/Proyectos.FundacionLQDVI_Web/trunk@56 77ab8c26-3d69-2c4d-86f2-786f4ba54905
@ -172,7 +172,7 @@ if (have_posts()) : while (have_posts()) : the_post();
|
|||||||
<p><?php echo get_the_content_with_formatting(); ?></p>
|
<p><?php echo get_the_content_with_formatting(); ?></p>
|
||||||
<div class="post_detail">
|
<div class="post_detail">
|
||||||
<?php the_time('j F, Y'); ?> -
|
<?php the_time('j F, Y'); ?> -
|
||||||
<?php comments_number(__('No comment', 'lqdvi'), __('Comment', 'lqdvi'), __('% Comments', 'lqdvi')); ?>.
|
<?php comments_number(__('', 'lqdvi'), __('Comment', 'lqdvi'), __('% Comments', 'lqdvi')); ?>.
|
||||||
<?php edit_post_link(__('Edit post', 'lqdvi'), '', ''); ?>
|
<?php edit_post_link(__('Edit post', 'lqdvi'), '', ''); ?>
|
||||||
<?php /*
|
<?php /*
|
||||||
Posted by: <?php the_author(); ?>
|
Posted by: <?php the_author(); ?>
|
||||||
|
|||||||
@ -207,7 +207,7 @@ if (have_posts()) : while (have_posts()) : the_post();
|
|||||||
|
|
||||||
|
|
||||||
<div class="post_header">
|
<div class="post_header">
|
||||||
<h3 class="cufon">
|
<h3 class="cufon-child">
|
||||||
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
|
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
|
||||||
<?php the_title(); ?>
|
<?php the_title(); ?>
|
||||||
</a>
|
</a>
|
||||||
@ -216,7 +216,7 @@ if (have_posts()) : while (have_posts()) : the_post();
|
|||||||
<p><?php echo get_the_content_with_formatting(); ?></p>
|
<p><?php echo get_the_content_with_formatting(); ?></p>
|
||||||
<div class="post_detail">
|
<div class="post_detail">
|
||||||
<?php the_time('j F, Y'); ?> -
|
<?php the_time('j F, Y'); ?> -
|
||||||
<?php comments_number(__('No comment', 'lqdvi'), __('Comment', 'lqdvi'), __('% Comments', 'lqdvi')); ?>.
|
<?php comments_number(__('', 'lqdvi'), __('Comment', 'lqdvi'), __('% Comments', 'lqdvi')); ?>.
|
||||||
<?php edit_post_link(__('Edit post', 'lqdvi'), '', ''); ?>
|
<?php edit_post_link(__('Edit post', 'lqdvi'), '', ''); ?>
|
||||||
|
|
||||||
<?php /*Posted by: <?php the_author(); ?>
|
<?php /*Posted by: <?php the_author(); ?>
|
||||||
|
|||||||
176
src/wp-content/themes/lqdvi/category-recomendamos.php
Normal file
@ -0,0 +1,176 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* The main template file for display blog page.
|
||||||
|
*
|
||||||
|
* @package WordPress
|
||||||
|
*/
|
||||||
|
get_header();
|
||||||
|
|
||||||
|
$page_sidebar = get_post_meta($current_page_id, 'page_sidebar', true);
|
||||||
|
|
||||||
|
if (empty($page_sidebar)) {
|
||||||
|
$page_sidebar = 'Blog Sidebar';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$page_style = 'Right Sidebar';
|
||||||
|
$caption_class = "page_caption";
|
||||||
|
|
||||||
|
$add_sidebar = TRUE;
|
||||||
|
$sidebar_class = '';
|
||||||
|
|
||||||
|
if ($page_style == 'Right Sidebar') {
|
||||||
|
$add_sidebar = TRUE;
|
||||||
|
$page_class = 'sidebar_content';
|
||||||
|
} elseif ($page_style == 'Left Sidebar') {
|
||||||
|
$add_sidebar = TRUE;
|
||||||
|
$page_class = 'sidebar_content';
|
||||||
|
$sidebar_class = 'left_sidebar';
|
||||||
|
} else {
|
||||||
|
$page_class = 'inner_wrapper';
|
||||||
|
}
|
||||||
|
|
||||||
|
$pp_title = get_option('pp_blog_title');
|
||||||
|
|
||||||
|
if (empty($pp_title)) {
|
||||||
|
$pp_title = 'Blog';
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
<div class="<?php echo $caption_class ?>">
|
||||||
|
<div class="caption_inner">
|
||||||
|
<div class="caption_header">
|
||||||
|
<h2 class="cufon"><?php printf(__(' %s', 'Soon'), '' . single_cat_title('', false) . ''); ?></h2>
|
||||||
|
</div>
|
||||||
|
<br class="clear"/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Begin content -->
|
||||||
|
<div id="content_wrapper" class="content_bg">
|
||||||
|
<div class="inner">
|
||||||
|
|
||||||
|
<!-- Begin main content -->
|
||||||
|
<div class="inner_wrapper"><br class="clear"/>
|
||||||
|
|
||||||
|
<?php if ($add_sidebar && $page_style == 'Left Sidebar') { ?>
|
||||||
|
<div class="sidebar_wrapper <?php echo $sidebar_class; ?>">
|
||||||
|
|
||||||
|
<div class="sidebar <?php echo $sidebar_class; ?> <?php echo $sidebar_home; ?>">
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
|
|
||||||
|
<ul class="sidebar_widget">
|
||||||
|
<?php dynamic_sidebar($page_sidebar); ?>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<br class="clear"/>
|
||||||
|
|
||||||
|
<div class="sidebar_bottom <?php echo $sidebar_class; ?>"></div>
|
||||||
|
</div>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
<div class="sidebar_content">
|
||||||
|
|
||||||
|
<?php
|
||||||
|
global $more;
|
||||||
|
$more = false; # some wordpress wtf logic
|
||||||
|
|
||||||
|
$query_string = "post_type=post&paged=$paged";
|
||||||
|
|
||||||
|
$cat_id = get_cat_ID(single_cat_title('', false));
|
||||||
|
if (!empty($cat_id)) {
|
||||||
|
$query_string.= '&cat=' . $cat_id;
|
||||||
|
}
|
||||||
|
|
||||||
|
query_posts($query_string);
|
||||||
|
|
||||||
|
if (have_posts()) : while (have_posts()) : the_post();
|
||||||
|
|
||||||
|
$image_thumb = '';
|
||||||
|
|
||||||
|
if (has_post_thumbnail(get_the_ID(), 'large')) {
|
||||||
|
$image_id = get_post_thumbnail_id(get_the_ID());
|
||||||
|
$image_thumb = wp_get_attachment_image_src($image_id, 'large', true);
|
||||||
|
$pp_blog_image_width = 150;
|
||||||
|
$pp_blog_image_height = 150;
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Begin each blog post -->
|
||||||
|
<div class="post_wrapper">
|
||||||
|
<?php
|
||||||
|
if (!empty($image_thumb)) {
|
||||||
|
?>
|
||||||
|
<div class="post_img img_shadow_536" style="width:<?php echo $pp_blog_image_width + 10; ?>px;height:<?php echo $pp_blog_image_height + 30; ?>px">
|
||||||
|
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
|
||||||
|
<img src="<?php echo get_bloginfo('stylesheet_directory'); ?>/timthumb.php?src=<?php echo $image_thumb[0]; ?>&h=<?php echo $pp_blog_image_height; ?>&w=<?php echo $pp_blog_image_width; ?>&zc=1" alt="" class="frame"/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="post_header">
|
||||||
|
<h3 class="cufon-child">
|
||||||
|
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
|
||||||
|
<?php the_title(); ?>
|
||||||
|
</a>
|
||||||
|
</h3>
|
||||||
|
</div>
|
||||||
|
<p><?php echo get_the_content_with_formatting(); ?></p>
|
||||||
|
<div class="post_detail">
|
||||||
|
<?php the_time('j F, Y'); ?> -
|
||||||
|
<?php comments_number(__('', 'lqdvi'), __('Comment', 'lqdvi'), __('% Comments', 'lqdvi')); ?>.
|
||||||
|
<?php edit_post_link(__('Edit post', 'lqdvi'), '', ''); ?>
|
||||||
|
<?php /*
|
||||||
|
Posted by: <?php the_author(); ?>
|
||||||
|
Tags:
|
||||||
|
<?php the_tags(''); ?>
|
||||||
|
Posted date:
|
||||||
|
<?php the_time('F j, Y'); ?> <?php edit_post_link('edit post', ', ', ''); ?>
|
||||||
|
|
|
||||||
|
<?php comments_number('No comment', 'Comment', '% Comments'); ?>
|
||||||
|
*/ ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<!-- End each blog post -->
|
||||||
|
<?php
|
||||||
|
endwhile;
|
||||||
|
endif;
|
||||||
|
?>
|
||||||
|
|
||||||
|
<div class="pagination"><p><?php posts_nav_link(' '); ?></p></div>
|
||||||
|
<br class="clear"/>
|
||||||
|
<?php gravity_form(11); ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="sidebar_wrapper <?php echo $sidebar_class; ?>">
|
||||||
|
<div class="sidebar_top <?php echo $sidebar_class; ?>"></div>
|
||||||
|
<div class="sidebar <?php echo $sidebar_class; ?> <?php echo $sidebar_home; ?>">
|
||||||
|
<div class="content">
|
||||||
|
<ul class="sidebar_widget">
|
||||||
|
<?php dynamic_sidebar($page_sidebar); ?>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<br class="clear"/>
|
||||||
|
<div class="sidebar_bottom <?php echo $sidebar_class; ?>"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<!-- End main content -->
|
||||||
|
|
||||||
|
<br class="clear"/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- End content -->
|
||||||
|
|
||||||
|
<?php get_footer(); ?>
|
||||||
@ -138,7 +138,7 @@ if (have_posts()) : while (have_posts()) : the_post();
|
|||||||
|
|
||||||
|
|
||||||
<div class="post_header">
|
<div class="post_header">
|
||||||
<h3 class="cufon">
|
<h3 class="cufon-child">
|
||||||
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
|
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
|
||||||
<?php the_title(); ?>
|
<?php the_title(); ?>
|
||||||
</a>
|
</a>
|
||||||
@ -147,7 +147,7 @@ if (have_posts()) : while (have_posts()) : the_post();
|
|||||||
<p><?php echo get_the_content_with_formatting(); ?></p>
|
<p><?php echo get_the_content_with_formatting(); ?></p>
|
||||||
<div class="post_detail">
|
<div class="post_detail">
|
||||||
<?php the_time('j F, Y'); ?> -
|
<?php the_time('j F, Y'); ?> -
|
||||||
<?php comments_number(__('No comment', 'lqdvi'), __('Comment', 'lqdvi'), __('% Comments', 'lqdvi')); ?>.
|
<?php comments_number(__('', 'lqdvi'), __('Comment', 'lqdvi'), __('% Comments', 'lqdvi')); ?>.
|
||||||
<?php edit_post_link(__('Edit post', 'lqdvi'), '', ''); ?>
|
<?php edit_post_link(__('Edit post', 'lqdvi'), '', ''); ?>
|
||||||
<?php /*
|
<?php /*
|
||||||
Posted by: <?php the_author(); ?>
|
Posted by: <?php the_author(); ?>
|
||||||
|
|||||||
@ -101,7 +101,7 @@ hr
|
|||||||
{
|
{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: -9px 0 0 0;
|
margin: -9px 0 0 0;
|
||||||
padding: 20px 0 0 0;
|
padding: 0;
|
||||||
margin-top:1px;
|
margin-top:1px;
|
||||||
border-top: 2px solid #444;
|
border-top: 2px solid #444;
|
||||||
background: #222;
|
background: #222;
|
||||||
@ -721,7 +721,7 @@ body.home #top_bar
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
border-top:2px solid #444;
|
border-top:2px solid #444;
|
||||||
border-bottom:2px solid #444;
|
border-bottom:2px solid #444;
|
||||||
display:none;
|
/*display:none;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -832,7 +832,7 @@ body.home #top_bar
|
|||||||
.nivo-directionNav a.nivo-nextNav {
|
.nivo-directionNav a.nivo-nextNav {
|
||||||
background: transparent url('../images/right_slide_nav.png') no-repeat center 15px;
|
background: transparent url('../images/right_slide_nav.png') no-repeat center 15px;
|
||||||
text-indent: -9999px;
|
text-indent: -9999px;
|
||||||
left: 895px;
|
left: 960px;
|
||||||
top: 42px;
|
top: 42px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -907,13 +907,13 @@ body.home #top_bar
|
|||||||
|
|
||||||
.caption_inner
|
.caption_inner
|
||||||
{
|
{
|
||||||
width: 895px;
|
width: 960px;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content_wrapper .inner .inner_wrapper
|
#content_wrapper .inner .inner_wrapper
|
||||||
{
|
{
|
||||||
width: 900px;
|
width: 960px;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
padding: 30px 0 25px 0;
|
padding: 30px 0 25px 0;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
@ -926,16 +926,19 @@ body.home #top_bar
|
|||||||
|
|
||||||
#content_wrapper .inner .inner_wrapper .sidebar_content
|
#content_wrapper .inner .inner_wrapper .sidebar_content
|
||||||
{
|
{
|
||||||
width: 600px;
|
width: 688px; /*660px;*/
|
||||||
float: left;
|
float: left;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
margin-right: 0px;
|
||||||
|
margin-top: -10px;
|
||||||
|
border-right: 1px solid #37A3DE;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content_wrapper .inner .inner_wrapper .sidebar_wrapper
|
#content_wrapper .inner .inner_wrapper .sidebar_wrapper
|
||||||
{
|
{
|
||||||
width: 270px;
|
width: 270px;
|
||||||
float: right;
|
float: right;
|
||||||
margin-left: 15px;
|
margin-left: 0px;
|
||||||
margin-top: -10px;
|
margin-top: -10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -950,7 +953,7 @@ body.home #top_bar
|
|||||||
{
|
{
|
||||||
width: 270px;
|
width: 270px;
|
||||||
float: left;
|
float: left;
|
||||||
height: 32px;
|
height: 5px; /*32px;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
#content_wrapper .inner .inner_wrapper .sidebar_wrapper .sidebar_bottom
|
#content_wrapper .inner .inner_wrapper .sidebar_wrapper .sidebar_bottom
|
||||||
@ -1144,6 +1147,7 @@ body.home #top_bar
|
|||||||
#content_wrapper .sidebar .content .sidebar_widget li .widgettitle
|
#content_wrapper .sidebar .content .sidebar_widget li .widgettitle
|
||||||
{
|
{
|
||||||
font-size: 22px;
|
font-size: 22px;
|
||||||
|
margin-bottom: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.textwidget
|
div.textwidget
|
||||||
@ -1158,8 +1162,8 @@ div.textwidget
|
|||||||
|
|
||||||
.post_wrapper
|
.post_wrapper
|
||||||
{
|
{
|
||||||
width: 100%;
|
width: auto;
|
||||||
margin: 0 0 70px 0;
|
margin: 0 25px 50px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post_wrapper.single
|
.post_wrapper.single
|
||||||
@ -1510,7 +1514,8 @@ ul.children .comment
|
|||||||
|
|
||||||
.one_fourth
|
.one_fourth
|
||||||
{
|
{
|
||||||
width: 22.5%;
|
width: 21.5%;
|
||||||
|
min-height: 375px;
|
||||||
float: left;
|
float: left;
|
||||||
margin-right: 3%;
|
margin-right: 3%;
|
||||||
margin-bottom: 2%;
|
margin-bottom: 2%;
|
||||||
@ -1531,7 +1536,7 @@ ul.children .comment
|
|||||||
.one_fourth .portfolio_image img.frame
|
.one_fourth .portfolio_image img.frame
|
||||||
{
|
{
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 20px;
|
top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.img_shadow_160
|
.img_shadow_160
|
||||||
@ -1564,6 +1569,27 @@ ul.children .comment
|
|||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.one_fifth .portfolio_image {
|
||||||
|
height: 165px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.one_fifth .portfolio_desc
|
||||||
|
{
|
||||||
|
width: 88%;
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.one_fifth .portfolio_desc h2
|
||||||
|
{
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.one_fifth .portfolio_image img.frame {
|
||||||
|
position: relative;
|
||||||
|
top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
.one_sixth
|
.one_sixth
|
||||||
{
|
{
|
||||||
width: 11%;
|
width: 11%;
|
||||||
@ -1585,7 +1611,7 @@ ul.children .comment
|
|||||||
display: block;
|
display: block;
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -133px;
|
top: -133px;
|
||||||
left: 6px;
|
left: 0;
|
||||||
z-index: 999;
|
z-index: 999;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@ -1594,7 +1620,7 @@ ul.children .comment
|
|||||||
.portfolio4_hover img
|
.portfolio4_hover img
|
||||||
{
|
{
|
||||||
width: 60px;
|
width: 60px;
|
||||||
margin: 25px 0 0 0;
|
margin: 40px 0 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.blog_grid_desc
|
.blog_grid_desc
|
||||||
@ -1684,7 +1710,7 @@ ul.children .comment
|
|||||||
}
|
}
|
||||||
|
|
||||||
.pagination {
|
.pagination {
|
||||||
margin: 100px 0 30px -3px;
|
margin: 50px 0 30px -3px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1699,13 +1725,13 @@ ul.children .comment
|
|||||||
.pagination a:hover {
|
.pagination a:hover {
|
||||||
border: 1px solid #333;
|
border: 1px solid #333;
|
||||||
background: #333;
|
background: #333;
|
||||||
color: #999;
|
color: #222;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pagination a:active, .pagination a.active {
|
.pagination a:active, .pagination a.active {
|
||||||
border: 1px solid #333;
|
border: 1px solid #333;
|
||||||
background: #333;
|
background: #333;
|
||||||
color: #999;
|
color: #222;
|
||||||
}
|
}
|
||||||
|
|
||||||
.arrow_list, .check_list, .star_list, .pp_list ul
|
.arrow_list, .check_list, .star_list, .pp_list ul
|
||||||
@ -1863,7 +1889,7 @@ ul.flickr li
|
|||||||
|
|
||||||
#slider_loading
|
#slider_loading
|
||||||
{
|
{
|
||||||
width: 900px;
|
width: 960px;
|
||||||
height: 420px;
|
height: 420px;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
background: transparent url('../images/ajax-loader.gif') no-repeat center center;
|
background: transparent url('../images/ajax-loader.gif') no-repeat center center;
|
||||||
@ -2003,7 +2029,7 @@ strong.header
|
|||||||
position: relative;
|
position: relative;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
width: 900px;
|
width: 960px;
|
||||||
height: 380px;
|
height: 380px;
|
||||||
margin:auto;
|
margin:auto;
|
||||||
top: 15px;
|
top: 15px;
|
||||||
@ -2245,4 +2271,5 @@ img.fade
|
|||||||
#content_wrapper ul.list
|
#content_wrapper ul.list
|
||||||
{
|
{
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -47,6 +47,7 @@ function page_create_meta_box() {
|
|||||||
global $page_postmetas;
|
global $page_postmetas;
|
||||||
if ( function_exists('add_meta_box') && isset($page_postmetas) && count($page_postmetas) > 0 ) {
|
if ( function_exists('add_meta_box') && isset($page_postmetas) && count($page_postmetas) > 0 ) {
|
||||||
add_meta_box( 'page_metabox', 'Page Options', 'page_new_meta_box', 'page', 'normal', 'high' );
|
add_meta_box( 'page_metabox', 'Page Options', 'page_new_meta_box', 'page', 'normal', 'high' );
|
||||||
|
add_meta_box( 'page_metabox', 'Page Options', 'page_new_meta_box', 'proyecto', 'normal', 'high' );
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -122,7 +122,7 @@ function post_type_proyectos() {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
add_action('init', 'post_type_proyectos');
|
//add_action('init', 'post_type_proyectos');
|
||||||
|
|
||||||
add_filter( 'manage_posts_columns', 'rt_add_gravatar_col');
|
add_filter( 'manage_posts_columns', 'rt_add_gravatar_col');
|
||||||
function rt_add_gravatar_col($cols) {
|
function rt_add_gravatar_col($cols) {
|
||||||
|
|||||||
@ -6,62 +6,70 @@
|
|||||||
*/
|
*/
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<!-- Begin footer -->
|
<!-- Begin footer -->
|
||||||
<div id="footer" class="clear">
|
<div id="footer" class="clear">
|
||||||
<ul class="sidebar_widget">
|
<ul class="sidebar_widget">
|
||||||
<?php dynamic_sidebar('Footer Sidebar'); ?>
|
<?php dynamic_sidebar('Footer Sidebar'); ?>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if(function_exists( 'wp_bannerize' )) {
|
if (function_exists('wp_bannerize')) {
|
||||||
?>
|
?>
|
||||||
<br class="clear"/>
|
<br class="clear"/>
|
||||||
<?php
|
<?php
|
||||||
wp_bannerize();
|
wp_bannerize();
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<br class="clear"/>
|
<?php if (!is_page('apoyos')) : ?>
|
||||||
|
<?php include (TEMPLATEPATH . "/templates/logo-slideshow.php"); ?>
|
||||||
<div id="copyright">
|
<?php endif; ?>
|
||||||
<?php
|
|
||||||
/**
|
<br class="clear"/>
|
||||||
* Get footer text
|
|
||||||
*/
|
<div id="copyright">
|
||||||
|
<?php
|
||||||
$pp_footer_text = get_option('pp_footer_text');
|
/**
|
||||||
|
* Get footer text
|
||||||
if(empty($pp_footer_text))
|
*/
|
||||||
{
|
$pp_footer_text = get_option('pp_footer_text');
|
||||||
$pp_footer_text = '';
|
|
||||||
}
|
if (empty($pp_footer_text)) {
|
||||||
|
$pp_footer_text = '';
|
||||||
echo stripslashes($pp_footer_text);
|
}
|
||||||
?>
|
|
||||||
</div>
|
echo stripslashes($pp_footer_text);
|
||||||
|
?>
|
||||||
</div>
|
</div>
|
||||||
<!-- End footer -->
|
|
||||||
|
<br class="clear"/>
|
||||||
</div>
|
|
||||||
<!-- End template wrapper -->
|
<?php if (is_user_logged_in()) { ?>
|
||||||
|
<center><small style="color: #000;">Consumo de PHP: <?php echo round(memory_get_usage()/1048576,2) ?>MB | Base de datos: <?php echo get_num_queries(); ?> consultas | Tiempo de carga: <?php timer_stop(1); ?> segundos.</small></center>
|
||||||
|
<?php } ?>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<!-- End footer -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<!-- End template wrapper -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Setup Google Analyric Code
|
* Setup Google Analyric Code
|
||||||
**/
|
* */
|
||||||
include (TEMPLATEPATH . "/google-analytic.php");
|
include (TEMPLATEPATH . "/google-analytic.php");
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/* Always have wp_footer() just before the closing </body>
|
/* Always have wp_footer() just before the closing </body>
|
||||||
* tag of your theme, or you will break many plugins, which
|
* tag of your theme, or you will break many plugins, which
|
||||||
* generally use this hook to reference JavaScript files.
|
* generally use this hook to reference JavaScript files.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
wp_footer();
|
wp_footer();
|
||||||
?>
|
?>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@ -4,7 +4,7 @@ define("THEMENAME", "lqdvi");
|
|||||||
define("SHORTNAME", "pp");
|
define("SHORTNAME", "pp");
|
||||||
|
|
||||||
require_once ('save_application_form.php');
|
require_once ('save_application_form.php');
|
||||||
require_once ('pasarela_tpv.php');
|
//require_once ('pasarela_tpv.php'); <- no utilizar más la pasarela TPV
|
||||||
|
|
||||||
load_theme_textdomain( 'lqdvi', TEMPLATEPATH.'/languages' );
|
load_theme_textdomain( 'lqdvi', TEMPLATEPATH.'/languages' );
|
||||||
|
|
||||||
@ -499,4 +499,46 @@ function deregister_cf7_styles() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
if(!function_exists('_log')){
|
||||||
|
function _log( $message ) {
|
||||||
|
if( WP_DEBUG === true ){
|
||||||
|
if( is_array( $message ) || is_object( $message ) ){
|
||||||
|
error_log( print_r( $message, true ) );
|
||||||
|
} else {
|
||||||
|
error_log( $message );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function the_slug() {
|
||||||
|
$post_data = get_post($post->ID, ARRAY_A);
|
||||||
|
$slug = $post_data['post_name'];
|
||||||
|
return $slug;
|
||||||
|
}
|
||||||
|
|
||||||
|
function get_the_post_thumbnail_src($img) {
|
||||||
|
return (preg_match('~\bsrc="([^"]++)"~', $img, $matches)) ? $matches[1] : '';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function custom_plugin_language_dir() {
|
||||||
|
load_plugin_textdomain('tweetblender', false, '../languages/');
|
||||||
|
}
|
||||||
|
add_action('after_setup_theme', 'custom_plugin_language_dir');
|
||||||
|
|
||||||
|
|
||||||
|
function my_init() {
|
||||||
|
if (!is_admin()) {
|
||||||
|
// comment out the next two lines to load the local copy of jQuery
|
||||||
|
wp_deregister_script('jquery');
|
||||||
|
wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js', false, '1.8.3');
|
||||||
|
wp_enqueue_script('jquery');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
add_action('init', 'my_init');
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
||||||
|
|
||||||
@ -4,516 +4,476 @@
|
|||||||
*
|
*
|
||||||
* @package WordPress
|
* @package WordPress
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$pp_theme_version = '1.0';
|
$pp_theme_version = '1.0';
|
||||||
|
|
||||||
?><!DOCTYPE html>
|
?><!DOCTYPE html>
|
||||||
<html <?php language_attributes(); ?>>
|
<html <?php language_attributes(); ?>>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="<?php bloginfo( 'charset' ); ?>" />
|
<meta charset="<?php bloginfo('charset'); ?>" />
|
||||||
<title><?php wp_title('‹', true, 'right'); ?><?php bloginfo('name'); ?></title>
|
<title><?php wp_title('‹', true, 'right'); ?><?php bloginfo('name'); ?></title>
|
||||||
<link rel="profile" href="http://gmpg.org/xfn/11" />
|
<link rel="profile" href="http://gmpg.org/xfn/11" />
|
||||||
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
|
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('stylesheet_url'); ?>" />
|
||||||
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
|
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Get favicon URL
|
* Get favicon URL
|
||||||
**/
|
* */
|
||||||
$pp_favicon = get_option('pp_favicon');
|
$pp_favicon = get_option('pp_favicon');
|
||||||
|
|
||||||
|
|
||||||
if(!empty($pp_favicon))
|
|
||||||
{
|
|
||||||
?>
|
|
||||||
<link rel="shortcut icon" href="<?php echo $pp_favicon; ?>" />
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
|
|
||||||
<!-- Template stylesheet -->
|
|
||||||
<?php
|
|
||||||
|
|
||||||
wp_enqueue_style("jqueryui_css", get_bloginfo( 'stylesheet_directory' )."/css/jqueryui/custom.css", false, $pp_theme_version, "all");
|
if (!empty($pp_favicon)) {
|
||||||
wp_enqueue_style("screen_css", get_bloginfo( 'stylesheet_directory' )."/css/screen.css", false, $pp_theme_version, "all");
|
?>
|
||||||
wp_enqueue_style("lqdvi_css", get_bloginfo( 'stylesheet_directory' )."/css/lqdvi.css", false, $pp_theme_version, "all");
|
<link rel="shortcut icon" href="<?php echo $pp_favicon; ?>" />
|
||||||
wp_enqueue_style("fancybox_css", get_bloginfo( 'stylesheet_directory' )."/js/fancybox/jquery.fancybox-1.3.0.css", false, $pp_theme_version, "all");
|
<?php
|
||||||
wp_enqueue_style("videojs_css", get_bloginfo( 'stylesheet_directory' )."/js/video-js.css", false, $pp_theme_version, "all");
|
}
|
||||||
wp_enqueue_style("vim_css", get_bloginfo( 'stylesheet_directory' )."/js/skins/vim.css", false, $pp_theme_version, "all");
|
?>
|
||||||
|
|
||||||
?>
|
<!-- Template stylesheet -->
|
||||||
|
<?php
|
||||||
|
wp_enqueue_style("jqueryui_css", get_bloginfo('stylesheet_directory') . "/css/jqueryui/custom.css", false, $pp_theme_version, "all");
|
||||||
|
wp_enqueue_style("screen_css", get_bloginfo('stylesheet_directory') . "/css/screen.css", false, $pp_theme_version, "all");
|
||||||
|
wp_enqueue_style("lqdvi_css", get_bloginfo('stylesheet_directory') . "/css/lqdvi.css", false, $pp_theme_version, "all");
|
||||||
|
wp_enqueue_style("fancybox_css", get_bloginfo('stylesheet_directory') . "/js/fancybox/jquery.fancybox-1.3.0.css", false, $pp_theme_version, "all");
|
||||||
|
wp_enqueue_style("videojs_css", get_bloginfo('stylesheet_directory') . "/js/video-js.css", false, $pp_theme_version, "all");
|
||||||
|
wp_enqueue_style("vim_css", get_bloginfo('stylesheet_directory') . "/js/skins/vim.css", false, $pp_theme_version, "all");
|
||||||
|
?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* Check Google Maps key
|
||||||
|
* */
|
||||||
|
$pp_gm_key = get_option('pp_gm_key');
|
||||||
|
|
||||||
/**
|
if (!empty($pp_gm_key)) {
|
||||||
* Check Google Maps key
|
?>
|
||||||
**/
|
<script type="text/javascript" src="http://maps.google.com/maps?file=api&v=2&sensor=false&key=<?php echo $pp_gm_key; ?>&hl=en"></script>
|
||||||
$pp_gm_key = get_option('pp_gm_key');
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
if(!empty($pp_gm_key))
|
<?php
|
||||||
{
|
wp_enqueue_script('jquery');
|
||||||
|
wp_enqueue_script("jquery-ui-core");
|
||||||
?>
|
|
||||||
<script type="text/javascript" src="http://maps.google.com/maps?file=api&v=2&sensor=false&key=<?php echo $pp_gm_key; ?>&hl=en"></script>
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
|
|
||||||
<?php
|
//wp_enqueue_script("jQuery", get_bloginfo( 'stylesheet_directory' )."/js/jquery.js", false, $pp_theme_version);
|
||||||
wp_enqueue_script("jQuery", get_bloginfo( 'stylesheet_directory' )."/js/jquery.js", false, $pp_theme_version);
|
|
||||||
//wp_enqueue_script("jQuery", get_bloginfo( 'stylesheet_directory' )."/js/jquery-1.5.min.js");
|
//wp_enqueue_script("jQuery", get_bloginfo( 'stylesheet_directory' )."/js/jquery-1.5.min.js");
|
||||||
//wp_enqueue_script("jQuery", "http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js");
|
//wp_enqueue_script("jQuery", "http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js");
|
||||||
//wp_enqueue_script("jQuery_cycle", "http://cloud.github.com/downloads/malsup/cycle/jquery.cycle.all.latest.js");
|
wp_enqueue_script("jQuery_cycle", "http://cloud.github.com/downloads/malsup/cycle/jquery.cycle.all.latest.js");
|
||||||
wp_enqueue_script("jQuery_UI_js", get_bloginfo( 'stylesheet_directory' )."/js/jquery-ui.js", false, $pp_theme_version);
|
//wp_enqueue_script("jQuery_UI_js", get_bloginfo( 'stylesheet_directory' )."/js/jquery-ui.js", false, $pp_theme_version);
|
||||||
wp_enqueue_script("fancybox_js", get_bloginfo( 'stylesheet_directory' )."/js/fancybox/jquery.fancybox-1.3.0.js", false, $pp_theme_version);
|
|
||||||
wp_enqueue_script("jQuery_easing", get_bloginfo( 'stylesheet_directory' )."/js/jquery.easing.js", false, $pp_theme_version);
|
|
||||||
wp_enqueue_script("jQuery_nivo", get_bloginfo( 'stylesheet_directory' )."/js/jquery.nivo.slider.js", false, $pp_theme_version);
|
|
||||||
wp_enqueue_script("jQuery_anything_slider", get_bloginfo( 'stylesheet_directory' )."/js/anythingSlider.js", false, $pp_theme_version);
|
|
||||||
wp_enqueue_script("jQuery_kwicks", get_bloginfo( 'stylesheet_directory' )."/js/jquery.kwicks.js", false, $pp_theme_version);
|
|
||||||
wp_enqueue_script("jQuery_cycle", get_bloginfo( 'stylesheet_directory' )."/js/jquery.cycle.all.js", false, $pp_theme_version);
|
|
||||||
|
|
||||||
/**
|
wp_enqueue_script("fancybox_js", get_bloginfo('stylesheet_directory') . "/js/fancybox/jquery.fancybox-1.3.0.js", false, $pp_theme_version);
|
||||||
* Check Google Maps key
|
wp_enqueue_script("jQuery_easing", get_bloginfo('stylesheet_directory') . "/js/jquery.easing.js", false, $pp_theme_version);
|
||||||
**/
|
wp_enqueue_script("jQuery_nivo", get_bloginfo('stylesheet_directory') . "/js/jquery.nivo.slider.js", false, $pp_theme_version);
|
||||||
$pp_gm_key = get_option('pp_gm_key');
|
wp_enqueue_script("jQuery_anything_slider", get_bloginfo('stylesheet_directory') . "/js/anythingSlider.js", false, $pp_theme_version);
|
||||||
|
wp_enqueue_script("jQuery_kwicks", get_bloginfo('stylesheet_directory') . "/js/jquery.kwicks.js", false, $pp_theme_version);
|
||||||
|
wp_enqueue_script("jQuery_cycle", get_bloginfo('stylesheet_directory') . "/js/jquery.cycle.all.js", false, $pp_theme_version);
|
||||||
|
|
||||||
if(!empty($pp_gm_key))
|
/**
|
||||||
{
|
* Check Google Maps key
|
||||||
wp_enqueue_script("jQuery_gmap", get_bloginfo( 'stylesheet_directory' )."/js/gmap.js", false, $pp_theme_version);
|
* */
|
||||||
}
|
$pp_gm_key = get_option('pp_gm_key');
|
||||||
|
|
||||||
wp_enqueue_script("jQuery_validate", get_bloginfo( 'stylesheet_directory' )."/js/jquery.validate.js", false, $pp_theme_version);
|
|
||||||
wp_enqueue_script("jQuery_cufon", get_bloginfo( 'stylesheet_directory' )."/js/cufon.js", false, $pp_theme_version);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Check selected font
|
|
||||||
**/
|
|
||||||
$pp_font = get_option('pp_font');
|
|
||||||
if(empty($pp_font))
|
|
||||||
{
|
|
||||||
$pp_font = 'FranklinGothicBook_400.font';
|
|
||||||
}
|
|
||||||
|
|
||||||
$pp_general_font = get_option('pp_general_font');
|
if (!empty($pp_gm_key)) {
|
||||||
if(empty($pp_general_font)) {
|
wp_enqueue_script("jQuery_gmap", get_bloginfo('stylesheet_directory') . "/js/gmap.js", false, $pp_theme_version);
|
||||||
$pp_general_font = 'FranklinGothicBook_400.font';
|
}
|
||||||
}
|
|
||||||
|
//wp_enqueue_script("jQuery_validate", get_bloginfo('stylesheet_directory') . "/js/jquery.validate.js", false, $pp_theme_version);
|
||||||
|
wp_enqueue_script("jQuery_cufon", get_bloginfo('stylesheet_directory') . "/js/cufon.js", false, $pp_theme_version);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check selected font
|
||||||
|
* */
|
||||||
|
$pp_font = get_option('pp_font');
|
||||||
|
if (empty($pp_font)) {
|
||||||
|
$pp_font = 'FranklinGothicBook_400.font';
|
||||||
|
}
|
||||||
|
|
||||||
|
$pp_general_font = get_option('pp_general_font');
|
||||||
|
if (empty($pp_general_font)) {
|
||||||
|
$pp_general_font = 'FranklinGothicBook_400.font';
|
||||||
|
}
|
||||||
|
|
||||||
$pp_menu_font = get_option('pp_menu_font');
|
$pp_menu_font = get_option('pp_menu_font');
|
||||||
if(empty($pp_menu_font)) {
|
if (empty($pp_menu_font)) {
|
||||||
$pp_menu_font = 'ChildsPlay-AgeEight_500.font';
|
$pp_menu_font = 'ChildsPlay-AgeEight_500.font';
|
||||||
}
|
}
|
||||||
|
|
||||||
wp_enqueue_script("cufon_font", get_bloginfo( 'stylesheet_directory' )."/fonts/".$pp_font.".js", false, $pp_theme_version);
|
wp_enqueue_script("cufon_font", get_bloginfo('stylesheet_directory') . "/fonts/" . $pp_font . ".js", false, $pp_theme_version);
|
||||||
if ($pp_general_font != $pp_font) {
|
if ($pp_general_font != $pp_font) {
|
||||||
wp_enqueue_script("cufon_general_font", get_bloginfo( 'stylesheet_directory' )."/fonts/".$pp_general_font.".js", false, $pp_theme_version);
|
wp_enqueue_script("cufon_general_font", get_bloginfo('stylesheet_directory') . "/fonts/" . $pp_general_font . ".js", false, $pp_theme_version);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($pp_menu_font != $pp_font) {
|
if ($pp_menu_font != $pp_font) {
|
||||||
wp_enqueue_script("cufon_menu_font", get_bloginfo( 'stylesheet_directory' )."/fonts/".$pp_menu_font.".js", false, $pp_theme_version);
|
wp_enqueue_script("cufon_menu_font", get_bloginfo('stylesheet_directory') . "/fonts/" . $pp_menu_font . ".js", false, $pp_theme_version);
|
||||||
}
|
}
|
||||||
|
|
||||||
wp_enqueue_script("browser_js", get_bloginfo( 'stylesheet_directory' )."/js/browser.js", false, $pp_theme_version);
|
|
||||||
wp_enqueue_script("video_js", get_bloginfo( 'stylesheet_directory' )."/js/video.js", false, $pp_theme_version);
|
|
||||||
wp_enqueue_script("custom_js", get_bloginfo( 'stylesheet_directory' )."/js/custom.js", false, $pp_theme_version);
|
|
||||||
?>
|
|
||||||
|
|
||||||
<?php
|
wp_enqueue_script("browser_js", get_bloginfo('stylesheet_directory') . "/js/browser.js", false, $pp_theme_version);
|
||||||
/* Always have wp_head() just before the closing </head>
|
wp_enqueue_script("video_js", get_bloginfo('stylesheet_directory') . "/js/video.min.js", false, $pp_theme_version);
|
||||||
* tag of your theme, or you will break many plugins, which
|
wp_enqueue_script("custom_js", get_bloginfo('stylesheet_directory') . "/js/custom.js", false, $pp_theme_version);
|
||||||
* generally use this hook to add elements to <head> such
|
?>
|
||||||
* as styles, scripts, and meta tags.
|
|
||||||
*/
|
|
||||||
wp_head();
|
|
||||||
?>
|
|
||||||
|
|
||||||
<!--[if lt IE 8]>
|
<?php
|
||||||
<link rel="stylesheet" href="<?php bloginfo( 'stylesheet_directory' ); ?>/css/ie7.css" type="text/css" media="all"/>
|
/* Always have wp_head() just before the closing </head>
|
||||||
<![endif]-->
|
* tag of your theme, or you will break many plugins, which
|
||||||
|
* generally use this hook to add elements to <head> such
|
||||||
|
* as styles, scripts, and meta tags.
|
||||||
|
*/
|
||||||
|
wp_head();
|
||||||
|
?>
|
||||||
|
|
||||||
<style type="text/css">
|
<!--[if lt IE 8]>
|
||||||
<?php
|
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/ie7.css" type="text/css" media="all"/>
|
||||||
$pp_p_size = get_option('pp_p_size');
|
<![endif]-->
|
||||||
|
|
||||||
if(!empty($pp_p_size))
|
<style type="text/css">
|
||||||
{
|
<?php
|
||||||
?>
|
$pp_p_size = get_option('pp_p_size');
|
||||||
body, p { font-size:<?php echo $pp_p_size; ?>px; }
|
|
||||||
<?php
|
if (!empty($pp_p_size)) {
|
||||||
}
|
?>
|
||||||
|
body, p { font-size:<?php echo $pp_p_size; ?>px; }
|
||||||
|
<?php
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$pp_h1_font_color = get_option('pp_h1_font_color');
|
$pp_h1_font_color = get_option('pp_h1_font_color');
|
||||||
|
|
||||||
if(!empty($pp_h1_font_color))
|
|
||||||
{
|
|
||||||
?>
|
|
||||||
h1,h2,h3,h4,h5,h6 { color:<?php echo $pp_h1_font_color; ?>; }
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
||||||
<?php
|
if (!empty($pp_h1_font_color)) {
|
||||||
$pp_header_textcolor = get_option('pp_header_textcolor');
|
?>
|
||||||
|
h1,h2,h3,h4,h5,h6 { color:<?php echo $pp_h1_font_color; ?>; }
|
||||||
if(!empty($pp_header_textcolor))
|
<?php
|
||||||
{
|
|
||||||
?>
|
|
||||||
.header_title h2 { color:<?php echo $pp_header_textcolor; ?>; }
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
||||||
<?php
|
|
||||||
$pp_h1_size = get_option('pp_h1_size');
|
|
||||||
|
|
||||||
if(!empty($pp_h1_size))
|
|
||||||
{
|
|
||||||
?>
|
|
||||||
h1 { font-size:<?php echo $pp_h1_size; ?>px; }
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
||||||
<?php
|
|
||||||
$pp_h2_size = get_option('pp_h2_size');
|
|
||||||
|
|
||||||
if(!empty($pp_h2_size))
|
|
||||||
{
|
|
||||||
?>
|
|
||||||
h2 { font-size:<?php echo $pp_h2_size; ?>px; }
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
||||||
<?php
|
|
||||||
$pp_h3_size = get_option('pp_h3_size');
|
|
||||||
|
|
||||||
if(!empty($pp_h3_size))
|
|
||||||
{
|
|
||||||
?>
|
|
||||||
h3 { font-size:<?php echo $pp_h3_size; ?>px; }
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
||||||
<?php
|
|
||||||
$pp_h4_size = get_option('pp_h4_size');
|
|
||||||
|
|
||||||
if(!empty($pp_h4_size))
|
|
||||||
{
|
|
||||||
?>
|
|
||||||
h4 { font-size:<?php echo $pp_h4_size; ?>px; }
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
||||||
<?php
|
|
||||||
$pp_h5_size = get_option('pp_h5_size');
|
|
||||||
|
|
||||||
if(!empty($pp_h5_size))
|
|
||||||
{
|
|
||||||
?>
|
|
||||||
h5 { font-size:<?php echo $pp_h5_size; ?>px; }
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
||||||
<?php
|
|
||||||
$pp_h6_size = get_option('pp_h6_size');
|
|
||||||
|
|
||||||
if(!empty($pp_h6_size))
|
|
||||||
{
|
|
||||||
?>
|
|
||||||
h6 { font-size:<?php echo $pp_h6_size; ?>px; }
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
<?php
|
|
||||||
$pp_font_color = get_option('pp_font_color');
|
|
||||||
|
|
||||||
if(!empty($pp_font_color))
|
|
||||||
{
|
|
||||||
?>
|
|
||||||
body, .styled_box_content, blockquote h2, label, #searchform label,
|
|
||||||
body.home #footer, body.home #footer ul, body.home #footer h2 { color:<?php echo $pp_font_color; ?>; }
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
||||||
<?php
|
|
||||||
$pp_link_color = get_option('pp_link_color');
|
|
||||||
|
|
||||||
if(!empty($pp_link_color))
|
|
||||||
{
|
|
||||||
?>
|
|
||||||
a, .post_header a, .post_header h3 a, #content_wrapper .sidebar a, #content_wrapper .posts li a , .one_third .blog_grid_desc a,
|
|
||||||
body.home #footer a { color:<?php echo $pp_link_color; ?>; }
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
||||||
<?php
|
|
||||||
$pp_hover_link_color = get_option('pp_hover_link_color');
|
|
||||||
|
|
||||||
if(!empty($pp_hover_link_color))
|
|
||||||
{
|
|
||||||
?>
|
|
||||||
a:hover, a:active, .post_header a:hover, .post_header h3 a:hover, #content_wrapper .sidebar a:hover, #content_wrapper .posts li a:hover, .one_third .blog_grid_desc a:hover,
|
|
||||||
body.home #footer a:active, body.home #footer a:hover { color:<?php echo $pp_hover_link_color; ?>; }
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
||||||
<?php
|
|
||||||
$pp_button_bg_color = get_option('pp_button_bg_color');
|
|
||||||
|
|
||||||
if(!empty($pp_button_bg_color))
|
|
||||||
{
|
|
||||||
$pp_button_bg_color_light = '#'.hex_lighter(substr($pp_button_bg_color, 1), 20);
|
|
||||||
?>
|
|
||||||
input[type=submit], input[type=button], a.button {
|
|
||||||
background: <?php echo $pp_button_bg_color; ?>;
|
|
||||||
background: -webkit-gradient(linear, left top, left bottom, from(<?php echo $pp_button_bg_color_light; ?>), to(<?php echo $pp_button_bg_color; ?>));
|
|
||||||
background: -moz-linear-gradient(top, <?php echo $pp_button_bg_color_light; ?>, <?php echo $pp_button_bg_color; ?>);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='<?php echo $pp_button_bg_color_light; ?>', endColorstr='<?php echo $pp_button_bg_color; ?>');
|
|
||||||
}
|
}
|
||||||
input[type=submit]:active, input[type=button]:active, a.button:active
|
?>
|
||||||
{
|
|
||||||
background: <?php echo $pp_button_bg_color; ?>;
|
<?php
|
||||||
background: -webkit-gradient(linear, left top, left bottom, from(<?php echo $pp_button_bg_color; ?>), to(<?php echo $pp_button_bg_color_light; ?>));
|
$pp_header_textcolor = get_option('pp_header_textcolor');
|
||||||
background: -moz-linear-gradient(top, <?php echo $pp_button_bg_color; ?>, <?php echo $pp_button_bg_color_light; ?>);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='<?php echo $pp_button_bg_color_light; ?>', endColorstr='<?php echo $pp_button_bg_color; ?>');
|
if (!empty($pp_header_textcolor)) {
|
||||||
|
?>
|
||||||
|
.header_title h2 { color:<?php echo $pp_header_textcolor; ?>; }
|
||||||
|
<?php
|
||||||
}
|
}
|
||||||
<?php
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$pp_caption_header_color = get_option('pp_caption_header_color');
|
$pp_h1_size = get_option('pp_h1_size');
|
||||||
|
|
||||||
if(!empty($pp_caption_header_color))
|
if (!empty($pp_h1_size)) {
|
||||||
{
|
?>
|
||||||
?>
|
h1 { font-size:<?php echo $pp_h1_size; ?>px; }
|
||||||
.page_caption h1
|
<?php
|
||||||
{
|
|
||||||
color: <?php echo $pp_caption_header_color; ?>;
|
|
||||||
}
|
}
|
||||||
<?php
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$pp_caption_font_color = get_option('pp_caption_font_color');
|
$pp_h2_size = get_option('pp_h2_size');
|
||||||
|
|
||||||
if(!empty($pp_caption_font_color))
|
if (!empty($pp_h2_size)) {
|
||||||
{
|
?>
|
||||||
?>
|
h2 { font-size:<?php echo $pp_h2_size; ?>px; }
|
||||||
.caption_desc
|
<?php
|
||||||
{
|
|
||||||
color: <?php echo $pp_caption_font_color; ?>;
|
|
||||||
}
|
}
|
||||||
<?php
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$pp_button_font_color = get_option('pp_button_font_color');
|
$pp_h3_size = get_option('pp_h3_size');
|
||||||
|
|
||||||
if(!empty($pp_button_font_color))
|
if (!empty($pp_h3_size)) {
|
||||||
{
|
?>
|
||||||
?>
|
h3 { font-size:<?php echo $pp_h3_size; ?>px; }
|
||||||
input[type=submit], input[type=button], a.button {
|
<?php
|
||||||
color: <?php echo $pp_button_font_color; ?>;
|
|
||||||
}
|
}
|
||||||
input[type=submit]:hover, input[type=button]:hover, a.button:hover
|
?>
|
||||||
{
|
|
||||||
color: <?php echo $pp_button_font_color; ?>;
|
<?php
|
||||||
|
$pp_h4_size = get_option('pp_h4_size');
|
||||||
|
|
||||||
|
if (!empty($pp_h4_size)) {
|
||||||
|
?>
|
||||||
|
h4 { font-size:<?php echo $pp_h4_size; ?>px; }
|
||||||
|
<?php
|
||||||
}
|
}
|
||||||
<?php
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$pp_button_border_color = get_option('pp_button_border_color');
|
$pp_h5_size = get_option('pp_h5_size');
|
||||||
|
|
||||||
if(!empty($pp_button_border_color))
|
if (!empty($pp_h5_size)) {
|
||||||
{
|
?>
|
||||||
?>
|
h5 { font-size:<?php echo $pp_h5_size; ?>px; }
|
||||||
input[type=submit], input[type=button], a.button {
|
<?php
|
||||||
border: 1px solid <?php echo $pp_button_border_color; ?>;
|
|
||||||
}
|
}
|
||||||
<?php
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$pp_footer_font_color = get_option('pp_footer_font_color');
|
$pp_h6_size = get_option('pp_h6_size');
|
||||||
|
|
||||||
if(!empty($pp_footer_font_color))
|
|
||||||
{
|
|
||||||
?>
|
|
||||||
#footer, #footer ul, #footer h2, body.home div.content_bg, body.home div.content_bg ul { color:<?php echo $pp_footer_font_color; ?>; }
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
||||||
<?php
|
if (!empty($pp_h6_size)) {
|
||||||
$pp_footer_link_color = get_option('pp_footer_link_color');
|
?>
|
||||||
|
h6 { font-size:<?php echo $pp_h6_size; ?>px; }
|
||||||
if(!empty($pp_footer_link_color))
|
<?php
|
||||||
{
|
|
||||||
?>
|
|
||||||
#footer a,
|
|
||||||
body.home div.content_bg a { color:<?php echo $pp_footer_link_color; ?>; }
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
||||||
<?php
|
|
||||||
$pp_footer_hover_link_color = get_option('pp_footer_hover_link_color');
|
|
||||||
|
|
||||||
if(!empty($pp_footer_hover_link_color))
|
|
||||||
{
|
|
||||||
?>
|
|
||||||
#footer a:hover, #footer a:active,
|
|
||||||
body.home div.content_bg a:hover, body.home div.content_bg a:active { color:<?php echo $pp_footer_hover_link_color; ?>; }
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
||||||
<?php
|
|
||||||
$pp_slider_opacity = get_option('pp_slider_opacity');
|
|
||||||
if(empty($pp_slider_opacity))
|
|
||||||
{
|
|
||||||
$pp_slider_opacity = 40;
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
|
|
||||||
img.fade {
|
|
||||||
opacity: <?php echo $pp_slider_opacity/100; ?>;
|
|
||||||
filter:alpha(opacity=<?php echo $pp_slider_opacity; ?>);
|
|
||||||
}
|
}
|
||||||
</style>
|
|
||||||
|
|
||||||
|
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Get custom CSS
|
|
||||||
**/
|
|
||||||
$pp_custom_css = get_option('pp_custom_css');
|
|
||||||
|
|
||||||
|
|
||||||
if(!empty($pp_custom_css))
|
|
||||||
{
|
|
||||||
echo '<style>';
|
|
||||||
echo $pp_custom_css;
|
|
||||||
echo '</style>';
|
|
||||||
}
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
$pp_font_color = get_option('pp_font_color');
|
||||||
|
|
||||||
|
if (!empty($pp_font_color)) {
|
||||||
|
?>
|
||||||
|
body, .styled_box_content, blockquote h2, label, #searchform label,
|
||||||
|
body.home #footer, body.home #footer ul, body.home #footer h2, .tubepress_container { color:<?php echo $pp_font_color; ?>; }
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
$pp_link_color = get_option('pp_link_color');
|
||||||
|
|
||||||
|
if (!empty($pp_link_color)) {
|
||||||
|
?>
|
||||||
|
a, .post_header a, .post_header h3 a, #content_wrapper .sidebar a, #content_wrapper .posts li a , .one_third .blog_grid_desc a,
|
||||||
|
body.home #footer a { color:<?php echo $pp_link_color; ?>; }
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
$pp_hover_link_color = get_option('pp_hover_link_color');
|
||||||
|
|
||||||
|
if (!empty($pp_hover_link_color)) {
|
||||||
|
?>
|
||||||
|
a:hover, a:active, .post_header a:hover, .post_header h3 a:hover, #content_wrapper .sidebar a:hover, #content_wrapper .posts li a:hover, .one_third .blog_grid_desc a:hover,
|
||||||
|
body.home #footer a:active, body.home #footer a:hover { color:<?php echo $pp_hover_link_color; ?>; }
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
$pp_button_bg_color = get_option('pp_button_bg_color');
|
||||||
|
|
||||||
|
if (!empty($pp_button_bg_color)) {
|
||||||
|
$pp_button_bg_color_light = '#' . hex_lighter(substr($pp_button_bg_color, 1), 20);
|
||||||
|
?>
|
||||||
|
input[type=submit], input[type=button], a.button {
|
||||||
|
background: <?php echo $pp_button_bg_color; ?>;
|
||||||
|
background: -webkit-gradient(linear, left top, left bottom, from(<?php echo $pp_button_bg_color_light; ?>), to(<?php echo $pp_button_bg_color; ?>));
|
||||||
|
background: -moz-linear-gradient(top, <?php echo $pp_button_bg_color_light; ?>, <?php echo $pp_button_bg_color; ?>);
|
||||||
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='<?php echo $pp_button_bg_color_light; ?>', endColorstr='<?php echo $pp_button_bg_color; ?>');
|
||||||
|
}
|
||||||
|
input[type=submit]:active, input[type=button]:active, a.button:active
|
||||||
|
{
|
||||||
|
background: <?php echo $pp_button_bg_color; ?>;
|
||||||
|
background: -webkit-gradient(linear, left top, left bottom, from(<?php echo $pp_button_bg_color; ?>), to(<?php echo $pp_button_bg_color_light; ?>));
|
||||||
|
background: -moz-linear-gradient(top, <?php echo $pp_button_bg_color; ?>, <?php echo $pp_button_bg_color_light; ?>);
|
||||||
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='<?php echo $pp_button_bg_color_light; ?>', endColorstr='<?php echo $pp_button_bg_color; ?>');
|
||||||
|
}
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
$pp_caption_header_color = get_option('pp_caption_header_color');
|
||||||
|
|
||||||
|
if (!empty($pp_caption_header_color)) {
|
||||||
|
?>
|
||||||
|
.page_caption h1
|
||||||
|
{
|
||||||
|
color: <?php echo $pp_caption_header_color; ?>;
|
||||||
|
}
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
$pp_caption_font_color = get_option('pp_caption_font_color');
|
||||||
|
|
||||||
|
if (!empty($pp_caption_font_color)) {
|
||||||
|
?>
|
||||||
|
.caption_desc
|
||||||
|
{
|
||||||
|
color: <?php echo $pp_caption_font_color; ?>;
|
||||||
|
}
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
$pp_button_font_color = get_option('pp_button_font_color');
|
||||||
|
|
||||||
|
if (!empty($pp_button_font_color)) {
|
||||||
|
?>
|
||||||
|
input[type=submit], input[type=button], a.button {
|
||||||
|
color: <?php echo $pp_button_font_color; ?>;
|
||||||
|
}
|
||||||
|
input[type=submit]:hover, input[type=button]:hover, a.button:hover
|
||||||
|
{
|
||||||
|
color: <?php echo $pp_button_font_color; ?>;
|
||||||
|
}
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
$pp_button_border_color = get_option('pp_button_border_color');
|
||||||
|
|
||||||
|
if (!empty($pp_button_border_color)) {
|
||||||
|
?>
|
||||||
|
input[type=submit], input[type=button], a.button {
|
||||||
|
border: 1px solid <?php echo $pp_button_border_color; ?>;
|
||||||
|
}
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
$pp_footer_font_color = get_option('pp_footer_font_color');
|
||||||
|
|
||||||
|
if (!empty($pp_footer_font_color)) {
|
||||||
|
?>
|
||||||
|
#footer, #footer ul, #footer h2, body.home div.content_bg, body.home div.content_bg ul { color:<?php echo $pp_footer_font_color; ?>; }
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
$pp_footer_link_color = get_option('pp_footer_link_color');
|
||||||
|
|
||||||
|
if (!empty($pp_footer_link_color)) {
|
||||||
|
?>
|
||||||
|
#footer a { color:<?php echo $pp_footer_link_color; ?>; }
|
||||||
|
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
$pp_footer_hover_link_color = get_option('pp_footer_hover_link_color');
|
||||||
|
|
||||||
|
if (!empty($pp_footer_hover_link_color)) {
|
||||||
|
?>
|
||||||
|
#footer a:hover, #footer a:active { color:<?php echo $pp_footer_hover_link_color; ?>; }
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
$pp_slider_opacity = get_option('pp_slider_opacity');
|
||||||
|
if (empty($pp_slider_opacity)) {
|
||||||
|
$pp_slider_opacity = 40;
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
img.fade {
|
||||||
|
opacity: <?php echo $pp_slider_opacity / 100; ?>;
|
||||||
|
filter:alpha(opacity=<?php echo $pp_slider_opacity; ?>);
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
|
||||||
|
<?php
|
||||||
/**
|
/**
|
||||||
* Get Current page object
|
* Get custom CSS
|
||||||
**/
|
* */
|
||||||
|
$pp_custom_css = get_option('pp_custom_css');
|
||||||
|
|
||||||
|
|
||||||
|
if (!empty($pp_custom_css)) {
|
||||||
|
echo '<style>';
|
||||||
|
echo $pp_custom_css;
|
||||||
|
echo '</style>';
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
<script type="application/javascript">var _prum={id:"51682a2fabe53d0640000000"};var PRUM_EPISODES=PRUM_EPISODES||{};PRUM_EPISODES.q=[];PRUM_EPISODES.mark=function(b,a){PRUM_EPISODES.q.push(["mark",b,a||new Date().getTime()])};PRUM_EPISODES.measure=function(b,a,b){PRUM_EPISODES.q.push(["measure",b,a,b||new Date().getTime()])};PRUM_EPISODES.done=function(a){PRUM_EPISODES.q.push(["done",a])};PRUM_EPISODES.mark("firstbyte");(function(){var b=document.getElementsByTagName("script")[0];var a=document.createElement("script");a.type="text/javascript";a.async=true;a.charset="UTF-8";a.src="//rum-static.pingdom.net/prum.min.js";b.parentNode.insertBefore(a,b)})();</script>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Get Current page object
|
||||||
|
* */
|
||||||
$page = get_page($post->ID);
|
$page = get_page($post->ID);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get current page id
|
* Get current page id
|
||||||
**/
|
* */
|
||||||
$current_page_id = '';
|
$current_page_id = '';
|
||||||
|
|
||||||
if(isset($page->ID))
|
if (isset($page->ID)) {
|
||||||
{
|
|
||||||
$current_page_id = $page->ID;
|
$current_page_id = $page->ID;
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<body <?php body_class(); ?>>
|
<body <?php body_class(); ?>>
|
||||||
|
|
||||||
<!-- Begin template wrapper -->
|
|
||||||
<div id="wrapper">
|
|
||||||
|
|
||||||
<!-- Begin header -->
|
|
||||||
<div id="header_wrapper">
|
|
||||||
<div id="top_bar">
|
|
||||||
<div class="logo">
|
|
||||||
<!-- Begin logo -->
|
|
||||||
|
|
||||||
<?php
|
|
||||||
//get custom logo
|
|
||||||
$pp_logo = get_option('pp_logo');
|
|
||||||
|
|
||||||
if(empty($pp_logo))
|
|
||||||
{
|
|
||||||
$pp_logo = get_bloginfo( 'stylesheet_directory' ).'/images/logo.png';
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
<!-- Begin template wrapper -->
|
||||||
|
<div id="wrapper">
|
||||||
<a id="custom_logo" href="<?php bloginfo( 'url' ); ?>"><img src="<?php echo $pp_logo?>" alt=""/></a>
|
|
||||||
|
<!-- Begin header -->
|
||||||
<!-- End logo -->
|
<div id="header_wrapper">
|
||||||
</div>
|
<div id="top_bar">
|
||||||
|
<div class="logo">
|
||||||
<!-- Begin main nav -->
|
<!-- Begin logo -->
|
||||||
<div id="menu_wrapper">
|
|
||||||
<div class="left_menu_wrapper"></div>
|
<?php
|
||||||
|
//get custom logo
|
||||||
<?php
|
$pp_logo = get_option('pp_logo');
|
||||||
//Get page nav
|
|
||||||
wp_nav_menu(
|
if (empty($pp_logo)) {
|
||||||
array(
|
$pp_logo = get_bloginfo('stylesheet_directory') . '/images/logo.png';
|
||||||
'menu_id' => 'main_menu',
|
}
|
||||||
'menu_class' => 'nav',
|
?>
|
||||||
'theme_location' => 'primary-menu',
|
|
||||||
)
|
<a id="custom_logo" href="<?php bloginfo('url'); ?>"><img src="<?php echo $pp_logo ?>" alt=""/></a>
|
||||||
);
|
|
||||||
?>
|
<!-- End logo -->
|
||||||
|
</div>
|
||||||
<div class="right_menu_wrapper"></div>
|
|
||||||
</div>
|
<div id="topbar_wrapper">
|
||||||
<!-- End main nav -->
|
<div id="topbar_contact">
|
||||||
</div>
|
<h1><a href="<?php echo get_page_link(49); ?>"><?php _e('[:es]Contacto[:en]Contact'); ?></a></h1>
|
||||||
</div>
|
</div>
|
||||||
|
<div id="topbar_search">
|
||||||
<?php
|
<?php get_search_form(); ?>
|
||||||
$pp_gallery_slider_speed = get_option('pp_gallery_slider_speed');
|
</div>
|
||||||
|
<div id="topbar_qtranslate">
|
||||||
if(empty($pp_gallery_slider_speed))
|
<?php echo qtrans_generateLanguageSelectCode('image'); ?>
|
||||||
{
|
</div>
|
||||||
$pp_gallery_slider_speed = 5;
|
</div>
|
||||||
}
|
|
||||||
?>
|
|
||||||
|
<!-- Begin main nav -->
|
||||||
<input type="hidden" id="slider_speed" name="slider_speed" value="<?php echo $pp_gallery_slider_speed; ?>"/>
|
<div id="menu_wrapper">
|
||||||
|
<div class="left_menu_wrapper"></div>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
//Get page nav
|
||||||
|
wp_nav_menu(
|
||||||
|
array(
|
||||||
|
'menu_id' => 'main_menu',
|
||||||
|
'menu_class' => 'nav',
|
||||||
|
'theme_location' => 'primary-menu',
|
||||||
|
)
|
||||||
|
);
|
||||||
|
?>
|
||||||
|
|
||||||
|
<div class="right_menu_wrapper"></div>
|
||||||
|
</div>
|
||||||
|
<!-- End main nav -->
|
||||||
|
<div class="clear"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
$pp_gallery_slider_speed = get_option('pp_gallery_slider_speed');
|
||||||
|
|
||||||
|
if (empty($pp_gallery_slider_speed)) {
|
||||||
|
$pp_gallery_slider_speed = 5;
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
<input type="hidden" id="slider_speed" name="slider_speed" value="<?php echo $pp_gallery_slider_speed; ?>"/>
|
||||||
BIN
src/wp-content/themes/lqdvi/images/24x24-facebook.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
src/wp-content/themes/lqdvi/images/24x24-twitter.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
src/wp-content/themes/lqdvi/images/24x24-youtube.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
src/wp-content/themes/lqdvi/images/32x32-facebook.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
src/wp-content/themes/lqdvi/images/32x32-twitter.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
src/wp-content/themes/lqdvi/images/32x32-youtube.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
src/wp-content/themes/lqdvi/images/bocadillo.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
src/wp-content/themes/lqdvi/images/btn.png
Normal file
|
After Width: | Height: | Size: 515 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/AD.png
Normal file
|
After Width: | Height: | Size: 403 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/AE.png
Normal file
|
After Width: | Height: | Size: 116 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/AF.png
Normal file
|
After Width: | Height: | Size: 350 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/AG.png
Normal file
|
After Width: | Height: | Size: 455 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/AI.png
Normal file
|
After Width: | Height: | Size: 545 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/AL.png
Normal file
|
After Width: | Height: | Size: 467 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/AM.png
Normal file
|
After Width: | Height: | Size: 113 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/AN.png
Normal file
|
After Width: | Height: | Size: 156 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/AO.png
Normal file
|
After Width: | Height: | Size: 433 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/AQ.png
Normal file
|
After Width: | Height: | Size: 544 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/AR.png
Normal file
|
After Width: | Height: | Size: 231 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/AS.png
Normal file
|
After Width: | Height: | Size: 633 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/AT.png
Normal file
|
After Width: | Height: | Size: 111 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/AU.png
Normal file
|
After Width: | Height: | Size: 404 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/AW.png
Normal file
|
After Width: | Height: | Size: 237 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/AX.png
Normal file
|
After Width: | Height: | Size: 137 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/AZ.png
Normal file
|
After Width: | Height: | Size: 294 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/BA.png
Normal file
|
After Width: | Height: | Size: 301 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/BB.png
Normal file
|
After Width: | Height: | Size: 203 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/BD.png
Normal file
|
After Width: | Height: | Size: 247 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/BE.png
Normal file
|
After Width: | Height: | Size: 112 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/BF.png
Normal file
|
After Width: | Height: | Size: 175 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/BG.png
Normal file
|
After Width: | Height: | Size: 113 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/BH.png
Normal file
|
After Width: | Height: | Size: 190 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/BI.png
Normal file
|
After Width: | Height: | Size: 598 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/BJ.png
Normal file
|
After Width: | Height: | Size: 114 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/BL.png
Normal file
|
After Width: | Height: | Size: 981 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/BM.png
Normal file
|
After Width: | Height: | Size: 537 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/BN.png
Normal file
|
After Width: | Height: | Size: 811 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/BO.png
Normal file
|
After Width: | Height: | Size: 283 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/BR.png
Normal file
|
After Width: | Height: | Size: 797 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/BS.png
Normal file
|
After Width: | Height: | Size: 241 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/BT.png
Normal file
|
After Width: | Height: | Size: 765 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/BW.png
Normal file
|
After Width: | Height: | Size: 118 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/BY.png
Normal file
|
After Width: | Height: | Size: 224 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/BZ.png
Normal file
|
After Width: | Height: | Size: 603 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/CA.png
Normal file
|
After Width: | Height: | Size: 220 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/CC.png
Normal file
|
After Width: | Height: | Size: 348 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/CD.png
Normal file
|
After Width: | Height: | Size: 297 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/CF.png
Normal file
|
After Width: | Height: | Size: 190 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/CG.png
Normal file
|
After Width: | Height: | Size: 182 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/CH.png
Normal file
|
After Width: | Height: | Size: 111 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/CI.png
Normal file
|
After Width: | Height: | Size: 110 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/CK.png
Normal file
|
After Width: | Height: | Size: 530 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/CL.png
Normal file
|
After Width: | Height: | Size: 174 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/CM.png
Normal file
|
After Width: | Height: | Size: 169 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/CN.png
Normal file
|
After Width: | Height: | Size: 350 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/CO.png
Normal file
|
After Width: | Height: | Size: 117 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/CR.png
Normal file
|
After Width: | Height: | Size: 118 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/CU.png
Normal file
|
After Width: | Height: | Size: 271 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/CV.png
Normal file
|
After Width: | Height: | Size: 179 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/CX.png
Normal file
|
After Width: | Height: | Size: 556 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/CY.png
Normal file
|
After Width: | Height: | Size: 451 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/CZ.png
Normal file
|
After Width: | Height: | Size: 281 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/DE.png
Normal file
|
After Width: | Height: | Size: 111 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/DJ.png
Normal file
|
After Width: | Height: | Size: 241 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/DK.png
Normal file
|
After Width: | Height: | Size: 114 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/DM.png
Normal file
|
After Width: | Height: | Size: 620 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/DO.png
Normal file
|
After Width: | Height: | Size: 195 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/DZ.png
Normal file
|
After Width: | Height: | Size: 353 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/EC.png
Normal file
|
After Width: | Height: | Size: 392 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/EE.png
Normal file
|
After Width: | Height: | Size: 112 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/EG.png
Normal file
|
After Width: | Height: | Size: 238 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/EH.png
Normal file
|
After Width: | Height: | Size: 293 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/ER.png
Normal file
|
After Width: | Height: | Size: 638 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/ES.png
Normal file
|
After Width: | Height: | Size: 312 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/ET.png
Normal file
|
After Width: | Height: | Size: 586 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/EU.png
Normal file
|
After Width: | Height: | Size: 451 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/FI.png
Normal file
|
After Width: | Height: | Size: 111 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/FJ.png
Normal file
|
After Width: | Height: | Size: 668 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/FK.png
Normal file
|
After Width: | Height: | Size: 589 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/FM.png
Normal file
|
After Width: | Height: | Size: 214 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/FO.png
Normal file
|
After Width: | Height: | Size: 130 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/FR.png
Normal file
|
After Width: | Height: | Size: 110 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/GA.png
Normal file
|
After Width: | Height: | Size: 118 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/GB.png
Normal file
|
After Width: | Height: | Size: 626 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/GD.png
Normal file
|
After Width: | Height: | Size: 372 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/GE.png
Normal file
|
After Width: | Height: | Size: 137 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/GG.png
Normal file
|
After Width: | Height: | Size: 161 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/GH.png
Normal file
|
After Width: | Height: | Size: 171 B |
BIN
src/wp-content/themes/lqdvi/images/flags-iso/flat/24/GI.png
Normal file
|
After Width: | Height: | Size: 433 B |