Compare commits
No commits in common. "05a2d54b6413c8033c2b54d9d052cdb994a14cb0" and "d8c7b2d45a396a96fb0f070b421fb4146c392ef6" have entirely different histories.
05a2d54b64
...
d8c7b2d45a
|
@ -188,14 +188,3 @@ if ( defined( 'JETPACK__VERSION' ) ) {
|
||||||
* Functions to personalize login screen
|
* Functions to personalize login screen
|
||||||
*/
|
*/
|
||||||
require get_template_directory() . '/inc/login-functions.php';
|
require get_template_directory() . '/inc/login-functions.php';
|
||||||
|
|
||||||
/**
|
|
||||||
* Functions to personalize the_archive_title() function
|
|
||||||
*/
|
|
||||||
|
|
||||||
require get_template_directory() . '/inc/archive-title.php';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Functions to add guttemberg editor style
|
|
||||||
*/
|
|
||||||
//require get_template_directory() . '/inc/guttemberg-editor-style.php';
|
|
||||||
|
|
|
@ -1,26 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Archive title customization.
|
|
||||||
* Get rid of the "Category:" "Tag:" "Author:" "Archives:" lables in
|
|
||||||
*
|
|
||||||
* https://developer.wordpress.org/reference/functions/get_the_archive_title/#comment-1807
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
function ofisuport_archive_title( $title ) {
|
|
||||||
if ( is_category() ) {
|
|
||||||
$title = single_cat_title( '', false );
|
|
||||||
} elseif ( is_tag() ) {
|
|
||||||
$title = single_tag_title( '', false );
|
|
||||||
} elseif ( is_author() ) {
|
|
||||||
$title = '<span class="vcard">' . get_the_author() . '</span>';
|
|
||||||
} elseif ( is_post_type_archive() ) {
|
|
||||||
$title = post_type_archive_title( '', false );
|
|
||||||
} elseif ( is_tax() ) {
|
|
||||||
$title = single_term_title( '', false );
|
|
||||||
}
|
|
||||||
|
|
||||||
return $title;
|
|
||||||
}
|
|
||||||
|
|
||||||
add_filter( 'get_the_archive_title', 'ofisuport_archive_title' );
|
|
|
@ -11,9 +11,3 @@ $columns: (
|
||||||
);
|
);
|
||||||
|
|
||||||
$columns__margin: 3.8%;
|
$columns__margin: 3.8%;
|
||||||
|
|
||||||
//grid properties
|
|
||||||
$grid__gap: 1rem;
|
|
||||||
$grid__column-gap: $grid__gap;
|
|
||||||
$grid__row-gap: $grid__gap;
|
|
||||||
|
|
||||||
|
|
|
@ -66,17 +66,8 @@
|
||||||
.no-sidebar {
|
.no-sidebar {
|
||||||
.site {
|
.site {
|
||||||
padding: 0 2rem;
|
padding: 0 2rem;
|
||||||
.archive-posts {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: repeat(4 , 1fr);
|
|
||||||
gap: $grid__gap;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.site-header {
|
.site-header {
|
||||||
height: 12rem;
|
|
||||||
&::after {
|
|
||||||
top: 12rem;
|
|
||||||
}
|
|
||||||
.main {
|
.main {
|
||||||
flex-flow: column;
|
flex-flow: column;
|
||||||
border-bottom: 1px solid $color__grey-lighter;
|
border-bottom: 1px solid $color__grey-lighter;
|
||||||
|
|
11
style.css
11
style.css
|
@ -783,17 +783,6 @@ textarea {
|
||||||
.no-sidebar .site {
|
.no-sidebar .site {
|
||||||
padding: 0 2rem;
|
padding: 0 2rem;
|
||||||
}
|
}
|
||||||
.no-sidebar .site .archive-posts {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: repeat(4, 1fr);
|
|
||||||
gap: 1rem;
|
|
||||||
}
|
|
||||||
.no-sidebar .site-header {
|
|
||||||
height: 12rem;
|
|
||||||
}
|
|
||||||
.no-sidebar .site-header::after {
|
|
||||||
top: 12rem;
|
|
||||||
}
|
|
||||||
.no-sidebar .site-header .main {
|
.no-sidebar .site-header .main {
|
||||||
flex-flow: column;
|
flex-flow: column;
|
||||||
border-bottom: 1px solid #eee;
|
border-bottom: 1px solid #eee;
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue