From f81e849e141aa968bf37b95c22b3d283987996f3 Mon Sep 17 00:00:00 2001 From: andersonicoutos <23392311+andersonicoutos@users.noreply.github.com> Date: Mon, 29 Oct 2018 11:46:01 -0300 Subject: [PATCH] M 404.php 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 --- 404.php | 4 +- README.md | 4 +- archive.php | 2 +- comments.php | 12 +- footer.php | 12 +- functions.php | 38 +++--- inc/customizer.php | 198 ++++++++++++++-------------- inc/inline-styles.php | 8 +- inc/sanitize.php | 14 +- inc/template-comments.php | 34 ++--- inc/template-functions.php | 26 ++-- inc/template-tags.php | 48 +++---- inc/template-widgets.php | 10 +- index.php | 2 +- languages/doo.pot | 2 +- page.php | 4 +- readme.txt | 56 ++++++++ search.php | 2 +- searchform.php | 4 +- sidebar.php | 2 +- single.php | 12 +- template-parts/blog-posts.php | 8 +- template-parts/content-audio.php | 8 +- template-parts/content-gallery.php | 8 +- template-parts/content-none.php | 10 +- template-parts/content-standard.php | 6 +- template-parts/content-video.php | 8 +- template-parts/content.php | 8 +- 28 files changed, 303 insertions(+), 247 deletions(-) create mode 100644 readme.txt diff --git a/404.php b/404.php index 1851589..4c7e8a5 100644 --- a/404.php +++ b/404.php @@ -2,7 +2,7 @@ /** * The template for displaying 404 pages (not found) * - * @package doo + * @package blogbasico */ get_header(); ?> @@ -13,7 +13,7 @@
diff --git a/README.md b/README.md index 9910887..ecb73d6 100644 --- a/README.md +++ b/README.md @@ -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/) diff --git a/archive.php b/archive.php index 63a2922..c23586e 100644 --- a/archive.php +++ b/archive.php @@ -2,7 +2,7 @@ /** * The template for displaying archive pages * - * @package doo + * @package blogbasico */ // header diff --git a/comments.php b/comments.php index 89630b8..b201b5d 100644 --- a/comments.php +++ b/comments.php @@ -2,7 +2,7 @@ /** * The template for displaying comments * - * @package doo + * @package blogbasico */ /* @@ -26,13 +26,13 @@ if ( 1 === $comment_count ) { printf( /* translators: 1: title. */ - esc_html_e( 'One thought on “%1$s”', 'doo' ), + esc_html_e( 'One thought on “%1$s”', 'blogbasico' ), '' . get_the_title() . '' ); } else { printf( // WPCS: XSS OK. /* translators: 1: comment count number, 2: title. */ - esc_html( _nx( '%1$s thought on “%2$s”', '%1$s thoughts on “%2$s”', $comment_count, 'comments title', 'doo' ) ), + esc_html( _nx( '%1$s thought on “%2$s”', '%1$s thoughts on “%2$s”', $comment_count, 'comments title', 'blogbasico' ) ), number_format_i18n( $comment_count ), '' . get_the_title() . '' ); @@ -43,16 +43,16 @@
    'doo_list_comments' + 'callback'=>'blogbasico_list_comments' ) ); ?>
- -

+

@@ -50,12 +50,12 @@ ?> @@ -63,7 +63,7 @@
- \ No newline at end of file + diff --git a/functions.php b/functions.php index 40310a0..1bed3c7 100644 --- a/functions.php +++ b/functions.php @@ -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'); @@ -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') )); /* @@ -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' => '', )) ); @@ -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. @@ -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'); @@ -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); @@ -127,7 +127,7 @@ 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')) { @@ -135,7 +135,7 @@ function doo_scripts() { } } } -add_action('wp_enqueue_scripts', 'doo_scripts'); +add_action('wp_enqueue_scripts', 'blogbasico_scripts'); /** * Custom template widgets for this theme. diff --git a/inc/customizer.php b/inc/customizer.php index 5bc34f3..efccda7 100644 --- a/inc/customizer.php +++ b/inc/customizer.php @@ -1,14 +1,14 @@