Merge pull request #428 from asharirfan/comment-fix
Corrected a comment for custom templates in functions.php. Corrected Wordpress to WordPress at various places 💯
This commit is contained in:
commit
50e0f1f89f
|
@ -48,7 +48,7 @@ require get_template_directory() . '/inc/extras.php';
|
||||||
require get_template_directory() . '/inc/customizer.php';
|
require get_template_directory() . '/inc/customizer.php';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Customizer additions.
|
* Custom Comments file.
|
||||||
*/
|
*/
|
||||||
require get_template_directory() . '/inc/custom-comments.php';
|
require get_template_directory() . '/inc/custom-comments.php';
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ if ( ! function_exists( 'understrap_scripts' ) ) {
|
||||||
$the_theme = wp_get_theme();
|
$the_theme = wp_get_theme();
|
||||||
wp_enqueue_style( 'understrap-styles', get_stylesheet_directory_uri() . '/css/theme.min.css', array(), $the_theme->get( 'Version' ) );
|
wp_enqueue_style( 'understrap-styles', get_stylesheet_directory_uri() . '/css/theme.min.css', array(), $the_theme->get( 'Version' ) );
|
||||||
wp_enqueue_script( 'jquery' );
|
wp_enqueue_script( 'jquery' );
|
||||||
wp_enqueue_script( 'popper-scripts', get_template_directory_uri() . '/js/popper.min.js', array(), false);
|
wp_enqueue_script( 'popper-scripts', get_template_directory_uri() . '/js/popper.min.js', array(), false );
|
||||||
wp_enqueue_script( 'understrap-scripts', get_template_directory_uri() . '/js/theme.min.js', array(), $the_theme->get( 'Version' ), true );
|
wp_enqueue_script( 'understrap-scripts', get_template_directory_uri() . '/js/theme.min.js', array(), $the_theme->get( 'Version' ), true );
|
||||||
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
|
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
|
||||||
wp_enqueue_script( 'comment-reply' );
|
wp_enqueue_script( 'comment-reply' );
|
||||||
|
|
|
@ -85,7 +85,7 @@ if ( ! function_exists( 'understrap_setup' ) ) :
|
||||||
'default-image' => '',
|
'default-image' => '',
|
||||||
) ) );
|
) ) );
|
||||||
|
|
||||||
// Set up the Wordpress Theme logo feature.
|
// Set up the WordPress Theme logo feature.
|
||||||
add_theme_support( 'custom-logo' );
|
add_theme_support( 'custom-logo' );
|
||||||
|
|
||||||
// Check and setup theme default settings.
|
// Check and setup theme default settings.
|
||||||
|
|
|
@ -297,7 +297,7 @@ msgid ""
|
||||||
"or as parent theme. It is up to you."
|
"or as parent theme. It is up to you."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Una combinacion de tema _s (Automattic) y de Bootstrap 4. Realizado solidamente "
|
"Una combinacion de tema _s (Automattic) y de Bootstrap 4. Realizado solidamente "
|
||||||
"Punto de partida para tus proyectos hechos en Wordpress. Utilizar Empezar como "
|
"Punto de partida para tus proyectos hechos en WordPress. Utilizar Empezar como "
|
||||||
"padre tema de tus temas, es tu decisión."
|
"padre tema de tus temas, es tu decisión."
|
||||||
|
|
||||||
#. Author of the theme
|
#. Author of the theme
|
||||||
|
|
|
@ -252,7 +252,7 @@ msgctxt "noun"
|
||||||
msgid "Comment"
|
msgid "Comment"
|
||||||
msgstr "Kommentarer"
|
msgstr "Kommentarer"
|
||||||
|
|
||||||
#: ../loop-templates/content-single.php:29 ../loop-templates/content.php:33 ..
|
#: ../loop-templates/content-single.php:29 ../loop-templates/content.php:33 ..
|
||||||
#: loop-templates/content-page.php:25
|
#: loop-templates/content-page.php:25
|
||||||
msgid "Pages:"
|
msgid "Pages:"
|
||||||
msgstr "Sidor:"
|
msgstr "Sidor:"
|
||||||
|
@ -385,7 +385,7 @@ msgid ""
|
||||||
"starter theme or as parent theme. It is up to you."
|
"starter theme or as parent theme. It is up to you."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"En kombination av Automattic´s _s tema och Bootstrap 4. Gjort som en bas för "
|
"En kombination av Automattic´s _s tema och Bootstrap 4. Gjort som en bas för "
|
||||||
"ditt nästa tema eller Wordpress webbplats. Använd det som en grund eller som "
|
"ditt nästa tema eller WordPress webbplats. Använd det som en grund eller som "
|
||||||
"ett förälder tema. Det är upp till dig."
|
"ett förälder tema. Det är upp till dig."
|
||||||
|
|
||||||
#. Author of the theme
|
#. Author of the theme
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "understrap",
|
"name": "understrap",
|
||||||
"version": "0.6.6",
|
"version": "0.6.6",
|
||||||
"description": "Wordpress Theme framework",
|
"description": "WordPress Theme framework",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "gulp copy-assets"
|
"postinstall": "gulp copy-assets"
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
// Some basic padding for all wrappers
|
// Some basic padding for all wrappers
|
||||||
.wrapper {
|
.wrapper {
|
||||||
padding: $grid-gutter-width 0; }
|
padding: $grid-gutter-width 0; }
|
||||||
|
|
||||||
// Reset hero wrapper padding to 0
|
// Reset hero wrapper padding to 0
|
||||||
#wrapper-hero { padding: 0px !important; }
|
#wrapper-hero { padding: 0px !important; }
|
||||||
|
|
||||||
// Adding basic Wordpress classes to pass the Wordpress.org tests
|
// Adding basic WordPress classes to pass the WordPress.org tests
|
||||||
.sticky,
|
.sticky,
|
||||||
.gallery-caption,
|
.gallery-caption,
|
||||||
.bypostauthor {
|
.bypostauthor {
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Separate sticky wrapper from main content
|
// Separate sticky wrapper from main content
|
||||||
|
|
Reference in New Issue