aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2018-02-23 11:45:29 -0500
committerJesús <heckyel@hyperbola.info>2018-02-23 11:45:29 -0500
commitd9968661ed9ca74a1687ff213620223fa72de181 (patch)
tree6b6dd00986ec5b77adb7a79768bb3b272633679f
parent95fb44c6e45b58f3c6a0321e7228bcfab3bad1de (diff)
downloadlidra-theme-d9968661ed9ca74a1687ff213620223fa72de181.tar.lz
lidra-theme-d9968661ed9ca74a1687ff213620223fa72de181.tar.xz
lidra-theme-d9968661ed9ca74a1687ff213620223fa72de181.zip
clean spaces in sintaxis
-rw-r--r--comments.php5
-rw-r--r--content-page.php9
-rw-r--r--content-search.php3
-rw-r--r--content-single.php9
-rw-r--r--content.php4
5 files changed, 12 insertions, 18 deletions
diff --git a/comments.php b/comments.php
index c1d7183..fdf571a 100644
--- a/comments.php
+++ b/comments.php
@@ -7,10 +7,6 @@ printf(
wp_list_comments();
printf('</ul>');
- // printf('<div>');
- // comment_form();
- // printf('</div>');
-
$comments_args = array(
// change the title of send button
// 'label_submit'=>'Send',
@@ -22,6 +18,7 @@ printf(
'comment_field' => '<p class="comment-form-comment"><label for="comment">' . _x( 'Comment', 'noun' ) . '</label><textarea id="comment" name="comment"></textarea></p>',
);
comment_form($comments_args);
+
printf('</div>
</section>'
);
diff --git a/content-page.php b/content-page.php
index 839f4e7..0b3265d 100644
--- a/content-page.php
+++ b/content-page.php
@@ -1,5 +1,5 @@
<?php
-printf ( '<div class="main col-md-8">
+ printf('<div class="main col-md-8">
<div class="row posts">');
//Lógica de the_loop
//Si (hay entradas)
@@ -10,7 +10,6 @@ printf ( '<div class="main col-md-8">
if( have_posts() ):
while( have_posts() ):
the_post();
- //echo '';
$template_html = '
<div class="col-sm-12 post">
<div class="contenedor">
@@ -36,9 +35,9 @@ printf ( '<div class="main col-md-8">
//get_the_content()
//the_category()
);
- printf(' <div class="texto">');
+ printf('<div class="texto">');
the_content();
- printf(' </div>
+ printf('</div>
</article>
</div>
</div>'
@@ -48,5 +47,5 @@ printf ( '<div class="main col-md-8">
printf( '<p>' . __('No pages', 'Lidra') . '</p>' );
endif;
rewind_posts();
-printf(' </div>
+ printf('</div>
</div>');
diff --git a/content-search.php b/content-search.php
index 0888373..22b8d1c 100644
--- a/content-search.php
+++ b/content-search.php
@@ -1,5 +1,5 @@
<?php
-printf ('
+ printf('
<section class="main col-md-8">
<div class="row titulo-seccion">
<div class="col-md-12">
@@ -18,7 +18,6 @@ printf ('
if( have_posts() ):
while( have_posts() ):
the_post();
- //echo '';
$template_html = '
<div class="col-sm-6 post">
<div class="contenedor">
diff --git a/content-single.php b/content-single.php
index 77794cf..14a5723 100644
--- a/content-single.php
+++ b/content-single.php
@@ -1,5 +1,5 @@
<?php
-printf ('
+ printf('
<div class="main col-md-8">
<div class="row single-post">
');
@@ -12,7 +12,6 @@ printf ('
if( have_posts() ):
while( have_posts() ):
the_post();
- //echo '';
$template_html = '
<div class="col-sm-12 post">
<div class="contenedor">
@@ -38,9 +37,9 @@ printf ('
//get_the_content()
//the_category()
);
- printf(' <div class="texto">');
+ printf('<div class="texto">');
the_content();
- printf(' </div>
+ printf('</div>
</article>
</div>
</div>'
@@ -51,5 +50,5 @@ printf ('
printf( '<p>' . __('No post', 'Lidra') . '</p>' );
endif;
rewind_posts();
-printf(' </div>
+ printf('</div>
</div>');
diff --git a/content.php b/content.php
index 9dafbe6..4cb5950 100644
--- a/content.php
+++ b/content.php
@@ -56,13 +56,13 @@
printf( '<p>' . __('No post', 'Lidra') . '</p>' );
endif;
rewind_posts();
- printf ('
+ printf('
</div>
<div class="row paginacion">
<div class="col-md-12">
<div class="pagination">');
if (function_exists('wp_pagenavi')) { wp_pagenavi(); } //wp_pagenavi();
- printf (' </div>
+ printf('</div>
</div>
</div>
</section>