Skip to content

Commit

Permalink
M 404.php
Browse files Browse the repository at this point in the history
M  README.md
M  archive.php
M  comments.php
M  footer.php
M  functions.php
M  inc/customizer.php
M  inc/inline-styles.php
M  inc/sanitize.php
M  inc/template-comments.php
M  inc/template-functions.php
M  inc/template-tags.php
M  inc/template-widgets.php
M  index.php
M  languages/doo.pot
M  page.php
A  readme.txt
M  search.php
M  searchform.php
M  sidebar.php
M  single.php
M  template-parts/blog-posts.php
M  template-parts/content-audio.php
M  template-parts/content-gallery.php
M  template-parts/content-none.php
M  template-parts/content-standard.php
M  template-parts/content-video.php
M  template-parts/content.php
  • Loading branch information
andersonicoutos committed Oct 29, 2018
1 parent 9ced5b0 commit f81e849
Show file tree
Hide file tree
Showing 28 changed files with 303 additions and 247 deletions.
4 changes: 2 additions & 2 deletions 404.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* The template for displaying 404 pages (not found)
*
* @package doo
* @package blogbasico
*/

get_header(); ?>
Expand All @@ -13,7 +13,7 @@

<section class="error-404 not-found">
<header class="page-header">
<h1 class="page-title"><?php esc_html_e( 'Oops! That page can&rsquo;t be found.', 'doo' ); ?></h1>
<h1 class="page-title"><?php esc_html_e( 'Oops! That page can&rsquo;t be found.', 'blogbasico' ); ?></h1>
</header><!-- .page-header -->
</section><!-- .error-404 -->

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@
Sob Domínio Púbico nos EUA (https://www.wikiart.org/en/giorgio-de-chirico/the-red-tower-1913)

- Tema Doo
Por themevs 1018
Sob licença MIT (https://br.wordpress.org/themes/doo/)
Por themevs 1018 (https://br.wordpress.org/themes/doo/)
Sob licença MIT (https://br.wordpress.org/themes/blogbasico/)
2 changes: 1 addition & 1 deletion archive.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* The template for displaying archive pages
*
* @package doo
* @package blogbasico
*/

// header
Expand Down
12 changes: 6 additions & 6 deletions comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* The template for displaying comments
*
* @package doo
* @package blogbasico
*/

/*
Expand All @@ -26,13 +26,13 @@
if ( 1 === $comment_count ) {
printf(
/* translators: 1: title. */
esc_html_e( 'One thought on &ldquo;%1$s&rdquo;', 'doo' ),
esc_html_e( 'One thought on &ldquo;%1$s&rdquo;', 'blogbasico' ),
'<span>' . get_the_title() . '</span>'
);
} else {
printf( // WPCS: XSS OK.
/* translators: 1: comment count number, 2: title. */
esc_html( _nx( '%1$s thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', $comment_count, 'comments title', 'doo' ) ),
esc_html( _nx( '%1$s thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', $comment_count, 'comments title', 'blogbasico' ) ),
number_format_i18n( $comment_count ),
'<span>' . get_the_title() . '</span>'
);
Expand All @@ -43,16 +43,16 @@
<ol class="comment-list">
<?php
wp_list_comments( array(
'callback'=>'doo_list_comments'
'callback'=>'blogbasico_list_comments'
) );
?>
</ol><!-- .comment-list -->

<?php doo_comments_navigation();
<?php blogbasico_comments_navigation();

// If comments are closed and there are comments, let's leave a little note, shall we?
if ( ! comments_open() ) : ?>
<p class="no-comments"><?php esc_html_e( 'Comments are closed.', 'doo' ); ?></p>
<p class="no-comments"><?php esc_html_e( 'Comments are closed.', 'blogbasico' ); ?></p>
<?php
endif;

Expand Down
12 changes: 6 additions & 6 deletions footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* The template for displaying the footer
*
* @package doo
* @package blogbasico
*/
?>

Expand Down Expand Up @@ -50,20 +50,20 @@
?>

<div class="site-info-copyright <?php if (($show_social && !$social_url_empty) || ($show_menu && has_nav_menu('menu-2'))){?>have-site-info-nav<?php }?>">
<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'doo' ) ); ?>"><?php
printf( esc_html__( 'Proudly powered by %s', 'doo' ), 'WordPress' );
<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'blogbasico' ) ); ?>"><?php
printf( esc_html__( 'Proudly powered by %s', 'blogbasico' ), 'WordPress' );
?></a>
<span class="sep"> | </span>
<?php
printf( esc_html__( 'Theme: %1$s by %2$s.', 'doo' ), 'Doo', '<a href="http://themevs.com/">ThemeVS</a>' );
printf( esc_html__( 'Theme: %1$s by %2$s.', 'blogbasico' ), 'blogbasico', '<a href="http://themevs.com/">Anderson Ismael</a>' );
?>
</div>
</div><!-- .site-info -->
</footer><!-- #colophon -->

<?php
$show_back_to_top = get_theme_mod('general_show_totop_btn', 1);
if ($show_back_to_top) {
if ($show_back_to_top) {
?>
<div id="back_top"><i class="fa fa-angle-up"></i></div>
<?php
Expand All @@ -75,4 +75,4 @@
<?php wp_footer(); ?>

</body>
</html>
</html>
38 changes: 19 additions & 19 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
/**
* Functions and definitions
*
* @package doo
* @package blogbasico
*/

if (!function_exists('doo_setup')) {
function doo_setup() {
if (!function_exists('blogbasico_setup')) {
function blogbasico_setup() {
/*
* Make theme available for translation.
* Translations can be filed in the /languages/ directory.
*/
load_theme_textdomain('doo', get_template_directory().'/languages');
load_theme_textdomain('blogbasico', get_template_directory().'/languages');

// Add default posts and comments RSS feed links to head.
add_theme_support('automatic-feed-links');
Expand All @@ -33,8 +33,8 @@ function doo_setup() {

// This theme uses wp_nav_menu() in one location.
register_nav_menus( array(
'menu-1' => esc_html__('Main menu', 'doo'),
'menu-2' => esc_html__('Footer menu', 'doo')
'menu-1' => esc_html__('Main menu', 'blogbasico'),
'menu-2' => esc_html__('Footer menu', 'blogbasico')
));

/*
Expand All @@ -51,7 +51,7 @@ function doo_setup() {
));

// Set up the WordPress core custom background feature.
add_theme_support('custom-background', apply_filters('doo_custom_background_args', array(
add_theme_support('custom-background', apply_filters('blogbasico_custom_background_args', array(
'default-color' => 'f1f1f1',
'default-image' => '',
)) );
Expand All @@ -67,7 +67,7 @@ function doo_setup() {
));
}
}
add_action('after_setup_theme', 'doo_setup');
add_action('after_setup_theme', 'blogbasico_setup');

/**
* Set the content width in pixels, based on the theme's design and stylesheet.
Expand All @@ -76,16 +76,16 @@ function doo_setup() {
*
* @global int $content_width
*/
function doo_content_width() {
$GLOBALS['content_width'] = apply_filters('doo_content_width', 690);
function blogbasico_content_width() {
$GLOBALS['content_width'] = apply_filters('blogbasico_content_width', 690);
}
add_action('after_setup_theme', 'doo_content_width', 0);
add_action('after_setup_theme', 'blogbasico_content_width', 0);

/**
* Enqueue styles.
*/
if (!function_exists('doo_styles')) {
function doo_styles() {
if (!function_exists('blogbasico_styles')) {
function blogbasico_styles() {

// google fonts
wp_enqueue_style('google-fonts', '//fonts.googleapis.com/css?family=Open+Sans:400,400italic,700,700italic', array(), '1.0.34');
Expand All @@ -101,16 +101,16 @@ function doo_styles() {
wp_enqueue_style('font-awesome', get_template_directory_uri().'/assets/font-awesome/css/font-awesome.min.css', array(), '4.7.0');

// main stylesheet
wp_enqueue_style('doo-style', get_stylesheet_directory_uri().'/style.css', array(), '1.0.34');
wp_enqueue_style('blogbasico-style', get_stylesheet_directory_uri().'/style.css', array(), '1.0.34');
}
}
add_action('wp_enqueue_scripts', 'doo_styles');
add_action('wp_enqueue_scripts', 'blogbasico_styles');

/**
* Enqueue scripts.
*/
if (!function_exists('doo_scripts')) {
function doo_scripts() {
if (!function_exists('blogbasico_scripts')) {
function blogbasico_scripts() {

// html5shiv.js (for IE)
wp_enqueue_script('html5shiv', get_template_directory_uri().'/assets/js/html5shiv.min.js', array(), '3.7.3', false);
Expand All @@ -127,15 +127,15 @@ function doo_scripts() {
wp_enqueue_script('ie10-viewport-bug-workaround', get_template_directory_uri().'/assets/js/ie10-viewport-bug-workaround.js', array(), '1.3.16', true);

// theme js
wp_enqueue_script('doo-theme', get_template_directory_uri().'/assets/js/theme.js', array('jquery'), '1.0.34', true);
wp_enqueue_script('blogbasico-theme', get_template_directory_uri().'/assets/js/theme.js', array('jquery'), '1.0.34', true);

// comments
if ( is_singular() && comments_open() && get_option('thread_comments')) {
wp_enqueue_script('comment-reply');
}
}
}
add_action('wp_enqueue_scripts', 'doo_scripts');
add_action('wp_enqueue_scripts', 'blogbasico_scripts');

/**
* Custom template widgets for this theme.
Expand Down
Loading

0 comments on commit f81e849

Please sign in to comment.