Initial commit of Rebalance

This commit is contained in:
alaczek 2018-02-27 14:24:01 +11:00
parent fcd96c5408
commit 2fbc0207d5
83 changed files with 19245 additions and 0 deletions

30
rebalance/404.php Normal file
View file

@ -0,0 +1,30 @@
<?php
/**
* The template for displaying 404 pages (not found).
*
* @link https://codex.wordpress.org/Creating_an_Error_404_Page
*
* @package Rebalance
*/
get_header(); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<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.', 'rebalance' ); ?></h1>
</header><!-- .page-header -->
<div class="page-content">
<p><?php esc_html_e( 'It looks like nothing was found at this location. Maybe try one of the links below or a search?', 'rebalance' ); ?></p>
<?php get_search_form(); ?>
</div><!-- .page-content -->
</section><!-- .error-404 -->
</main><!-- #main -->
</div><!-- #primary -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>

View file

@ -0,0 +1,60 @@
<?php
/**
* The template for displaying the Portfolio archive page.
*
* @package Rebalance
*/
get_header(); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php if ( have_posts() ) : ?>
<?php rebalance_portfolio_thumbnail( '<div class="entry-image">', '</div>' ) ?>
<header class="page-header">
<?php
rebalance_portfolio_title( '<h1 class="page-title">', '</h1>' );
rebalance_portfolio_content( '<div class="taxonomy-description">', '</div>' );
?>
</header><!-- .page-header -->
<div id="infinite-wrap">
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php
/*
* Include the Post-Format-specific template for the content.
* If you want to override this in a child theme, then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
get_template_part( 'template-parts/content', 'card' );
?>
<?php endwhile; ?>
<?php
the_posts_navigation( array(
'prev_text' => esc_html__( 'Older projects', 'rebalance' ),
'next_text' => esc_html__( 'Newer projects', 'rebalance' ),
'screen_reader_text' => esc_html__( 'Portfolio navigation', 'rebalance' ),
) );
?>
</div>
<?php else : ?>
<?php get_template_part( 'template-parts/content', 'none' ); ?>
<?php endif; ?>
</main><!-- #main -->
</div><!-- #primary -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>

54
rebalance/archive.php Normal file
View file

@ -0,0 +1,54 @@
<?php
/**
* The template for displaying archive pages.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package Rebalance
*/
get_header(); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php if ( have_posts() ) : ?>
<header class="page-header">
<?php
the_archive_title( '<h1 class="page-title">', '</h1>' );
the_archive_description( '<div class="taxonomy-description">', '</div>' );
?>
</header><!-- .page-header -->
<div id="infinite-wrap">
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php
/*
* Include the Post-Format-specific template for the content.
* If you want to override this in a child theme, then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
get_template_part( 'template-parts/content', 'card' );
?>
<?php endwhile; ?>
<?php the_posts_navigation(); ?>
</div>
<?php else : ?>
<?php get_template_part( 'template-parts/content', 'none' ); ?>
<?php endif; ?>
</main><!-- #main -->
</div><!-- #primary -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>

88
rebalance/comments.php Normal file
View file

@ -0,0 +1,88 @@
<?php
/**
* The template for displaying comments.
*
* This is the template that displays the area of the page that contains both the current comments
* and the comment form.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package Rebalance
*/
/*
* If the current post is protected by a password and
* the visitor has not yet entered the password we will
* return early without loading the comments.
*/
if ( post_password_required() ) {
return;
}
?>
<div id="comments" class="comments-area clear-fix">
<?php // You can start editing here -- including this comment! ?>
<?php if ( have_comments() ) : ?>
<h2 class="comments-title">
<?php
printf( // WPCS: XSS OK.
esc_html( _nx( '1 Comment', '%1$s Comments', get_comments_number(), 'comments title', 'rebalance' ) ),
number_format_i18n( get_comments_number() )
);
?>
</h2>
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
<nav id="comment-nav-above" class="navigation comment-navigation" role="navigation">
<h2 class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'rebalance' ); ?></h2>
<div class="nav-links">
<?php if ( get_previous_comments_link() ) { ?>
<div class="nav-previous"><?php previous_comments_link( esc_html__( 'Older Comments', 'rebalance' ) ); ?></div>
<?php } ?>
<?php if ( get_next_comments_link() ) { ?>
<div class="nav-next"><?php next_comments_link( esc_html__( 'Newer Comments', 'rebalance' ) ); ?></div>
<?php } ?>
</div><!-- .nav-links -->
</nav><!-- #comment-nav-above -->
<?php endif; // Check for comment navigation. ?>
<ol class="comment-list">
<?php
wp_list_comments( array(
'style' => 'ol',
'avatar_size' => 111,
'short_ping' => true,
) );
?>
</ol><!-- .comment-list -->
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
<nav id="comment-nav-below" class="navigation comment-navigation" role="navigation">
<h2 class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'rebalance' ); ?></h2>
<div class="nav-links">
<?php if ( get_previous_comments_link() ) { ?>
<div class="nav-previous"><?php previous_comments_link( esc_html__( 'Older Comments', 'rebalance' ) ); ?></div>
<?php } ?>
<?php if ( get_next_comments_link() ) { ?>
<div class="nav-next"><?php next_comments_link( esc_html__( 'Newer Comments', 'rebalance' ) ); ?></div>
<?php } ?>
</div><!-- .nav-links -->
</nav><!-- #comment-nav-below -->
<?php endif; // Check for comment navigation. ?>
<?php endif; // Check for have_comments(). ?>
<?php
// If comments are closed and there are comments, let's leave a little note, shall we?
if ( ! comments_open() && get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) :
?>
<p class="no-comments"><?php esc_html_e( 'Comments are closed.', 'rebalance' ); ?></p>
<?php endif; ?>
<?php comment_form( array(
'label_submit' => __( 'Submit', 'rebalance' ) ) // Escaped on core
); ?>
</div><!-- #comments -->

Binary file not shown.

2337
rebalance/font-awesome/font-awesome.css vendored Normal file

File diff suppressed because it is too large Load diff

Binary file not shown.

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 434 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

29
rebalance/footer.php Normal file
View file

@ -0,0 +1,29 @@
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after.
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package Rebalance
*/
?>
<footer id="colophon" class="site-footer" role="contentinfo">
<div class="site-info">
<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'rebalance' ) ); ?>"><?php printf( esc_html__( 'Proudly powered by %s', 'rebalance' ), 'WordPress' ); ?></a>
<br>
<?php printf( esc_html__( 'Theme: %1$s by %2$s.', 'rebalance' ), 'Rebalance', '<a href="http://wordpress.com/themes/" rel="designer">WordPress.com</a>' ); ?>
</div><!-- .site-info -->
</footer><!-- #colophon -->
</div><!-- .col-width -->
</div><!-- #content -->
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
</html>

245
rebalance/functions.php Normal file
View file

@ -0,0 +1,245 @@
<?php
/**
* Rebalance functions and definitions.
*
* @link https://developer.wordpress.org/themes/basics/theme-functions/
*
* @package Rebalance
*/
if ( ! function_exists( 'rebalance_setup' ) ) :
/**
* Sets up theme defaults and registers support for various WordPress features.
*
* Note that this function is hooked into the after_setup_theme hook, which
* runs before the init hook. The init hook is too late for some features, such
* as indicating support for post thumbnails.
*/
function rebalance_setup() {
/*
* Make theme available for translation.
* Translations can be filed in the /languages/ directory.
* If you're building a theme based on rebalance, use a find and replace
* to change 'rebalance' to the name of your theme in all the template files.
*/
load_theme_textdomain( 'rebalance', get_template_directory() . '/languages' );
// Add default posts and comments RSS feed links to head.
add_theme_support( 'automatic-feed-links' );
/*
* Let WordPress manage the document title.
* By adding theme support, we declare that this theme does not use a
* hard-coded <title> tag in the document head, and expect WordPress to
* provide it for us.
*/
add_theme_support( 'title-tag' );
/**
* Add support for core custom logo (replaces JetPack functionality)
* - also see fallback in inc/jetpack.php
*/
add_theme_support( 'custom-logo', array(
'height' => 80,
'width' => 80,
'flex-width' => true,
'header-text' => array(
'site-title',
'site-description'
),
) );
/*
* Enable support for Post Thumbnails on posts and pages.
*
* @link https://developer.wordpress.org/themes/functionality/featured-images-post-thumbnails/
*/
add_theme_support( 'post-thumbnails' );
set_post_thumbnail_size( 720, 1200 );
add_image_size( 'rebalance-archive', 560, 9999 );
/*
* This theme uses wp_nav_menu() in one location.
*/
register_nav_menus( array(
'header' => esc_html__( 'Header Menu', 'rebalance' ),
'social' => esc_html__( 'Social Menu', 'rebalance' )
) );
/*
* Switch default core markup for search form, comment form, and comments
* to output valid HTML5.
*/
add_theme_support( 'html5', array(
'search-form',
'comment-form',
'comment-list',
'gallery',
'caption',
) );
/*
* Enable support for Post Formats.
* See https://developer.wordpress.org/themes/functionality/post-formats/
*/
add_theme_support( 'post-formats', array(
'aside',
'image',
'video',
'quote',
'link',
) );
// Set up the WordPress core custom background feature.
add_theme_support( 'custom-background', apply_filters( 'rebalance_custom_background_args', array(
'default-color' => 'ffffff',
'default-image' => '',
) ) );
}
endif; // rebalance_setup
add_action( 'after_setup_theme', 'rebalance_setup' );
/**
* Set the content width in pixels, based on the theme's design and stylesheet.
*
* Priority 0 to make it available to lower priority callbacks.
*
* @global int $content_width
*/
function rebalance_content_width() {
$GLOBALS['content_width'] = apply_filters( 'rebalance_content_width', 1140 );
}
add_action( 'after_setup_theme', 'rebalance_content_width', 0 );
/**
* Register widget area.
*
* @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar
*/
function rebalance_widgets_init() {
register_sidebar( array(
'name' => esc_html__( 'Footer', 'rebalance' ),
'id' => 'sidebar-1',
'description' => '',
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h2 class="widget-title">',
'after_title' => '</h2>',
) );
}
add_action( 'widgets_init', 'rebalance_widgets_init' );
/**
* Add Google webfonts
*
* - See: http://themeshaper.com/2014/08/13/how-to-add-google-fonts-to-wordpress-themes/
*/
function rebalance_fonts_url() {
$fonts_url = '';
/* Translators: If there are characters in your language that are not
* supported by Lora, translate this to 'off'. Do not translate
* into your own language.
*/
$rubik = esc_html_x( 'on', 'Rubik font: on or off', 'rebalance' );
/* Translators: If there are characters in your language that are not
* supported by Open Sans, translate this to 'off'. Do not translate
* into your own language.
*/
$libre_baskerville = esc_html_x( 'on', 'Libre Baskerville font: on or off', 'rebalance' );
if ( 'off' !== $rubik || 'off' !== $libre_baskerville ) {
$font_families = array();
if ( 'off' !== $rubik ) {
$font_families[] = 'Rubik:400,500,700,900,400italic,700italic';
}
if ( 'off' !== $libre_baskerville ) {
$font_families[] = 'Libre Baskerville:700,900,400italic';
}
$query_args = array(
'family' => urlencode( implode( '|', $font_families ) ),
'subset' => urlencode( 'latin,latin-ext' ),
);
$fonts_url = add_query_arg( $query_args, 'https://fonts.googleapis.com/css' );
}
return esc_url_raw( $fonts_url );
}
/**
* Enqueue scripts and styles.
*/
function rebalance_scripts() {
/**
* Styles
*/
wp_enqueue_style( 'rebalance-fonts', rebalance_fonts_url(), array(), null );
wp_enqueue_style( 'font-awesome', get_template_directory_uri() . '/font-awesome/font-awesome.css', array(), '20151022' );
wp_enqueue_style( 'rebalance-style', get_stylesheet_uri() );
/**
* Scripts
*/
wp_enqueue_script( 'columnlist', get_template_directory_uri() . '/js/columnlist.js', array( 'jquery' ), '20151120', true );
wp_enqueue_script( 'rebalance-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20151112', true );
wp_enqueue_script( 'rebalance-theme-scripts', get_template_directory_uri() . '/js/scripts.js', array( 'jquery', 'columnlist', 'masonry' ), '20151130', true );
wp_localize_script( 'rebalance-theme-scripts', 'Rebalance', array(
'is_rtl' => ( 'rtl' == get_option( 'text_direction' ) ) ? 1 : 0,
) );
wp_enqueue_script( 'rebalance-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20151112', true );
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
wp_enqueue_script( 'comment-reply' );
}
wp_localize_script( 'rebalance-navigation', 'rebalanceScreenReaderText', array(
'expand' => esc_html__( 'expand child menu', 'rebalance' ),
'collapse' => esc_html__( 'collapse child menu', 'rebalance' ),
) );
}
add_action( 'wp_enqueue_scripts', 'rebalance_scripts' );
/**
* Check whether the browser supports JavaScript
*/
function rebalance_html_js_class () {
echo '<script>document.documentElement.className = document.documentElement.className.replace("no-js","js");</script>'. "\n";
}
add_action( 'wp_head', 'rebalance_html_js_class', 1 );
/**
* Implement the Custom Header feature.
*/
require get_template_directory() . '/inc/custom-header.php';
/**
* Custom template tags for this theme.
*/
require get_template_directory() . '/inc/template-tags.php';
/**
* Custom functions that act independently of the theme templates.
*/
require get_template_directory() . '/inc/extras.php';
/**
* Customizer additions.
*/
require get_template_directory() . '/inc/customizer.php';
/**
* Load Jetpack compatibility file.
*/
require get_template_directory() . '/inc/jetpack.php';

78
rebalance/header.php Normal file
View file

@ -0,0 +1,78 @@
<?php
/**
* The Rebalance header
*
* This is the template that displays all of the <head> section and everything up until <div id="content">
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package Rebalance
*/
?><!DOCTYPE html>
<html class="no-js" <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<div id="page" class="site">
<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'rebalance' ); ?></a>
<header id="masthead" class="site-header" role="banner">
<div class="col-width header-wrap">
<?php $header_image = get_header_image();
if ( ! empty( $header_image ) ) { ?>
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" class="site-header-image-link" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
<img src="<?php header_image(); ?>" class="site-header-image" width="<?php echo esc_attr( get_custom_header()->width ); ?>" height="<?php echo esc_attr( get_custom_header()->height ); ?>" alt="" />
</a>
<?php } ?>
<div class="site-heading">
<div class="site-branding">
<?php rebalance_site_logo(); ?>
<?php if ( is_front_page() && is_home() ) : ?>
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
<?php else : ?>
<p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p>
<?php endif; ?>
</div><!-- .site-branding -->
<?php if ( has_nav_menu( 'social' ) ) : ?>
<nav class="social-navigation" role="navigation">
<?php wp_nav_menu( array(
'theme_location' => 'social',
'depth' => 1,
'container_class' => 'social-menu-wrap',
'menu_class' => 'social-menu',
'link_before' => '<span>',
'link_after' => '</span>'
) ); ?>
</nav><!-- #social-navigation -->
<?php endif; ?>
</div><!-- .site-heading -->
</div>
<div class="col-width sub-header-wrap">
<?php $description = get_bloginfo( 'description', 'display' );
if ( $description || is_customize_preview() ) : ?>
<p class="site-description"><?php echo $description; /* WPCS: xss ok. */ ?></p>
<?php endif; ?>
<?php if ( has_nav_menu( 'header' ) ) : ?>
<nav id="site-navigation" class="main-navigation" role="navigation">
<button class="menu-toggle" aria-controls="header-menu" aria-expanded="false" data-close-text="<?php esc_attr_e( 'Close', 'rebalance' ); ?>"><?php esc_html_e( 'Menu', 'rebalance' ); ?></button>
<?php wp_nav_menu( array(
'theme_location' => 'header',
'menu_id' => 'header-menu'
) ); ?>
</nav><!-- #site-navigation -->
<?php endif; ?>
</div><!-- .col-width -->
</header><!-- #masthead -->
<div id="content" class="site-content clear">
<div class="col-width">

105
rebalance/image.php Normal file
View file

@ -0,0 +1,105 @@
<?php
/**
* The template that shows an attachment image
*
* @package Rebalance
*/
get_header(); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php
// Start the loop.
while ( have_posts() ) : the_post();
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php if ( get_the_title() ) : ?>
<h1 class="entry-title"><a href="<?php echo esc_url(get_permalink()); ?>"><?php the_title(); ?></a></h1>
<?php endif; ?>
<div class="entry-meta">
<?php
$published_text = '<span class="attachment-meta"><time class="entry-date" datetime="%1$s">%2$s</time></span> <span class="parent-entry"><a href="%3$s" title="'. esc_attr__( 'Return to %4$s', 'rebalance' ) . '" rel="gallery">' . esc_html__( 'Return to: %5$s', 'rebalance' ) . '</a></span>';
$post_title = get_the_title( $post->post_parent );
if ( empty( $post_title ) || 0 == $post->post_parent )
$published_text = '<span class="attachment-meta"><time class="entry-date" datetime="%1$s">%2$s</time></span>';
printf( $published_text,
esc_attr( get_the_date('c') ),
esc_html( get_the_date() ),
esc_url( get_permalink( $post->post_parent ) ),
esc_attr( strip_tags( $post_title ) ),
$post_title
);
$metadata = wp_get_attachment_metadata();
printf( '<span class="attachment-meta full-size-link post-comments"><a href="%1$s" title="%2$s">%3$s (%4$s &times; %5$s)</a></span>',
esc_url( wp_get_attachment_url() ),
esc_attr__( 'Link to full-size image', 'rebalance' ),
esc_html__( 'Full resolution', 'rebalance' ),
$metadata['width'],
$metadata['height']
);
edit_post_link( esc_html__( 'Edit', 'rebalance' ), '<span class="edit-link">', '</span>');
?>
</div> <!-- /post-meta -->
<?php if ( $post->post_parent ) { ?>
<nav class="navigation image-navigation post-navigation" role="navigation">
<h2 class="screen-reader-text">Image navigation</h2>
<div class="nav-links">
<?php // If Previous image exists, show a link
ob_start();
previous_image_link();
$previous_link = ob_get_contents();
ob_end_clean();
if ( $previous_link != '' ) { ?>
<div class="nav-previous"><?php previous_image_link( false, '<span class="meta-nav" aria-hidden="true">' . esc_html__( 'Previous Image', 'rebalance' ) . '</span>' ); ?></div>
<?php } ?>
<?php // If Next image exists, show a link
ob_start();
next_image_link();
$next_link = ob_get_contents();
ob_end_clean();
if ( $next_link != '' ) { ?>
<div class="nav-next"><?php next_image_link( false, '<span class="meta-nav" aria-hidden="true">' . esc_html__( 'Next Image', 'rebalance' ) . '</span>' ); ?></div>
<?php } ?>
</div><!-- .nav-links -->
</nav><!-- .image-navigation -->
<?php } ?>
</header> <!-- /entry-header -->
<div class="post-hero-image clear-fix">
<figure class="entry-image">
<?php rebalance_the_attached_image(); ?>
<?php if ( has_excerpt() ) : ?>
<figcaption class="entry-image-caption"><span class="fa fw fa-camera"></span><?php echo get_the_excerpt(); ?></figcaption>
<?php endif; ?>
</figure>
</div><!-- .post-hero-image -->
<div class="entry-content">
<?php
$attachment = get_post( get_the_ID() ); // Get post by ID
$attachment_content = $attachment->post_content;
$attachment_content = apply_filters( 'the_content', $attachment_content );
echo $attachment_content; ?>
</div><!-- .entry-content -->
</article> <!-- /post -->
<?php // End the loop.
endwhile; ?>
</main><!-- #main -->
</div><!-- #primary -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>

View file

@ -0,0 +1,70 @@
<?php
/**
* Rebalance Custom Header feature.
*
* You can add an optional custom header image to header.php like so ...
*
* @link http://codex.wordpress.org/Custom_Headers
*
* @package Rebalance
*/
/**
* Set up the WordPress core custom header feature.
*
* @uses rebalance_header_style()
* @uses rebalance_admin_header_style()
* @uses rebalance_admin_header_image()
*/
function rebalance_custom_header_setup() {
add_theme_support( 'custom-header', apply_filters( 'rebalance_custom_header_args', array(
'default-image' => '',
'default-text-color' => '000000',
'width' => 1140,
'height' => 223,
'flex-height' => true,
'wp-head-callback' => 'rebalance_header_style'
) ) );
}
add_action( 'after_setup_theme', 'rebalance_custom_header_setup' );
if ( ! function_exists( 'rebalance_header_style' ) ) :
/**
* Styles the header image and text displayed on the blog
*
* @see rebalance_custom_header_setup().
*/
function rebalance_header_style() {
$header_text_color = get_header_textcolor();
// If no custom options for text are set, let's bail
// get_header_textcolor() options: HEADER_TEXTCOLOR is default, hide text (returns 'blank') or any hex value.
if ( HEADER_TEXTCOLOR === $header_text_color ) {
return;
}
// If we get this far, we have custom styles. Let's do this.
?>
<style type="text/css">
<?php
// Has the text been hidden?
if ( ! display_header_text() ) :
?>
.site-title,
.site-description {
position: absolute;
clip: rect(1px, 1px, 1px, 1px);
}
<?php
// If the user has set a custom color for the text use that.
else :
?>
.site-title a,
.site-description {
color: #<?php echo esc_attr( $header_text_color ); ?>;
}
<?php endif; ?>
</style>
<?php
}
endif; // rebalance_header_style

View file

@ -0,0 +1,31 @@
<?php
/**
* Rebalance Theme Customizer.
*
* @package Rebalance
*/
/**
* Implement Customizer additions and adjustments.
*
* @since Rebalance 1.0
*
* @param WP_Customize_Manager $wp_customize Customizer object.
*/
function rebalance_customize_register( $wp_customize ) {
// Add postMessage support for site title and description.
$wp_customize->get_setting( 'blogname' )->transport = 'postMessage';
$wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage';
$wp_customize->get_setting( 'header_textcolor' )->transport = 'postMessage';
}
add_action( 'customize_register', 'rebalance_customize_register' );
/**
* Bind JS handlers to make Theme Customizer preview reload changes asynchronously.
*
* @since Rebalance 1.0
*/
function rebalance_customize_preview_js() {
wp_enqueue_script( 'rebalance_customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20131205', true );
}
add_action( 'customize_preview_init', 'rebalance_customize_preview_js' );

134
rebalance/inc/extras.php Normal file
View file

@ -0,0 +1,134 @@
<?php
/**
* Custom functions that act independently of the theme templates.
*
* Eventually, some of the functionality here could be replaced by core features.
*
* @package Rebalance
*/
/**
* Adds custom classes to the array of body classes.
*
* @param array $classes Classes for the body element.
* @return array
*/
function rebalance_body_classes( $classes ) {
// Adds a class of group-blog to blogs with more than 1 published author.
if ( is_multi_author() ) {
$classes[] = 'group-blog';
}
// Adds a class of hfeed to non-singular pages.
if ( ! is_singular() ) {
$classes[] = 'hfeed';
}
// Adds a class of hfeed to non-singular pages.
$header_image = get_header_image();
if ( ! empty( $header_image ) ) {
$classes[] = 'has-custom-header';
}
return $classes;
}
add_filter( 'body_class', 'rebalance_body_classes' );
/**
* Shorten Excerpt Length
*/
function rebalance_excerpt_length() {
return 20;
}
add_filter( 'excerpt_length', 'rebalance_excerpt_length', 999 );
/**
* Add ellipses to excerpts
*/
function rebalance_excerpt_more() {
if ( is_home() ) {
return '&hellip;';
} else {
return ' &hellip; <a class="more-link" href="' . esc_url( get_permalink() ) . '">' . esc_html__( 'More', 'rebalance' ) . '</a>';
}
}
add_filter( 'excerpt_more', 'rebalance_excerpt_more' );
/**
* Add conditional classes to posts
*/
function rebalance_slug_post_classes( $classes ) {
/**
* Adds clear fix to single posts
*/
if ( is_single() ) {
$classes[] = 'clear-fix';
}
/**
* Use card display on archive and search pages
*/
if ( is_archive() || is_search() ) {
$classes[] = 'card';
}
/*
* '.card' class not needed when using default page templates on front page
* - default page template conditional src: https://goo.gl/QOMYWP
*/
if ( ( is_page() && ! is_page_template() ) && is_front_page() ) {
$classes[] = '';
} elseif ( is_page_template( 'portfolio-page.php' ) ) {
$classes[] = 'card';
} elseif ( ( is_home() && ! is_page_template() ) || ( is_front_page() && ! is_page_template() ) ) {
$classes[] = 'card';
} else {
$classes[] = '';
}
return $classes;
}
add_filter( 'post_class', 'rebalance_slug_post_classes', 10, 3 );
add_filter( 'comment_form_default_fields', 'rebalance_comment_placeholders' );
/**
* Change default fields, add placeholder and change type attributes.
*
* @param array $fields
* @return array
*/
function rebalance_comment_placeholders( $fields ) {
$fields['author'] = str_replace(
'<input',
'<input placeholder="'
/* Replace 'rebalance' with your theme?s text domain.
* I use _x() here to make your translators life easier. :)
* See http://codex.wordpress.org/Function_Reference/_x
*/
. esc_attr_x(
'ex: jane doe',
'comment form placeholder',
'rebalance'
)
. '"',
$fields['author']
);
$fields['email'] = str_replace(
'<input',
/* We use a proper type attribute to make use of the browser's
* validation, and to get the matching keyboard on smartphones.
*/
'<input type="email" placeholder="'. esc_attr_x( 'ex: janedoe@gmail.com', 'Email input placeholder text', 'rebalance' ) .'"',
$fields['email']
);
$fields['url'] = str_replace(
'<input',
// Again: a better 'type' attribute value.
'<input placeholder="' . esc_attr_x( 'ex: http://janedoe.wordpress.com', 'URL input placeholder text', 'rebalance' ) . '"',
$fields['url']
);
return $fields;
}

View file

@ -0,0 +1,209 @@
{
"settings": {
"options": {
"show_on_front": "posts",
"posts_per_page": "9",
"stylesheet": "pub/rebalance",
"featured-content": {
"tag-id": 35890,
"tag-name": "featured",
"hide-tag": 0,
"show-all": 0
},
"blogdescription": "\"الحياة مثل ركوب الدراجة. لكي تظل متوازنًا يجب أن تتحرك باستمرار\". — ألبرت آينشتاين"
},
"theme_mods": {
"0": false,
"nav_menu_locations": {
"header": "primary",
"social": "social-media"
},
"header_image": "remove-header",
"background_color": "ffffff",
"colors_manager": {
"colors": {
"bg": "#ffffff",
"txt": "#000000",
"link": "#f35029"
},
"cached": false
},
"custom_logo": ""
},
"headstart": {
"mapped_id_options": [],
"mapped_id_theme_mods": []
}
},
"widgets": [
{
"id": "text-2",
"id_base": "text",
"settings": {
"title": "مربع جانبي للنص",
"text": "هذا مربع جانبي للنص يسمح لك بإضافة نص أو HTML إلى شريطك الجانبي. يمكنك استخدام هذه المربعات الجانبية لعرض نص أو روابط أو صور أو HTML أو مجموعة متنوعة من هذه. حررها في قسم \"المربع الجانبي\" في <a href=\"https://wordpress.com/customize/\">\"أداة التخصيص\"</a>."
},
"sidebar": "sidebar-1",
"position": 1
},
{
"id": "search-2",
"id_base": "search",
"settings": {
"title": "بحث"
},
"sidebar": "sidebar-1",
"position": 0
}
],
"content": [
{
"post_title": "نبذة عن",
"post_content": "هذا مثال لصفحة \"نبذة عن\". على عكس المقالات، تتناسب الصفحات بشكل أفضل مع المحتوى المستمر لفترة طويلة الذي تريد تسهيل الوصول إليه، مثل \"نبذة عنك\" أو \"معلومات الاتصال الخاصة بك\" انقر فوق رابط \"تحرير\" لإجراء تغييرات على هذه الصفحة <a href=\"https://wordpress.com/page\">أو أضف صفحة أخرى</a>.",
"post_excerpt": "هذا مجرد مقتطف موجز عن صفحة&nbsp;نبذة عن.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "closed",
"ping_status": "closed",
"post_type": "page",
"hs_custom_meta": "_hs_about_page",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://rebalancedemo.files.wordpress.com/2011/06/rocket-79394_1920.jpg",
"hs_old_id": 100
},
{
"post_title": "جهة الاتصال",
"post_content": "هذه صفحة اتصال تحتوي على بعض معلومات الاتصال الرئيسية ونموذج الاتصال. [contact-form][contact-field label=\"Name\" type=\"name\" required=\"1\"/][contact-field label=\"البريد الإلكتروني\" type=\"email\" required=\"1\"/][contact-field label=\"موقع الويب\" type=\"url\"/][contact-field label=\"التعليق\" type=\"textarea\" required=\"1\"/][/contact-form]",
"post_excerpt": "هذا مجرد مقتطف موجز عن صفحة&nbsp;الاتصال.",
"post_status": "publish",
"menu_order": 2,
"comment_status": "closed",
"ping_status": "closed",
"post_type": "page",
"hs_custom_meta": "_hs_contact_page",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/space-shuttle-67648_1920.jpg",
"hs_old_id": 101
},
{
"post_title": "مقالة أولى على المدونة",
"post_content": "هذه هي مقالتك الأولى. انقر فوق رابط \"تحرير\" لتعديلها أو حذفها، أو <a href=\"https://wordpress.com/post\">ابدأ مقالة جديدة</a>. استخدم هذه المقالة، إن شئت، لإخبار القراء عن سبب إنشاء هذه المدونة وما الذي تخطط للقيام به من خلالها.",
"post_excerpt": "هذا هو مقتطف لمقالتك الأولى تمامًا.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_first_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/surfing-1082214_1920.jpg",
"hs_old_id": 102
},
{
"post_title": "عنوان المقالة على المدونة",
"post_content": "هذه مقالة أخرى. انقر فوق رابط \"تحرير\" لتعديلها أو حذفها، أو <a href=\"https://wordpress.com/post\">ابدأ مقالة جديدة</a>. استخدم هذه المقالة، إن شئت، لإخبار القراء عن سبب إنشاء هذه المدونة وما الذي تخطط للقيام به من خلالها.",
"post_excerpt": "هذا المقتطف لمقالتك الثانية.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_second_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/photo-1461409971633-aa0e46732112.jpg",
"hs_old_id": 103
},
{
"post_title": "عنوان المقالة على المدونة",
"post_content": "هذه مقالة نموذجية على مدونة. انقر فوق رابط \"تحرير\" لتعديلها أو حذفها، أو <a href=\"https://wordpress.com/post\">ابدأ مقالة جديدة</a>. استخدم هذه المقالة، إن شئت، لإخبار القراء عن سبب إنشاء هذه المدونة وما الذي تخطط للقيام به من خلالها.",
"post_excerpt": "هذا المقتطف للمقالة التي تقرؤها الآن.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_third_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://rebalancedemo.files.wordpress.com/2011/09/chainlink-691921_1280.jpg",
"hs_old_id": 104
},
{
"post_title": "المحتوى المميز",
"post_content": "هذه مقالة محتوى مميزة. انقر فوق رابط \"تحرير\" لتعديلها أو حذفها أو <a href=\"https://wordpress.com/post\">ابدأ مقالة جديدة</a>.",
"post_excerpt": "هذا مقتطف لمقالة المحتوى المميز.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_featured_content",
"hs_sharing": 1,
"hs_like_status": 1,
"tags_input": [
"featured"
],
"attachment_url": "https://rebalancedemo.files.wordpress.com/2015/12/space-shuttle-landing-600463_1920-e1462838881650.jpg",
"hs_old_id": 105
}
],
"menus": {
"social-media": {
"name": "وسائل التواصل الاجتماعي",
"items": [
{
"menu-item-title": "فيسبوك",
"menu-item-db-id": 175,
"menu-item-object-id": "175",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 0,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.facebook.com"
},
{
"menu-item-title": "لينكدإن",
"menu-item-db-id": 176,
"menu-item-object-id": "176",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 1,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.linkedin.com"
},
{
"menu-item-title": "تويتر",
"menu-item-db-id": 177,
"menu-item-object-id": "177",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 2,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.twitter.com"
},
{
"menu-item-title": "إنستغرام",
"menu-item-db-id": 178,
"menu-item-object-id": "178",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 3,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.instagram.com"
}
]
}
}
}

View file

@ -0,0 +1,209 @@
{
"settings": {
"options": {
"show_on_front": "posts",
"posts_per_page": "9",
"stylesheet": "pub/rebalance",
"featured-content": {
"tag-id": 35890,
"tag-name": "featured",
"hide-tag": 0,
"show-all": 0
},
"blogdescription": "„Das Leben ist wie Fahrradfahren. Um die Balance zu halten, musst du in Bewegung bleiben.“ Albert Einstein"
},
"theme_mods": {
"0": false,
"nav_menu_locations": {
"header": "primary",
"social": "social-media"
},
"header_image": "remove-header",
"background_color": "ffffff",
"colors_manager": {
"colors": {
"bg": "#ffffff",
"txt": "#000000",
"link": "#f35029"
},
"cached": false
},
"custom_logo": ""
},
"headstart": {
"mapped_id_options": [],
"mapped_id_theme_mods": []
}
},
"widgets": [
{
"id": "text-2",
"id_base": "text",
"settings": {
"title": "Text-Widget",
"text": "Dies ist ein Text-Widget, mit dem du zu deiner Seitenleiste Text oder HTML-Code hinzufügen kannst. Damit kannst du Text, Links, Bilder, HTML-Code oder eine Kombination daraus anzeigen. Bearbeite diese im Bereich „Widget“ des <a href=\"https://wordpress.com/customize/\">Customizer</a>."
},
"sidebar": "sidebar-1",
"position": 1
},
{
"id": "search-2",
"id_base": "search",
"settings": {
"title": "Suche"
},
"sidebar": "sidebar-1",
"position": 0
}
],
"content": [
{
"post_title": "Über",
"post_content": "Dies ist ein Beispiel für eine Seite „Über“. Im Unterschied zu Beiträgen eignen sich Seiten besser für Inhalte, die länger aktuell bleiben und leicht zugänglich sein sollen, wie die Angaben unter „Über“ oder „Kontakt“. Klicke auf den Link „Bearbeiten“, um diese Seite zu ändern, oder <a href=\"https://wordpress.com/page\">füge eine weitere Seite hinzu</a>.",
"post_excerpt": "Dies ist nur eine Kurzfassung der Seite&nbsp;„Über“.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "closed",
"ping_status": "closed",
"post_type": "page",
"hs_custom_meta": "_hs_about_page",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://rebalancedemo.files.wordpress.com/2011/06/rocket-79394_1920.jpg",
"hs_old_id": 100
},
{
"post_title": "Kontakt",
"post_content": "Dies ist ein Beispiel zur Seite „Kontakt“ mit grundlegenden Kontaktinformationen und einem Kontaktformular. [contact-form][contact-field label=\"Name\" type=\"name\" required=\"1\"/][contact-field label=\"E-Mail-Adresse\" type=\"email\" required=\"1\"/][contact-field label=\"Website\" type=\"url\"/][contact-field label=\"Kommentar\" type=\"textarea\" required=\"1\"/][/contact-form]",
"post_excerpt": "Dies ist nur eine Kurzfassung der Seite&nbsp;„Kontakt“.",
"post_status": "publish",
"menu_order": 2,
"comment_status": "closed",
"ping_status": "closed",
"post_type": "page",
"hs_custom_meta": "_hs_contact_page",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/space-shuttle-67648_1920.jpg",
"hs_old_id": 101
},
{
"post_title": "Erster Blogbeitrag",
"post_content": "Dies ist dein erster Beitrag. Klicke auf den Link „Bearbeiten“, um diesen zu bearbeiten oder zu löschen, oder <a href=\"https://wordpress.com/post\">beginne einen neuen Beitrag</a>. Wenn du möchtest, kannst du deinen Lesern in diesem Beitrag mitteilen, warum du diesen Blog begonnen hast und was du damit vorhast.",
"post_excerpt": "Dies ist die Kurzfassung deines ersten Beitrags.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_first_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/surfing-1082214_1920.jpg",
"hs_old_id": 102
},
{
"post_title": "Titel des Blogbeitrags",
"post_content": "Dies ist ein weiterer Beitrag. Klicke auf den Link „Bearbeiten“, um diesen zu bearbeiten oder zu löschen, oder <a href=\"https://wordpress.com/post\">beginne einen neuen Beitrag</a>. Wenn du möchtest, kannst du deinen Lesern in diesem Beitrag mitteilen, warum du diesen Blog begonnen hast und was du damit vorhast.",
"post_excerpt": "Dies ist die Kurzfassung deines zweiten Beitrags.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_second_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/photo-1461409971633-aa0e46732112.jpg",
"hs_old_id": 103
},
{
"post_title": "Titel des Blogbeitrags",
"post_content": "Dies ist ein typischer Blogbeitrag. Klicke auf den Link „Bearbeiten“, um diesen zu bearbeiten oder zu löschen, oder <a href=\"https://wordpress.com/post\">beginne einen neuen Beitrag</a>. Wenn du möchtest, kannst du deinen Lesern in diesem Beitrag mitteilen, warum du diesen Blog begonnen hast und was du damit vorhast.",
"post_excerpt": "Dies ist die Kurzfassung des Beitrags, den du gerade liest.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_third_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://rebalancedemo.files.wordpress.com/2011/09/chainlink-691921_1280.jpg",
"hs_old_id": 104
},
{
"post_title": "Hervorgehobener Inhalt",
"post_content": "Dies ist ein Beitrag mit hervorgehobenem Inhalt. Klicke auf den Link „Bearbeiten“, um diesen zu bearbeiten oder zu löschen, oder <a href=\"https://wordpress.com/post\">beginne einen neuen Beitrag</a>.",
"post_excerpt": "Dies ist die Kurzfassung eines Beitrags mit hervorgehobenem Inhalt.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_featured_content",
"hs_sharing": 1,
"hs_like_status": 1,
"tags_input": [
"featured"
],
"attachment_url": "https://rebalancedemo.files.wordpress.com/2015/12/space-shuttle-landing-600463_1920-e1462838881650.jpg",
"hs_old_id": 105
}
],
"menus": {
"social-media": {
"name": "Soziale Medien",
"items": [
{
"menu-item-title": "Facebook",
"menu-item-db-id": 175,
"menu-item-object-id": "175",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 0,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.facebook.com"
},
{
"menu-item-title": "LinkedIn",
"menu-item-db-id": 176,
"menu-item-object-id": "176",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 1,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.linkedin.com"
},
{
"menu-item-title": "Twitter",
"menu-item-db-id": 177,
"menu-item-object-id": "177",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 2,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.twitter.com"
},
{
"menu-item-title": "Instagram",
"menu-item-db-id": 178,
"menu-item-object-id": "178",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 3,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.instagram.com"
}
]
}
}
}

View file

@ -0,0 +1,85 @@
{
"settings": {
"options": {
"show_on_front": "posts",
"posts_per_page": "9",
"stylesheet": "pub\/rebalance"
},
"theme_mods": {
"0": false,
"nav_menu_locations": {
"header": "primary"
},
"header_image": "remove-header",
"background_color": "ffffff",
"colors_manager": {
"colors": {
"bg": "#ffffff",
"txt": "#000000",
"link": "#f35029"
},
"cached": false
},
"custom_logo": ""
},
"headstart": {
"mapped_id_options": [],
"mapped_id_theme_mods": []
}
},
"widgets": [
{
"id": "search-2",
"id_base": "search",
"settings": {
"title": "Search"
},
"sidebar": "sidebar-1",
"position": 0
},
{
"id": "blog_subscription-3",
"id_base": "blog_subscription",
"settings": {
"title": "Follow Blog via Email",
"title_following": "You are following this blog",
"subscribe_logged_in": "Click to follow this blog and receive notifications of new posts by email.",
"subscribe_text": "Enter your email address to follow this blog and receive notifications of new posts by email.",
"subscribe_button": "Follow",
"show_subscribers_total": 1
},
"sidebar": "sidebar-1",
"position": 2
}
],
"content": [
{
"post_title": "Contact",
"post_content": "[contact-form][contact-field label=\"Name\" type=\"name\" required=\"1\"\/][contact-field label=\"Email\" type=\"email\" required=\"1\"\/][contact-field label=\"Comment\" type=\"textarea\" required=\"1\"\/][\/contact-form]",
"post_status": "publish",
"menu_order": 2,
"comment_status": "closed",
"ping_status": "closed",
"post_type": "page",
"hs_custom_meta": "_hs_contact_page",
"hs_sharing": 0,
"hs_like_status": 0,
"hs_old_id": 101
},
{
"post_title": "The Journey Begins",
"post_content": "Thanks for joining me! <blockquote>Good company in a journey makes the way seem shorter. — Izaak Walton<\/blockquote><img class=\"wp-image-7 size-full\" src=\"https://headstartdata.files.wordpress.com/2018/02/post.png\" alt=\"post\" width=\"1000\" height=\"563\" \/>",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_first_post",
"hs_sharing": 0,
"hs_like_status": 0,
"attachment_url": "https:\/\/rebalancedemo.files.wordpress.com\/2015\/12\/space-shuttle-landing-600463_1920-e1462838881650.jpg",
"hs_old_id": 102
}
]
}

View file

@ -0,0 +1,209 @@
{
"settings": {
"options": {
"show_on_front": "posts",
"posts_per_page": "9",
"stylesheet": "pub/rebalance",
"featured-content": {
"tag-id": 35890,
"tag-name": "featured",
"hide-tag": 0,
"show-all": 0
},
"blogdescription": "\"La vida es como ir en bici: para no caerte, debes seguir avanzando\", Albert Einstein"
},
"theme_mods": {
"0": false,
"nav_menu_locations": {
"header": "primary",
"social": "social-media"
},
"header_image": "remove-header",
"background_color": "ffffff",
"colors_manager": {
"colors": {
"bg": "#ffffff",
"txt": "#000000",
"link": "#f35029"
},
"cached": false
},
"custom_logo": ""
},
"headstart": {
"mapped_id_options": [],
"mapped_id_theme_mods": []
}
},
"widgets": [
{
"id": "text-2",
"id_base": "text",
"settings": {
"title": "Widget de texto",
"text": "Este es un widget de texto, que te permite añadir texto o código HTML a tu barra lateral. Utiliza estos widgets para mostrar texto, enlaces, imágenes o código HTML, o bien una combinación de todos estos elementos. Edítalos en la sección Widget del <a href=\"https://wordpress.com/customize/\">Personalizador</a>."
},
"sidebar": "sidebar-1",
"position": 1
},
{
"id": "search-2",
"id_base": "search",
"settings": {
"title": "Buscar"
},
"sidebar": "sidebar-1",
"position": 0
}
],
"content": [
{
"post_title": "Acerca de",
"post_content": "Este es un ejemplo de una página Acerca de. A diferencia de las entradas, las páginas se ajustan mejor a un contenido atemporal que te interesa que sea más accesible, como la información en las páginas Acerca de o Contacto. Haz clic en el enlace Editar para hacer cambios en esta página o bien <a href=\"https://wordpress.com/page\">añade otra página</a>.",
"post_excerpt": "Este es solo un breve extracto de la página&nbsp;Acerca de.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "closed",
"ping_status": "closed",
"post_type": "page",
"hs_custom_meta": "_hs_about_page",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://rebalancedemo.files.wordpress.com/2011/06/rocket-79394_1920.jpg",
"hs_old_id": 100
},
{
"post_title": "Contacto",
"post_content": "Esta es una página Contacto con información básica y un formulario de contacto. [contact-form][contact-field label=\"Nombre\" type=\"name\" required=\"1\"/][contact-field label=\"Correo electrónico\" type=\"email\" required=\"1\"/][contact-field label=\"Sitio web\" type=\"url\"/][contact-field label=\"Comentario\" type=\"textarea\" required=\"1\"/][/contact-form]",
"post_excerpt": "Se trata solo de un breve extracto de la página&nbsp;Contacto.",
"post_status": "publish",
"menu_order": 2,
"comment_status": "closed",
"ping_status": "closed",
"post_type": "page",
"hs_custom_meta": "_hs_contact_page",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/space-shuttle-67648_1920.jpg",
"hs_old_id": 101
},
{
"post_title": "Primera entrada del blog",
"post_content": "Esta es tu primera entrada. Haz clic en el enlace Editar para modificarla o eliminarla, o bien <a href=\"https://wordpress.com/post\">crea una entrada nueva</a>. Si quieres, utilízala para explicar a los lectores por qué has empezado este blog y qué tienes previsto hacer con él.",
"post_excerpt": "Este es el extracto de tu primera entrada.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_first_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/surfing-1082214_1920.jpg",
"hs_old_id": 102
},
{
"post_title": "Título de la entrada de blog",
"post_content": "Esta es otra entrada diferente. Haz clic en el enlace Editar para modificarla o eliminarla, o bien <a href=\"https://wordpress.com/post\">crea una entrada nueva</a>. Si quieres, utilízala para explicar a los lectores por qué has empezado este blog y qué tienes previsto hacer con él.",
"post_excerpt": "Este es el extracto de tu segunda entrada.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_second_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/photo-1461409971633-aa0e46732112.jpg",
"hs_old_id": 103
},
{
"post_title": "Título de la entrada de blog",
"post_content": "Esta es una entrada de blog típica. Haz clic en el enlace Editar para modificarla o eliminarla, o bien <a href=\"https://wordpress.com/post\">crea una entrada nueva</a>. Si quieres, utilízala para explicar a los lectores por qué has empezado este blog y qué tienes previsto hacer con él.",
"post_excerpt": "Este es el extracto de la entrada que estás leyendo en estos momentos.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_third_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://rebalancedemo.files.wordpress.com/2011/09/chainlink-691921_1280.jpg",
"hs_old_id": 104
},
{
"post_title": "Contenido destacado",
"post_content": "Esta es una entrada de contenido destacado. Haz clic en el enlace Editar para modificarla o eliminarla, o bien <a href=\"https://wordpress.com/post\">crea una entrada nueva</a>.",
"post_excerpt": "Este es un extracto de una entrada de contenido destacado.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_featured_content",
"hs_sharing": 1,
"hs_like_status": 1,
"tags_input": [
"featured"
],
"attachment_url": "https://rebalancedemo.files.wordpress.com/2015/12/space-shuttle-landing-600463_1920-e1462838881650.jpg",
"hs_old_id": 105
}
],
"menus": {
"social-media": {
"name": "Redes sociales",
"items": [
{
"menu-item-title": "Facebook",
"menu-item-db-id": 175,
"menu-item-object-id": "175",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 0,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.facebook.com"
},
{
"menu-item-title": "LinkedIn",
"menu-item-db-id": 176,
"menu-item-object-id": "176",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 1,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.linkedin.com"
},
{
"menu-item-title": "Twitter",
"menu-item-db-id": 177,
"menu-item-object-id": "177",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 2,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.twitter.com"
},
{
"menu-item-title": "Instagram",
"menu-item-db-id": 178,
"menu-item-object-id": "178",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 3,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.instagram.com"
}
]
}
}
}

View file

@ -0,0 +1,209 @@
{
"settings": {
"options": {
"show_on_front": "posts",
"posts_per_page": "9",
"stylesheet": "pub/rebalance",
"featured-content": {
"tag-id": 35890,
"tag-name": "featured",
"hide-tag": 0,
"show-all": 0
},
"blogdescription":  La vie, c'est comme une bicyclette, il faut avancer pour ne pas perdre léquilibre. » — Albert Einstein"
},
"theme_mods": {
"0": false,
"nav_menu_locations": {
"header": "primary",
"social": "social-media"
},
"header_image": "remove-header",
"background_color": "ffffff",
"colors_manager": {
"colors": {
"bg": "#ffffff",
"txt": "#000000",
"link": "#f35029"
},
"cached": false
},
"custom_logo": ""
},
"headstart": {
"mapped_id_options": [],
"mapped_id_theme_mods": []
}
},
"widgets": [
{
"id": "text-2",
"id_base": "text",
"settings": {
"title": "Widget de texte",
"text": "Il sagit dun widget de texte, qui vous permet dajouter du texte ou des balises HTML à votre colonne latérale. Vous pouvez lutiliser pour afficher du texte, des liens, des images, des balises HTML ou une association de ces éléments. Modifiez-les dans la section Widget de l<a href=\"https://wordpress.com/customize/\">outil de personnalisation</a>."
},
"sidebar": "sidebar-1",
"position": 1
},
{
"id": "search-2",
"id_base": "search",
"settings": {
"title": "Recherche"
},
"sidebar": "sidebar-1",
"position": 0
}
],
"content": [
{
"post_title": "À propos",
"post_content": "Ceci est un exemple de page « À propos ». À la différence des articles, les pages sont plutôt destinées à du contenu dont vous souhaitez quil soit toujours facilement accessible, comme votre présentation ou vos coordonnées. Cliquez sur le lien de modification pour modifier cette page ou <a href=\"https://wordpress.com/page\">ajouter une autre page</a>.",
"post_excerpt": "Ceci est un petit extrait destiné à la &nbsp;page « À propos ».",
"post_status": "publish",
"menu_order": 1,
"comment_status": "closed",
"ping_status": "closed",
"post_type": "page",
"hs_custom_meta": "_hs_about_page",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://rebalancedemo.files.wordpress.com/2011/06/rocket-79394_1920.jpg",
"hs_old_id": 100
},
{
"post_title": "Contact",
"post_content": "Ceci est une page de coordonnées comportant quelques informations de base et un formulaire de contact. [contact-form][contact-field label=\"Nom\" type=\"name\" required=\"1\"/][contact-field label=\"E-mail\" type=\"email\" required=\"1\"/][contact-field label=\"Site Web\" type=\"url\"/][contact-field label=\"Commentaire\" type=\"textarea\" required=\"1\"/][/contact-form]",
"post_excerpt": "Ceci est un petit extrait destiné à la page «&nbsp;Contact ».",
"post_status": "publish",
"menu_order": 2,
"comment_status": "closed",
"ping_status": "closed",
"post_type": "page",
"hs_custom_meta": "_hs_contact_page",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/space-shuttle-67648_1920.jpg",
"hs_old_id": 101
},
{
"post_title": "Premier article de blog",
"post_content": "Il sagit de votre tout premier article Cliquez sur le lien Modifier pour le modifier ou le supprimer ou <a href=\"https://wordpress.com/post\">commencez un nouvel article</a>. Si vous le souhaitez, utilisez cet article pour indiquer aux lecteurs pourquoi vous avez commencé ce blog et ce que vous envisagez den faire.",
"post_excerpt": "Il sagit de lextrait de votre tout premier article.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_first_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/surfing-1082214_1920.jpg",
"hs_old_id": 102
},
{
"post_title": "Titre des articles du blog",
"post_content": "Il sagit dun autre article. Cliquez sur le lien Modifier pour le modifier ou le supprimer ou <a href=\"https://wordpress.com/post\">commencez un nouvel article</a>. Si vous le souhaitez, utilisez cet article pour indiquer aux lecteurs pourquoi vous avez commencé ce blog et ce que vous envisagez den faire.",
"post_excerpt": "Il sagit de lextrait de votre second article.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_second_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/photo-1461409971633-aa0e46732112.jpg",
"hs_old_id": 103
},
{
"post_title": "Titre des articles du blog",
"post_content": "Il sagit dun article de blog type. Cliquez sur le lien Modifier pour le modifier ou le supprimer ou <a href=\"https://wordpress.com/post\">commencez un nouvel article</a>. Si vous le souhaitez, utilisez cet article pour indiquer aux lecteurs pourquoi vous avez commencé ce blog et ce que vous envisagez den faire.",
"post_excerpt": "Il sagit dun extrait de larticle que vous êtes en train de lire.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_third_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://rebalancedemo.files.wordpress.com/2011/09/chainlink-691921_1280.jpg",
"hs_old_id": 104
},
{
"post_title": "Contenu mis en avant",
"post_content": "Il sagit dun article présentant le contenu mis en avant. Cliquez sur le lien Modifier pour le modifier ou le supprimer ou <a href=\"https://wordpress.com/post\">commencez un nouvel article</a>.",
"post_excerpt": "Il sagit de lextrait dun article présentant le contenu mis en avant.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_featured_content",
"hs_sharing": 1,
"hs_like_status": 1,
"tags_input": [
"featured"
],
"attachment_url": "https://rebalancedemo.files.wordpress.com/2015/12/space-shuttle-landing-600463_1920-e1462838881650.jpg",
"hs_old_id": 105
}
],
"menus": {
"social-media": {
"name": "Réseaux sociaux",
"items": [
{
"menu-item-title": "Facebook",
"menu-item-db-id": 175,
"menu-item-object-id": "175",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 0,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.facebook.com"
},
{
"menu-item-title": "LinkedIn",
"menu-item-db-id": 176,
"menu-item-object-id": "176",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 1,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.linkedin.com"
},
{
"menu-item-title": "Twitter",
"menu-item-db-id": 177,
"menu-item-object-id": "177",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 2,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.twitter.com"
},
{
"menu-item-title": "Instagram",
"menu-item-db-id": 178,
"menu-item-object-id": "178",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 3,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.instagram.com"
}
]
}
}
}

View file

@ -0,0 +1,209 @@
{
"settings": {
"options": {
"show_on_front": "posts",
"posts_per_page": "9",
"stylesheet": "pub/rebalance",
"featured-content": {
"tag-id": 35890,
"tag-name": "featured",
"hide-tag": 0,
"show-all": 0
},
"blogdescription": "\"החיים הם כמו לרכוב על אופניים - כדי לשמור על איזון, חייבים להמשיך לנוע.\" -אלברט איינשטיין"
},
"theme_mods": {
"0": false,
"nav_menu_locations": {
"header": "primary",
"social": "social-media"
},
"header_image": "remove-header",
"background_color": "ffffff",
"colors_manager": {
"colors": {
"bg": "#ffffff",
"txt": "#000000",
"link": "#f35029"
},
"cached": false
},
"custom_logo": ""
},
"headstart": {
"mapped_id_options": [],
"mapped_id_theme_mods": []
}
},
"widgets": [
{
"id": "text-2",
"id_base": "text",
"settings": {
"title": "וידג'ט טקסט",
"text": "זהו וידג'ט לטקסט שמאפשר לך להוסיף טקסט או HTML לסרגל הצדי שלך. אפשר להשתמש בהם להצגת טקסט, קישורים, תמונות, HTML או שילוב של התכנים הללו. ניתן לערוך אותם במקטע 'וידג'טים' ב<a href=\"https://wordpress.com/customize/\">כלי ההתאמה האישית</a>."
},
"sidebar": "sidebar-1",
"position": 1
},
{
"id": "search-2",
"id_base": "search",
"settings": {
"title": "חיפוש"
},
"sidebar": "sidebar-1",
"position": 0
}
],
"content": [
{
"post_title": "אודות",
"post_content": "זהו עמוד 'אודות' לדוגמה. להבדיל מפוסטים, עמודים מתאימים יותר ליצירת גישה קלה לתוכן שאינו תלוי בזמן, למשל 'אודות' או 'פרטים ליצירת קשר'. יש ללחוץ על הקישור 'עריכה' כדי לבצע שינויים בעמוד זה או <a href=\"https://wordpress.com/page\">להוסיף עוד עמוד</a>.",
"post_excerpt": "זהו תקציר עבור &nbsp;עמוד 'אודות'.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "closed",
"ping_status": "closed",
"post_type": "page",
"hs_custom_meta": "_hs_about_page",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://rebalancedemo.files.wordpress.com/2011/06/rocket-79394_1920.jpg",
"hs_old_id": 100
},
{
"post_title": "יצירת קשר",
"post_content": "זהו עמוד 'יצירת קשר' שכולל פרטי קשר בסיסיים וכן טופס יצירת קשר. [contact-form][contact-field label=\"שם\" type=\"name\" required=\"1\"/][contact-field label=\"אימייל\" type=\"email\" required=\"1\"/][contact-field label=\"אתר אינטרנט\" type=\"url\"/][contact-field label=\"תגובה\" type=\"textarea\" required=\"1\"/][/contact-form]",
"post_excerpt": "זהו תקציר עבור עמוד&nbsp;'יצירת קשר'.",
"post_status": "publish",
"menu_order": 2,
"comment_status": "closed",
"ping_status": "closed",
"post_type": "page",
"hs_custom_meta": "_hs_contact_page",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/space-shuttle-67648_1920.jpg",
"hs_old_id": 101
},
{
"post_title": "פוסט ראשון",
"post_content": "הפוסט הזה הוא הראשון שלך. יש ללחוץ על הקישור 'עריכה' כדי לשנות או למחוק אותו או <a href=\"https://wordpress.com/post\">להתחיל פוסט חדש</a>. אפשר לנצל את הפוסט הזה כדי להסביר לקוראים מדוע פתחת את הבלוג ומה בכוונתך לעשות אתו.",
"post_excerpt": "זהו התקציר של הפוסט הראשון שלך.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_first_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/surfing-1082214_1920.jpg",
"hs_old_id": 102
},
{
"post_title": "כותרת הפוסט",
"post_content": "זהו פוסט נוסף. יש ללחוץ על הקישור 'עריכה' כדי לשנות או למחוק אותו או <a href=\"https://wordpress.com/post\">להתחיל פוסט חדש</a>. אפשר לנצל את הפוסט הזה כדי להסביר לקוראים מדוע פתחת את הבלוג ומה בכוונתך לעשות אתו.",
"post_excerpt": "זהו התקציר של הפוסט השני שלך.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_second_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/photo-1461409971633-aa0e46732112.jpg",
"hs_old_id": 103
},
{
"post_title": "כותרת הפוסט",
"post_content": "זהו פוסט טיפוסי בבלוג. יש ללחוץ על הקישור 'עריכה' כדי לשנות או למחוק אותו או <a href=\"https://wordpress.com/post\">להתחיל פוסט חדש</a>. אפשר לנצל את הפוסט הזה כדי להסביר לקוראים מדוע פתחת את הבלוג ומה בכוונתך לעשות אתו.",
"post_excerpt": "זהו התקציר של הפוסט שפתוח כרגע לקריאה אצלך.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_third_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://rebalancedemo.files.wordpress.com/2011/09/chainlink-691921_1280.jpg",
"hs_old_id": 104
},
{
"post_title": "תוכן ראשי",
"post_content": "זהו פוסט תוכן ראשי. יש ללחוץ על הקישור 'עריכה' כדי לשנות או למחוק אותו או <a href=\"https://wordpress.com/post\">להתחיל פוסט חדש</a>.",
"post_excerpt": "זהו התקציר של פוסט תוכן ראשי.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_featured_content",
"hs_sharing": 1,
"hs_like_status": 1,
"tags_input": [
"featured"
],
"attachment_url": "https://rebalancedemo.files.wordpress.com/2015/12/space-shuttle-landing-600463_1920-e1462838881650.jpg",
"hs_old_id": 105
}
],
"menus": {
"social-media": {
"name": "רשתות חברתיות",
"items": [
{
"menu-item-title": "פייסבוק",
"menu-item-db-id": 175,
"menu-item-object-id": "175",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 0,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.facebook.com"
},
{
"menu-item-title": "LinkedIn",
"menu-item-db-id": 176,
"menu-item-object-id": "176",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 1,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.linkedin.com"
},
{
"menu-item-title": "טוויטר",
"menu-item-db-id": 177,
"menu-item-object-id": "177",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 2,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.twitter.com"
},
{
"menu-item-title": "Instagram",
"menu-item-db-id": 178,
"menu-item-object-id": "178",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 3,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.instagram.com"
}
]
}
}
}

View file

@ -0,0 +1,209 @@
{
"settings": {
"options": {
"show_on_front": "posts",
"posts_per_page": "9",
"stylesheet": "pub/rebalance",
"featured-content": {
"tag-id": 35890,
"tag-name": "featured",
"hide-tag": 0,
"show-all": 0
},
"blogdescription": "“Hidup itu seperti mengayuh sepeda. Agar tetap seimbang, kita harus terus bergerak.” — Albert Einstein"
},
"theme_mods": {
"0": false,
"nav_menu_locations": {
"header": "primary",
"social": "social-media"
},
"header_image": "remove-header",
"background_color": "ffffff",
"colors_manager": {
"colors": {
"bg": "#ffffff",
"txt": "#000000",
"link": "#f35029"
},
"cached": false
},
"custom_logo": ""
},
"headstart": {
"mapped_id_options": [],
"mapped_id_theme_mods": []
}
},
"widgets": [
{
"id": "text-2",
"id_base": "text",
"settings": {
"title": "Widget Teks",
"text": "Ini adalah widget teks, yang memungkinkan Anda menambahkan teks atau HTML ke bilah sisi. Anda dapat menggunakannya untuk menampilkan teks, tautan, gambar, HTML, atau perpaduan semua hal itu. Sunting semuanya di bagian Widget dari <a href=\"https://wordpress.com/customize/\">Customizer</a>."
},
"sidebar": "sidebar-1",
"position": 1
},
{
"id": "search-2",
"id_base": "search",
"settings": {
"title": "Cari"
},
"sidebar": "sidebar-1",
"position": 0
}
],
"content": [
{
"post_title": "Tentang",
"post_content": "Ini adalah contoh halaman tentang. Tidak seperti pos, halaman lebih cocok untuk konten tanpa batas waktu yang Anda inginkan untuk dapat diakses dengan mudah, seperti informasi Tentang atau Kontak. Klik tautan Sunting untuk melakukan perubahan pada halaman ini atau <a href=\"https://wordpress.com/page\">tambahkan halaman lain</a>.",
"post_excerpt": "Ini hanya kutipan singkat untuk halaman&nbsp;tentang.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "closed",
"ping_status": "closed",
"post_type": "page",
"hs_custom_meta": "_hs_about_page",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://rebalancedemo.files.wordpress.com/2011/06/rocket-79394_1920.jpg",
"hs_old_id": 100
},
{
"post_title": "Kontak",
"post_content": "Ini adalah halaman kontak yang berisi informasi kontak dasar dan formulir kontak. [contact-form][contact-field label=\"Nama\" type=\"name\" required=\"1\"/][contact-field label=\"Email\" type=\"email\" required=\"1\"/][contact-field label=\"Situs web\" type=\"url\"/][contact-field label=\"Komentar\" type=\"textarea\" required=\"1\"/][/contact-form]",
"post_excerpt": "Ini hanya kutipan singkat untuk halaman&nbsp;kontak.",
"post_status": "publish",
"menu_order": 2,
"comment_status": "closed",
"ping_status": "closed",
"post_type": "page",
"hs_custom_meta": "_hs_contact_page",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/space-shuttle-67648_1920.jpg",
"hs_old_id": 101
},
{
"post_title": "Pos blog pertama",
"post_content": "Ini adalah pos pertama Anda. Klik tautan Sunting untuk mengubah atau menghapusnya, atau <a href=\"https://wordpress.com/post\">mulai pos baru</a>. Jika ingin, Anda dapat menggunakan pos ini untuk menjelaskan kepada pembaca mengenai alasan Anda memulai blog ini dan rencana Anda dengan blog ini.",
"post_excerpt": "Ini adalah kutipan pos pertama Anda.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_first_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/surfing-1082214_1920.jpg",
"hs_old_id": 102
},
{
"post_title": "Judul pos blog",
"post_content": "Ini adalah pos lainnya. Klik tautan Sunting untuk mengubah atau menghapusnya, atau <a href=\"https://wordpress.com/post\">mulai pos baru</a>. Jika ingin, Anda dapat menggunakan pos ini untuk menjelaskan kepada pembaca mengenai alasan Anda memulai blog ini dan rencana Anda dengan blog ini.",
"post_excerpt": "Ini adalah kutipan pos kedua Anda.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_second_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/photo-1461409971633-aa0e46732112.jpg",
"hs_old_id": 103
},
{
"post_title": "Judul pos blog",
"post_content": "Ini adalah pos blog umum. Klik tautan Sunting untuk mengubah atau menghapusnya, atau <a href=\"https://wordpress.com/post\">mulai pos baru</a>. Jika ingin, Anda dapat menggunakan pos ini untuk menjelaskan kepada pembaca mengenai alasan Anda memulai blog ini dan rencana Anda dengan blog ini.",
"post_excerpt": "Ini adalah kutipan pos yang sedang Anda baca.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_third_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://rebalancedemo.files.wordpress.com/2011/09/chainlink-691921_1280.jpg",
"hs_old_id": 104
},
{
"post_title": "Konten Utama",
"post_content": "Ini adalah pos konten andalan. Klik tautan Sunting untuk mengubah atau menghapusnya, atau <a href=\"https://wordpress.com/post\">mulai pos baru</a>.",
"post_excerpt": "Ini adalah kutipan pos konten utama.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_featured_content",
"hs_sharing": 1,
"hs_like_status": 1,
"tags_input": [
"featured"
],
"attachment_url": "https://rebalancedemo.files.wordpress.com/2015/12/space-shuttle-landing-600463_1920-e1462838881650.jpg",
"hs_old_id": 105
}
],
"menus": {
"social-media": {
"name": "Media Sosial",
"items": [
{
"menu-item-title": "Facebook",
"menu-item-db-id": 175,
"menu-item-object-id": "175",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 0,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.facebook.com"
},
{
"menu-item-title": "LinkedIn",
"menu-item-db-id": 176,
"menu-item-object-id": "176",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 1,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.linkedin.com"
},
{
"menu-item-title": "Twitter",
"menu-item-db-id": 177,
"menu-item-object-id": "177",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 2,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.twitter.com"
},
{
"menu-item-title": "Instagram",
"menu-item-db-id": 178,
"menu-item-object-id": "178",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 3,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.instagram.com"
}
]
}
}
}

View file

@ -0,0 +1,209 @@
{
"settings": {
"options": {
"show_on_front": "posts",
"posts_per_page": "9",
"stylesheet": "pub/rebalance",
"featured-content": {
"tag-id": 35890,
"tag-name": "featured",
"hide-tag": 0,
"show-all": 0
},
"blogdescription": "\"La vita è come andare in bicicletta. Se vuoi stare in equilibrio, devi muoverti.\" - Albert Einstein"
},
"theme_mods": {
"0": false,
"nav_menu_locations": {
"header": "primary",
"social": "social-media"
},
"header_image": "remove-header",
"background_color": "ffffff",
"colors_manager": {
"colors": {
"bg": "#ffffff",
"txt": "#000000",
"link": "#f35029"
},
"cached": false
},
"custom_logo": ""
},
"headstart": {
"mapped_id_options": [],
"mapped_id_theme_mods": []
}
},
"widgets": [
{
"id": "text-2",
"id_base": "text",
"settings": {
"title": "Widget di testo",
"text": "Questo è un widget di testo che ti consente di aggiungere testo o elementi HTML alla barra laterale. Puoi utilizzarli per visualizzare testo, link, immagini, elementi HTML o una combinazione di tutti questi. Modificali nella sezione Widget dell'<a href=\"https://wordpress.com/customize/\">utilità di personalizzazione</a>."
},
"sidebar": "sidebar-1",
"position": 1
},
{
"id": "search-2",
"id_base": "search",
"settings": {
"title": "Ricerca"
},
"sidebar": "sidebar-1",
"position": 0
}
],
"content": [
{
"post_title": "Informazioni",
"post_content": "Questo è l'esempio di una pagina di informazioni. A differenza degli articoli, le pagine sono più indicate per i contenuti senza data che vuoi siano facilmente accessibili, come le pagine di informazioni o dei contatti. Fai clic sul link Modifica per modificare questa pagina oppure <a href=\"https://wordpress.com/page\">aggiungi un'altra pagina</a>.",
"post_excerpt": "Questo è solo un piccolo estratto per la pagina di&nbsp;informazioni.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "closed",
"ping_status": "closed",
"post_type": "page",
"hs_custom_meta": "_hs_about_page",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://rebalancedemo.files.wordpress.com/2011/06/rocket-79394_1920.jpg",
"hs_old_id": 100
},
{
"post_title": "Contatti",
"post_content": "Questa è una pagina di contatto con alcune informazioni di contatto di base e un modulo di contatto. [contact-form][contact-field label=\"Nome\" type=\"name\" required=\"1\"/][contact-field label=\"E-mail\" type=\"email\" required=\"1\"/][contact-field label=\"Sito web\" type=\"url\"/][contact-field label=\"Commento\" type=\"textarea\" required=\"1\"/][/contact-form]",
"post_excerpt": "Questo è solo un piccolo estratto per la pagina dei&nbsp;contatti.",
"post_status": "publish",
"menu_order": 2,
"comment_status": "closed",
"ping_status": "closed",
"post_type": "page",
"hs_custom_meta": "_hs_contact_page",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/space-shuttle-67648_1920.jpg",
"hs_old_id": 101
},
{
"post_title": "Primo articolo del blog",
"post_content": "Questo è il tuo primo articolo. Fai clic sul link Modifica per modificarlo o eliminarlo oppure <a href=\"https://wordpress.com/post\">inizia un nuovo articolo</a>. Se desideri, usa questo articolo per dire ai lettori perché hai iniziato questo blog e cosa intendi farne.",
"post_excerpt": "Questo è l'estratto per il tuo primo articolo.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_first_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/surfing-1082214_1920.jpg",
"hs_old_id": 102
},
{
"post_title": "Titolo dell'articolo sul blog",
"post_content": "Questo è un altro articolo. Fai clic sul link Modifica per modificarlo o eliminarlo oppure <a href=\"https://wordpress.com/post\">inizia un nuovo articolo</a>. Se desideri, usa questo articolo per dire ai lettori perché hai iniziato questo blog e cosa intendi farne.",
"post_excerpt": "Questo è l'estratto per il secondo articolo.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_second_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/photo-1461409971633-aa0e46732112.jpg",
"hs_old_id": 103
},
{
"post_title": "Titolo dell'articolo sul blog",
"post_content": "Questo è un tipico articolo di blog. Fai clic sul link Modifica per modificarlo o eliminarlo oppure <a href=\"https://wordpress.com/post\">inizia un nuovo articolo</a>. Se desideri, usa questo articolo per dire ai lettori perché hai iniziato questo blog e cosa intendi farne.",
"post_excerpt": "Questo è l'estratto per l'articolo che stai leggendo in questo momento.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_third_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://rebalancedemo.files.wordpress.com/2011/09/chainlink-691921_1280.jpg",
"hs_old_id": 104
},
{
"post_title": "Contenuti in evidenza",
"post_content": "Questo è un articolo di contenuti in evidenza. Fai clic sul link Modifica per modificarlo o eliminarlo oppure <a href=\"https://wordpress.com/post\">inizia un nuovo articolo</a>.",
"post_excerpt": "Questo è l'estratto per un articolo di contenuti in evidenza.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_featured_content",
"hs_sharing": 1,
"hs_like_status": 1,
"tags_input": [
"featured"
],
"attachment_url": "https://rebalancedemo.files.wordpress.com/2015/12/space-shuttle-landing-600463_1920-e1462838881650.jpg",
"hs_old_id": 105
}
],
"menus": {
"social-media": {
"name": "Social media",
"items": [
{
"menu-item-title": "Facebook",
"menu-item-db-id": 175,
"menu-item-object-id": "175",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 0,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.facebook.com"
},
{
"menu-item-title": "LinkedIn",
"menu-item-db-id": 176,
"menu-item-object-id": "176",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 1,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.linkedin.com"
},
{
"menu-item-title": "Twitter",
"menu-item-db-id": 177,
"menu-item-object-id": "177",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 2,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.twitter.com"
},
{
"menu-item-title": "Instagram",
"menu-item-db-id": 178,
"menu-item-object-id": "178",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 3,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.instagram.com"
}
]
}
}
}

View file

@ -0,0 +1,209 @@
{
"settings": {
"options": {
"show_on_front": "posts",
"posts_per_page": "9",
"stylesheet": "pub/rebalance",
"featured-content": {
"tag-id": 35890,
"tag-name": "featured",
"hide-tag": 0,
"show-all": 0
},
"blogdescription": "「人生とは自転車のようなものだ。倒れないようにするには走らなければならない。」—アルバート・アインシュタイン"
},
"theme_mods": {
"0": false,
"nav_menu_locations": {
"header": "primary",
"social": "social-media"
},
"header_image": "remove-header",
"background_color": "ffffff",
"colors_manager": {
"colors": {
"bg": "#ffffff",
"txt": "#000000",
"link": "#f35029"
},
"cached": false
},
"custom_logo": ""
},
"headstart": {
"mapped_id_options": [],
"mapped_id_theme_mods": []
}
},
"widgets": [
{
"id": "text-2",
"id_base": "text",
"settings": {
"title": "テキストウィジェット",
"text": "これはテキストウィジェットです。サイドバーにテキストや HTML を追加できるようになります。テキストウィジェットを使って、テキスト、リンク、画像、HTML、またはこれらの組み合わせを表示できます。これらは、<a href=\"https://wordpress.com/customize/\">カスタマイザー</a>のウィジェットセクションで編集します。"
},
"sidebar": "sidebar-1",
"position": 1
},
{
"id": "search-2",
"id_base": "search",
"settings": {
"title": "検索"
},
"sidebar": "sidebar-1",
"position": 0
}
],
"content": [
{
"post_title": "このサイトについて",
"post_content": "これは、「このサイトについて」ページのサンプルです。投稿とは違い、ページは時系列に関係なく簡単にアクセスできるようにしたいコンテンツに向いています。たとえば「このサイトについて」や「お問い合わせ」などです。編集リンクをクリックしてこのページに変更を加えるか、<a href=\"https://wordpress.com/page\">新しいページを作成</a>してみましょう。",
"post_excerpt": "これは、「このサイトについて」ページの抜粋です。",
"post_status": "publish",
"menu_order": 1,
"comment_status": "closed",
"ping_status": "closed",
"post_type": "page",
"hs_custom_meta": "_hs_about_page",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://rebalancedemo.files.wordpress.com/2011/06/rocket-79394_1920.jpg",
"hs_old_id": 100
},
{
"post_title": "お問い合わせ",
"post_content": "これは、「お問い合わせ」ページです。このページには、基本的な連絡先情報とお問い合わせフォームがあります。[contact-form][contact-field label=\"名前\" type=\"name\" required=\"1\"/][contact-field label=\"メール\" type=\"email\" required=\"1\"/][contact-field label=\"サイト\" type=\"url\"/][contact-field label=\"コメント\" type=\"textarea\" required=\"1\"/][/contact-form]",
"post_excerpt": "これは、「お問い合わせ」ページの抜粋です。",
"post_status": "publish",
"menu_order": 2,
"comment_status": "closed",
"ping_status": "closed",
"post_type": "page",
"hs_custom_meta": "_hs_contact_page",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/space-shuttle-67648_1920.jpg",
"hs_old_id": 101
},
{
"post_title": "最初のブログ投稿",
"post_content": "これは最初の投稿です。編集リンクをクリックして内容の変更や削除を行うか、<a href=\"https://wordpress.com/post\">新しい投稿を追加</a>しましょう。この投稿内で、なぜブログを始めたのか、どんなことについてブログを書いていくのか、といったことを読者に伝えるのもよいでしょう。",
"post_excerpt": "これは、最初の投稿の抜粋です。",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_first_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/surfing-1082214_1920.jpg",
"hs_old_id": 102
},
{
"post_title": "ブログ投稿のタイトル",
"post_content": "これは別の投稿です。編集リンクをクリックして内容の変更や削除を行うか、<a href=\"https://wordpress.com/post\">新しい投稿を追加</a>しましょう。この投稿内で、なぜブログを始めたのか、どんなことについてブログを書いていくのか、といったことを読者に伝えるのもよいでしょう。",
"post_excerpt": "これは2回目の投稿の抜粋です。",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_second_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/photo-1461409971633-aa0e46732112.jpg",
"hs_old_id": 103
},
{
"post_title": "ブログ投稿のタイトル",
"post_content": "これはよくあるブログ投稿です。編集リンクをクリックして内容の変更や削除を行うか、<a href=\"https://wordpress.com/post\">新しい投稿を追加</a>しましょう。この投稿内で、なぜブログを始めたのか、どんなことについてブログを書いていくのか、といったことを読者に伝えるのもよいでしょう。",
"post_excerpt": "これは、現在閲覧している投稿の抜粋です。",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_third_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://rebalancedemo.files.wordpress.com/2011/09/chainlink-691921_1280.jpg",
"hs_old_id": 104
},
{
"post_title": "おすすめコンテンツ",
"post_content": "これはおすすめコンテンツの投稿です。編集リンクをクリックして内容の変更や削除を行うか、<a href=\"https://wordpress.com/post\">新しい投稿を追加</a>しましょう。",
"post_excerpt": "これは、おすすめコンテンツ投稿の抜粋です。",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_featured_content",
"hs_sharing": 1,
"hs_like_status": 1,
"tags_input": [
"featured"
],
"attachment_url": "https://rebalancedemo.files.wordpress.com/2015/12/space-shuttle-landing-600463_1920-e1462838881650.jpg",
"hs_old_id": 105
}
],
"menus": {
"social-media": {
"name": "ソーシャルメディア",
"items": [
{
"menu-item-title": "Facebook",
"menu-item-db-id": 175,
"menu-item-object-id": "175",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 0,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.facebook.com"
},
{
"menu-item-title": "LinkedIn",
"menu-item-db-id": 176,
"menu-item-object-id": "176",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 1,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.linkedin.com"
},
{
"menu-item-title": "Twitter",
"menu-item-db-id": 177,
"menu-item-object-id": "177",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 2,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.twitter.com"
},
{
"menu-item-title": "Instagram",
"menu-item-db-id": 178,
"menu-item-object-id": "178",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 3,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.instagram.com"
}
]
}
}
}

View file

@ -0,0 +1,209 @@
{
"settings": {
"options": {
"show_on_front": "posts",
"posts_per_page": "9",
"stylesheet": "pub/rebalance",
"featured-content": {
"tag-id": 35890,
"tag-name": "featured",
"hide-tag": 0,
"show-all": 0
},
"blogdescription": "\"인생은 자전거 타기와 같다. 균형을 잡으려면 계속 움직여야 한다.\" - 알베르트 아인슈타인"
},
"theme_mods": {
"0": false,
"nav_menu_locations": {
"header": "primary",
"social": "social-media"
},
"header_image": "remove-header",
"background_color": "ffffff",
"colors_manager": {
"colors": {
"bg": "#ffffff",
"txt": "#000000",
"link": "#f35029"
},
"cached": false
},
"custom_logo": ""
},
"headstart": {
"mapped_id_options": [],
"mapped_id_theme_mods": []
}
},
"widgets": [
{
"id": "text-2",
"id_base": "text",
"settings": {
"title": "텍스트 위젯",
"text": "사이드바에 텍스트 또는 HTML을 추가할 수 있는 텍스트 위젯입니다. 텍스트 위젯을 사용하여 텍스트, 링크, 이미지, HTML을 단독으로 또는 조합하여 표시할 수 있습니다. <a href=\"https://wordpress.com/customize/\">사용자 정의 기능</a>의 위젯 섹션에서 이러한 항목을 편집해 보세요."
},
"sidebar": "sidebar-1",
"position": 1
},
{
"id": "search-2",
"id_base": "search",
"settings": {
"title": "검색"
},
"sidebar": "sidebar-1",
"position": 0
}
],
"content": [
{
"post_title": "정보",
"post_content": "이 페이지는 정보 페이지의 예입니다. 글과 달리 페이지는 내 정보 또는 연락처 정보처럼 쉽게 액세스하고 자주 수정하지 않는 콘텐츠에 더 적합합니다. 편집 링크를 클릭해 이 페이지를 수정하거나 <a href=\"https://wordpress.com/page\">다른 페이지를 추가</a>하세요.",
"post_excerpt": "이 내용은 정보&nbsp;페이지의 간략한 요약문입니다.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "closed",
"ping_status": "closed",
"post_type": "page",
"hs_custom_meta": "_hs_about_page",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://rebalancedemo.files.wordpress.com/2011/06/rocket-79394_1920.jpg",
"hs_old_id": 100
},
{
"post_title": "문의",
"post_content": "이 페이지는 몇 가지 기본 연락처 정보와 문의 양식이 포함되어 있는 연락처 페이지입니다. [contact-form][contact-field label=\"이름\" type=\"name\" required=\"1\"/][contact-field label=\"이메일\" type=\"email\" required=\"1\"/][contact-field label=\"웹사이트\" type=\"url\"/][contact-field label=\"댓글\" type=\"textarea\" required=\"1\"/][/contact-form]",
"post_excerpt": "이 내용은 연락처&nbsp;페이지의 간략한 요약문입니다.",
"post_status": "publish",
"menu_order": 2,
"comment_status": "closed",
"ping_status": "closed",
"post_type": "page",
"hs_custom_meta": "_hs_contact_page",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/space-shuttle-67648_1920.jpg",
"hs_old_id": 101
},
{
"post_title": "첫 번째 블로그 글",
"post_content": "회원님의 첫 번째 글입니다. 편집 링크를 클릭하여 편집 또는 삭제하거나 <a href=\"https://wordpress.com/post\">새 글을 작성하세요</a>. 원하는 경우 이 글을 사용하여 독자들에게 이 블로그를 시작한 이유와 어떻게 활용할 것인지를 알리세요.",
"post_excerpt": "회원님의 첫 번째 글을 요약한 것입니다.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_first_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/surfing-1082214_1920.jpg",
"hs_old_id": 102
},
{
"post_title": "블로그 글 제목",
"post_content": "다른 글입니다. 편집 링크를 클릭하여 편집 또는 삭제하거나 <a href=\"https://wordpress.com/post\">새 글을 작성하세요</a>. 원하는 경우 이 글을 사용하여 독자들에게 이 블로그를 시작한 이유와 어떻게 활용할 것인지를 알리세요.",
"post_excerpt": "두 번째 글의 요약문입니다.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_second_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/photo-1461409971633-aa0e46732112.jpg",
"hs_old_id": 103
},
{
"post_title": "블로그 글 제목",
"post_content": "일반적인 블로그 글입니다. 편집 링크를 클릭하여 편집 또는 삭제하거나 <a href=\"https://wordpress.com/post\">새 글을 작성하세요</a>. 원하는 경우 이 글을 사용하여 독자들에게 이 블로그를 시작한 이유와 어떻게 활용할 것인지를 알리세요.",
"post_excerpt": "현재 읽고 있는 글의 요약문입니다.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_third_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://rebalancedemo.files.wordpress.com/2011/09/chainlink-691921_1280.jpg",
"hs_old_id": 104
},
{
"post_title": "특성 콘텐츠",
"post_content": "특성 콘텐츠 글입니다. 편집 링크를 클릭하여 편집 또는 삭제하거나 <a href=\"https://wordpress.com/post\">새 글을 작성하세요</a>.",
"post_excerpt": "특성 콘텐츠 글에 대한 요약문입니다.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_featured_content",
"hs_sharing": 1,
"hs_like_status": 1,
"tags_input": [
"featured"
],
"attachment_url": "https://rebalancedemo.files.wordpress.com/2015/12/space-shuttle-landing-600463_1920-e1462838881650.jpg",
"hs_old_id": 105
}
],
"menus": {
"social-media": {
"name": "소셜 미디어",
"items": [
{
"menu-item-title": "페이스북",
"menu-item-db-id": 175,
"menu-item-object-id": "175",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 0,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.facebook.com"
},
{
"menu-item-title": "링크드인",
"menu-item-db-id": 176,
"menu-item-object-id": "176",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 1,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.linkedin.com"
},
{
"menu-item-title": "트위터",
"menu-item-db-id": 177,
"menu-item-object-id": "177",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 2,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.twitter.com"
},
{
"menu-item-title": "인스타그램",
"menu-item-db-id": 178,
"menu-item-object-id": "178",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 3,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.instagram.com"
}
]
}
}
}

View file

@ -0,0 +1,209 @@
{
"settings": {
"options": {
"show_on_front": "posts",
"posts_per_page": "9",
"stylesheet": "pub/rebalance",
"featured-content": {
"tag-id": 35890,
"tag-name": "featured",
"hide-tag": 0,
"show-all": 0
},
"blogdescription": "'Het leven is als fietsen. Om je balans te houden, moet je vooruit blijven gaan' — Albert Einstein"
},
"theme_mods": {
"0": false,
"nav_menu_locations": {
"header": "primary",
"social": "social-media"
},
"header_image": "remove-header",
"background_color": "ffffff",
"colors_manager": {
"colors": {
"bg": "#ffffff",
"txt": "#000000",
"link": "#f35029"
},
"cached": false
},
"custom_logo": ""
},
"headstart": {
"mapped_id_options": [],
"mapped_id_theme_mods": []
}
},
"widgets": [
{
"id": "text-2",
"id_base": "text",
"settings": {
"title": "Tekstwidget",
"text": "Dit is een tekstwidget. Hiermee kun je tekst of HTML toevoegen aan je sidebar. Je kunt ze gebruiken om tekst, links, afbeeldingen, HTML of een combinatie van deze weer te laten geven. Bewerk ze in de sectie Widget van het <a href=\"https://wordpress.com/customize/\">Aanpassingsmenu</a>."
},
"sidebar": "sidebar-1",
"position": 1
},
{
"id": "search-2",
"id_base": "search",
"settings": {
"title": "Zoeken"
},
"sidebar": "sidebar-1",
"position": 0
}
],
"content": [
{
"post_title": "Over",
"post_content": "Dit is een voorbeeld van de pagina Over. In tegenstelling tot berichten zijn pagina's beter geschikt voor meer tijdloze inhoud die je eenvoudig toegankelijk wilt maken, zoals de gegevens bij Over of bij Contact. Klik op de link Bewerken om wijzigingen door te voeren in deze pagina of <a href=\"https://wordpress.com/page\">voeg een nieuwe pagina toe</a>.",
"post_excerpt": "Dit is slechts een samenvatting van de pagina&nbsp;Over.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "closed",
"ping_status": "closed",
"post_type": "page",
"hs_custom_meta": "_hs_about_page",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://rebalancedemo.files.wordpress.com/2011/06/rocket-79394_1920.jpg",
"hs_old_id": 100
},
{
"post_title": "Contact",
"post_content": "Dit is een contactpagina met enkele contactgegevens en een contactformulier. [contact-form][contact-field label=\"Naam\" type=\"name\" required=\"1\"/][contact-field label=\"E-mail\" type=\"email\" required=\"1\"/][contact-field label=\"Website\" type=\"url\"/][contact-field label=\"Reactie\" type=\"textarea\" required=\"1\"/][/contact-form]",
"post_excerpt": "Dit is slechts een samenvatting van de pagina&nbsp;Contact.",
"post_status": "publish",
"menu_order": 2,
"comment_status": "closed",
"ping_status": "closed",
"post_type": "page",
"hs_custom_meta": "_hs_contact_page",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/space-shuttle-67648_1920.jpg",
"hs_old_id": 101
},
{
"post_title": "Eerste blogbericht",
"post_content": "Dit is je allereerste bericht. Klik op Bewerken om het aan te passen of te verwijderen, of <a href=\"https://wordpress.com/post\">maak een nieuw bericht aan</a>. Als je wilt, kun je dit bericht gebruiken om lezers te vertellen waarom je deze blog bent begonnen en wat je ermee wilt doen.",
"post_excerpt": "Dit is de samenvatting van je allereerste bericht.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_first_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/surfing-1082214_1920.jpg",
"hs_old_id": 102
},
{
"post_title": "Titel blogbericht",
"post_content": "Dit is nog een bericht. Klik op Bewerken om het aan te passen of te verwijderen, of <a href=\"https://wordpress.com/post\">maak een nieuw bericht aan</a>. Als je wilt, kun je dit bericht gebruiken om lezers te vertellen waarom je deze blog bent begonnen en wat je ermee wilt doen.",
"post_excerpt": "Dit is de samenvatting van je tweede bericht.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_second_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/photo-1461409971633-aa0e46732112.jpg",
"hs_old_id": 103
},
{
"post_title": "Titel blogbericht",
"post_content": "Dit is een gebruikelijk blogbericht. Klik op Bewerken om het aan te passen of te verwijderen, of <a href=\"https://wordpress.com/post\">maak een nieuw bericht aan</a>. Als je wilt, kun je dit bericht gebruiken om lezers te vertellen waarom je deze blog bent begonnen en wat je ermee wilt doen.",
"post_excerpt": "Dit is de samenvatting van het bericht dat je nu leest.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_third_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://rebalancedemo.files.wordpress.com/2011/09/chainlink-691921_1280.jpg",
"hs_old_id": 104
},
{
"post_title": "Aanbevolen inhoud",
"post_content": "Dit is een bericht met aanbevolen inhoud. Klik op Bewerken om het aan te passen of te verwijderen, of <a href=\"https://wordpress.com/post\">maak een nieuw bericht aan</a>.",
"post_excerpt": "Dit is de samenvatting van een bericht met aanbevolen inhoud.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_featured_content",
"hs_sharing": 1,
"hs_like_status": 1,
"tags_input": [
"featured"
],
"attachment_url": "https://rebalancedemo.files.wordpress.com/2015/12/space-shuttle-landing-600463_1920-e1462838881650.jpg",
"hs_old_id": 105
}
],
"menus": {
"social-media": {
"name": "Social media",
"items": [
{
"menu-item-title": "Facebook",
"menu-item-db-id": 175,
"menu-item-object-id": "175",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 0,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.facebook.com"
},
{
"menu-item-title": "LinkedIn",
"menu-item-db-id": 176,
"menu-item-object-id": "176",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 1,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.linkedin.com"
},
{
"menu-item-title": "Twitter",
"menu-item-db-id": 177,
"menu-item-object-id": "177",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 2,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.twitter.com"
},
{
"menu-item-title": "Instagram",
"menu-item-db-id": 178,
"menu-item-object-id": "178",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 3,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.instagram.com"
}
]
}
}
}

View file

@ -0,0 +1,209 @@
{
"settings": {
"options": {
"show_on_front": "posts",
"posts_per_page": "9",
"stylesheet": "pub/rebalance",
"featured-content": {
"tag-id": 35890,
"tag-name": "featured",
"hide-tag": 0,
"show-all": 0
},
"blogdescription": "“A vida é como andar de bicicleta. Para não cair, é preciso manter-se em movimento.” Albert Einstein"
},
"theme_mods": {
"0": false,
"nav_menu_locations": {
"header": "primary",
"social": "social-media"
},
"header_image": "remove-header",
"background_color": "ffffff",
"colors_manager": {
"colors": {
"bg": "#ffffff",
"txt": "#000000",
"link": "#f35029"
},
"cached": false
},
"custom_logo": ""
},
"headstart": {
"mapped_id_options": [],
"mapped_id_theme_mods": []
}
},
"widgets": [
{
"id": "text-2",
"id_base": "text",
"settings": {
"title": "Widget de texto",
"text": "Este é um widget de texto, que permite adicionar texto ou HTML à barra lateral. Você pode usá-los para exibir texto, links, imagens, HTML ou uma combinação dentre esses. Edite os widgets na seção Widget do <a href=\"https://wordpress.com/customize/\">Personalizador</a>."
},
"sidebar": "sidebar-1",
"position": 1
},
{
"id": "search-2",
"id_base": "search",
"settings": {
"title": "Pesquisar"
},
"sidebar": "sidebar-1",
"position": 0
}
],
"content": [
{
"post_title": "Sobre",
"post_content": "Este é um exemplo de uma página Sobre. Diferente de posts, as páginas são mais apropriadas para conteúdo que não depende de tempo e que deve estar facilmente disponível, como as informações nas páginas Sobre ou Contato. Clique no link Editar para fazer alterações nesta página ou <a href=\"https://wordpress.com/page\">adicione uma nova página</a>.",
"post_excerpt": "Esse é apenas um pequeno resumo para a página&nbsp;Sobre.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "closed",
"ping_status": "closed",
"post_type": "page",
"hs_custom_meta": "_hs_about_page",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://rebalancedemo.files.wordpress.com/2011/06/rocket-79394_1920.jpg",
"hs_old_id": 100
},
{
"post_title": "Contato",
"post_content": "Esta é uma página Contato com algumas informações básicas de contato e um formulário de contato. [contact-form][contact-field label=\"Nome\" type=\"name\" required=\"1\"/][contact-field label=\"Email\" type=\"email\" required=\"1\"/][contact-field label=\"Site\" type=\"url\"/][contact-field label=\"Comentário\" type=\"textarea\" required=\"1\"/][/contact-form]",
"post_excerpt": "Esse é apenas um pequeno resumo para a página&nbsp;Contato.",
"post_status": "publish",
"menu_order": 2,
"comment_status": "closed",
"ping_status": "closed",
"post_type": "page",
"hs_custom_meta": "_hs_contact_page",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/space-shuttle-67648_1920.jpg",
"hs_old_id": 101
},
{
"post_title": "Primeiro post do blog",
"post_content": "Este é seu primeiro post. Clique no link Editar para modificar ou excluir o post, ou então <a href=\"https://wordpress.com/post\">comece um novo</a>. Se preferir, use esta publicação para informar aos leitores o motivo pelo qual você iniciou este blog e o que planeja fazer com ele.",
"post_excerpt": "Este é um resumo da sua primeira publicação.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_first_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/surfing-1082214_1920.jpg",
"hs_old_id": 102
},
{
"post_title": "Título do post do blog",
"post_content": "Este é outro post. Clique no link Editar para modificar ou excluir o post, ou então <a href=\"https://wordpress.com/post\">comece um novo</a>. Se preferir, use o post para informar aos leitores o motivo pelo qual você iniciou este blog e o que planeja fazer com ele.",
"post_excerpt": "Este é o resumo do seu segundo post.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_second_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/photo-1461409971633-aa0e46732112.jpg",
"hs_old_id": 103
},
{
"post_title": "Título do post do blog",
"post_content": "Este é um típico post de blog. Clique no link Editar para modificar ou excluir o post, ou então <a href=\"https://wordpress.com/post\">comece um novo</a>. Se preferir, use o post para informar aos leitores o motivo pelo qual você iniciou este blog e o que planeja fazer com ele.",
"post_excerpt": "Este é o resumo do post que você está lendo agora.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_third_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://rebalancedemo.files.wordpress.com/2011/09/chainlink-691921_1280.jpg",
"hs_old_id": 104
},
{
"post_title": "Conteúdo em destaque",
"post_content": "Este é um post com conteúdo em destaque. Clique no link Editar para modificar ou excluir o post, ou então <a href=\"https://wordpress.com/post\">comece um novo</a>.",
"post_excerpt": "Este é um resumo para um post com conteúdo em destaque.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_featured_content",
"hs_sharing": 1,
"hs_like_status": 1,
"tags_input": [
"featured"
],
"attachment_url": "https://rebalancedemo.files.wordpress.com/2015/12/space-shuttle-landing-600463_1920-e1462838881650.jpg",
"hs_old_id": 105
}
],
"menus": {
"social-media": {
"name": "Redes sociais",
"items": [
{
"menu-item-title": "Facebook",
"menu-item-db-id": 175,
"menu-item-object-id": "175",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 0,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.facebook.com"
},
{
"menu-item-title": "LinkedIn",
"menu-item-db-id": 176,
"menu-item-object-id": "176",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 1,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.linkedin.com"
},
{
"menu-item-title": "Twitter",
"menu-item-db-id": 177,
"menu-item-object-id": "177",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 2,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.twitter.com"
},
{
"menu-item-title": "Instagram",
"menu-item-db-id": 178,
"menu-item-object-id": "178",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 3,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.instagram.com"
}
]
}
}
}

View file

@ -0,0 +1,209 @@
{
"settings": {
"options": {
"show_on_front": "posts",
"posts_per_page": "9",
"stylesheet": "pub/rebalance",
"featured-content": {
"tag-id": 35890,
"tag-name": "featured",
"hide-tag": 0,
"show-all": 0
},
"blogdescription": "«Жизнь как езда на велосипеде. Чтобы сохранять равновесие, нужно двигаться» (Альберт Эйнштейн)."
},
"theme_mods": {
"0": false,
"nav_menu_locations": {
"header": "primary",
"social": "social-media"
},
"header_image": "remove-header",
"background_color": "ffffff",
"colors_manager": {
"colors": {
"bg": "#ffffff",
"txt": "#000000",
"link": "#f35029"
},
"cached": false
},
"custom_logo": ""
},
"headstart": {
"mapped_id_options": [],
"mapped_id_theme_mods": []
}
},
"widgets": [
{
"id": "text-2",
"id_base": "text",
"settings": {
"title": "Текстовый виджет",
"text": "С помощью этого виджета можно добавлять текст или HTML-код на боковую панель. Он используется для отображения текста, ссылок, изображений, HTML-фрагментов или их сочетаний. Чтобы изменить элемент, откройте раздел «Виджет» в <a href=\"https://wordpress.com/customize/\">конфигураторе</a>."
},
"sidebar": "sidebar-1",
"position": 1
},
{
"id": "search-2",
"id_base": "search",
"settings": {
"title": "Поиск"
},
"sidebar": "sidebar-1",
"position": 0
}
],
"content": [
{
"post_title": "О нас",
"post_content": "Это пример страницы «О нас». Сведения о владельце сайта, контактные данные и прочую информацию, которая должна быть всегда и легко доступна, лучше размещать на отдельных страницах, а не в записях блога. Выберите элемент «Изменить», чтобы отредактировать эту страницу, или <a href=\"https://wordpress.com/page\">добавьте новую страницу</a>.",
"post_excerpt": "Это небольшая цитата для страницы «О нас», содержащей информацию&nbsp;о владельце сайта.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "closed",
"ping_status": "closed",
"post_type": "page",
"hs_custom_meta": "_hs_about_page",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://rebalancedemo.files.wordpress.com/2011/06/rocket-79394_1920.jpg",
"hs_old_id": 100
},
{
"post_title": "Контакты",
"post_content": "На этой странице представлена основная контактная информация и контактная форма. [contact-form][contact-field label=\"Имя\" type=\"name\" required=\"1\"/][contact-field label=\"Адрес эл. почты\" type=\"email\" required=\"1\"/][contact-field label=\"Веб-сайт\" type=\"url\"/][contact-field label=\"Комментарий\" type=\"textarea\" required=\"1\"/][/contact-form]",
"post_excerpt": "Это небольшая цитата для страницы&nbsp;«Контакты».",
"post_status": "publish",
"menu_order": 2,
"comment_status": "closed",
"ping_status": "closed",
"post_type": "page",
"hs_custom_meta": "_hs_contact_page",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/space-shuttle-67648_1920.jpg",
"hs_old_id": 101
},
{
"post_title": "Первая запись в блоге",
"post_content": "Это ваша самая первая запись. Чтобы отредактировать или удалить её, нажмите кнопку «Изменить» или <a href=\"https://wordpress.com/post\">создайте новую запись</a>. В этой записи можно рассказать читателям, почему вы завели блог и что планируете в нём публиковать.",
"post_excerpt": "Это цитата для вашей первой записи.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_first_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/surfing-1082214_1920.jpg",
"hs_old_id": 102
},
{
"post_title": "Заголовок записи в блоге",
"post_content": "Это ещё одна запись. Выберите элемент «Изменить», чтобы отредактировать или удалить её, или <a href=\"https://wordpress.com/post\">создайте новую запись</a>. Если вы хотите написать что-нибудь ещё, расскажите читателям, почему завели блог и что планируете в нём публиковать.",
"post_excerpt": "Это цитата для вашей второй записи.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_second_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/photo-1461409971633-aa0e46732112.jpg",
"hs_old_id": 103
},
{
"post_title": "Заголовок записи в блоге",
"post_content": "Это стандартная запись в блоге. Выберите элемент «Изменить», чтобы отредактировать или удалить её, или <a href=\"https://wordpress.com/post\">создайте новую запись</a>. Если вы хотите написать что-нибудь ещё, расскажите читателям, почему завели блог и что планируете в нём публиковать.",
"post_excerpt": "Это цитата из записи, которую вы сейчас читаете.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_third_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://rebalancedemo.files.wordpress.com/2011/09/chainlink-691921_1280.jpg",
"hs_old_id": 104
},
{
"post_title": "Избранное содержимое",
"post_content": "Это запись с избранным содержимым. Выберите элемент «Изменить», чтобы отредактировать или удалить её, или <a href=\"https://wordpress.com/post\">создайте новую запись</a>.",
"post_excerpt": "Это цитата для записи с избранным содержимым.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_featured_content",
"hs_sharing": 1,
"hs_like_status": 1,
"tags_input": [
"featured"
],
"attachment_url": "https://rebalancedemo.files.wordpress.com/2015/12/space-shuttle-landing-600463_1920-e1462838881650.jpg",
"hs_old_id": 105
}
],
"menus": {
"social-media": {
"name": "Социальные сети",
"items": [
{
"menu-item-title": "Facebook",
"menu-item-db-id": 175,
"menu-item-object-id": "175",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 0,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.facebook.com"
},
{
"menu-item-title": "LinkedIn",
"menu-item-db-id": 176,
"menu-item-object-id": "176",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 1,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.linkedin.com"
},
{
"menu-item-title": "Twitter",
"menu-item-db-id": 177,
"menu-item-object-id": "177",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 2,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.twitter.com"
},
{
"menu-item-title": "Instagram",
"menu-item-db-id": 178,
"menu-item-object-id": "178",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 3,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.instagram.com"
}
]
}
}
}

View file

@ -0,0 +1,209 @@
{
"settings": {
"options": {
"show_on_front": "posts",
"posts_per_page": "9",
"stylesheet": "pub/rebalance",
"featured-content": {
"tag-id": 35890,
"tag-name": "featured",
"hide-tag": 0,
"show-all": 0
},
"blogdescription": "\"Livet är som att cykla. För att behålla balansen måste du fortsätta framåt.\" — Albert Einstein"
},
"theme_mods": {
"0": false,
"nav_menu_locations": {
"header": "primary",
"social": "social-media"
},
"header_image": "remove-header",
"background_color": "ffffff",
"colors_manager": {
"colors": {
"bg": "#ffffff",
"txt": "#000000",
"link": "#f35029"
},
"cached": false
},
"custom_logo": ""
},
"headstart": {
"mapped_id_options": [],
"mapped_id_theme_mods": []
}
},
"widgets": [
{
"id": "text-2",
"id_base": "text",
"settings": {
"title": "Textwidget",
"text": "Det här är en textwidget som gör att du kan lägga till text eller HTML i din sidopanel. Du kan använda dem för att visa text, länkar, bilder, HTML eller en kombination av detta. Redigera dem i widgetavsnittet i <a href=\"https://wordpress.com/customize/\">Anpassa</a>."
},
"sidebar": "sidebar-1",
"position": 1
},
{
"id": "search-2",
"id_base": "search",
"settings": {
"title": "Sök"
},
"sidebar": "sidebar-1",
"position": 0
}
],
"content": [
{
"post_title": "Om",
"post_content": "Det här är ett exempel på en \"om\"-sida. Till skillnad från inlägg är sidor bättre lämpade för mer tidlöst innehåll som du vill ha lättillgängligt, som Om eller Kontaktinformation. Klicka på Redigera-länken om du vill göra ändringar på sidan eller <a href=\"https://wordpress.com/page\">lägga till ytterligare en sida</a>.",
"post_excerpt": "Det här är bara en kort utdrag för om-sidan&nbsp;.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "closed",
"ping_status": "closed",
"post_type": "page",
"hs_custom_meta": "_hs_about_page",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://rebalancedemo.files.wordpress.com/2011/06/rocket-79394_1920.jpg",
"hs_old_id": 100
},
{
"post_title": "Kontakta oss",
"post_content": "Det här är en kontaktsida med lite grundläggande kontaktinformation och ett kontaktformulär. [contact-form][contact-field label=\"Namn\" type=\"name\" required=\"1\"/][contact-field label=\"E-post\" type=\"email\" required=\"1\"/][contact-field label=\"Webbsida\" type=\"url\"/][contact-field label=\"Kommentar\" type=\"textarea\" required=\"1\"/][/contact-form]",
"post_excerpt": "Det här är bara ett kort utdrag för&nbsp;kontaktsidan.",
"post_status": "publish",
"menu_order": 2,
"comment_status": "closed",
"ping_status": "closed",
"post_type": "page",
"hs_custom_meta": "_hs_contact_page",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/space-shuttle-67648_1920.jpg",
"hs_old_id": 101
},
{
"post_title": "Första blogginlägget",
"post_content": "Det här är ditt allra första inlägg. Klicka på Redigera-länken om du vill ändra eller ta bort det eller <a href=\"https://wordpress.com/post\">skriv ett nytt inlägg</a>. Om du vill kan du använda det här inlägget till att berätta för dina läsare om varför du startade din blogg och vad du tänker göra med den.",
"post_excerpt": "Det här är utdraget för ditt allra första inlägg.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_first_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/surfing-1082214_1920.jpg",
"hs_old_id": 102
},
{
"post_title": "Blogginläggets rubrik",
"post_content": "Det här är ett annat inlägg. Klicka på Redigera-länken om du vill ändra eller ta bort det eller <a href=\"https://wordpress.com/post\">skriv ett nytt inlägg</a>. Om du vill kan du använda det här inlägget till att berätta för dina läsare om varför du startade din blogg och vad du tänker göra med den.",
"post_excerpt": "Det här är utdraget för ditt andra inlägg.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_second_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/photo-1461409971633-aa0e46732112.jpg",
"hs_old_id": 103
},
{
"post_title": "Blogginläggets rubrik",
"post_content": "Det här är ett typiskt blogginlägg. Klicka på Redigera-länken om du vill ändra eller ta bort det eller <a href=\"https://wordpress.com/post\">skriv ett nytt inlägg</a>. Om du vill kan du använda det här inlägget till att berätta för dina läsare om varför du startade din blogg och vad du tänker göra med den.",
"post_excerpt": "Det här är utdraget för det inlägg som du just nu läser.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_third_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://rebalancedemo.files.wordpress.com/2011/09/chainlink-691921_1280.jpg",
"hs_old_id": 104
},
{
"post_title": "Utvalt innehåll",
"post_content": "Det här är ett inlägg med utvalt innehåll. Klicka på Redigera-länken om du vill ändra eller ta bort det eller <a href=\"https://wordpress.com/post\">skriv ett nytt inlägg</a>.",
"post_excerpt": "Det här är utdraget för ett inlägg med utvalt innehåll.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_featured_content",
"hs_sharing": 1,
"hs_like_status": 1,
"tags_input": [
"featured"
],
"attachment_url": "https://rebalancedemo.files.wordpress.com/2015/12/space-shuttle-landing-600463_1920-e1462838881650.jpg",
"hs_old_id": 105
}
],
"menus": {
"social-media": {
"name": "Sociala medier",
"items": [
{
"menu-item-title": "Facebook",
"menu-item-db-id": 175,
"menu-item-object-id": "175",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 0,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.facebook.com"
},
{
"menu-item-title": "LinkedIn",
"menu-item-db-id": 176,
"menu-item-object-id": "176",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 1,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.linkedin.com"
},
{
"menu-item-title": "Twitter",
"menu-item-db-id": 177,
"menu-item-object-id": "177",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 2,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.twitter.com"
},
{
"menu-item-title": "Instagram",
"menu-item-db-id": 178,
"menu-item-object-id": "178",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 3,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.instagram.com"
}
]
}
}
}

View file

@ -0,0 +1,209 @@
{
"settings": {
"options": {
"show_on_front": "posts",
"posts_per_page": "9",
"stylesheet": "pub/rebalance",
"featured-content": {
"tag-id": 35890,
"tag-name": "featured",
"hide-tag": 0,
"show-all": 0
},
"blogdescription": "“Hayat bisiklete binmek gibidir. Dengenizi korumak için ilerlemeniz gerekir.” — Albert Einstein"
},
"theme_mods": {
"0": false,
"nav_menu_locations": {
"header": "primary",
"social": "social-media"
},
"header_image": "remove-header",
"background_color": "ffffff",
"colors_manager": {
"colors": {
"bg": "#ffffff",
"txt": "#000000",
"link": "#f35029"
},
"cached": false
},
"custom_logo": ""
},
"headstart": {
"mapped_id_options": [],
"mapped_id_theme_mods": []
}
},
"widgets": [
{
"id": "text-2",
"id_base": "text",
"settings": {
"title": "Metin Pencere Öğesi",
"text": "Bu, kenar çubuğunuza metin veya HTML eklemenizi sağlayan bir metin pencere öğesidir. Bunları metin, bağlantı, görüntü, HTML veya bunların bir birleşimini görüntülemek için kullanabilirsiniz. Bunları <a href=\"https://wordpress.com/customize/\">Özelleştirici</a>'nin Pencere Öğesi bölümünde düzenleyin."
},
"sidebar": "sidebar-1",
"position": 1
},
{
"id": "search-2",
"id_base": "search",
"settings": {
"title": "Ara"
},
"sidebar": "sidebar-1",
"position": 0
}
],
"content": [
{
"post_title": "Hakkında",
"post_content": "Bu bir hakkında sayfası örneğidir. Gönderilerin aksine sayfalar, Hakkında ya da İletişim gibi kolayca ulaşılabilir, zamandan bağımsız içerikleriniz için daha uygundur. Bu sayfada değişiklik yapmak için Düzenle'ye tıklayın veya <a href=\"https://wordpress.com/page\">başka bir sayfa ekleyin</a>.",
"post_excerpt": "Bu yalnızca hakkında&nbsp;sayfası için kısa bir alıntıdır.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "closed",
"ping_status": "closed",
"post_type": "page",
"hs_custom_meta": "_hs_about_page",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://rebalancedemo.files.wordpress.com/2011/06/rocket-79394_1920.jpg",
"hs_old_id": 100
},
{
"post_title": "İletişim",
"post_content": "Bu, bazı temel bilgilerin ve bir iletişim formunun yer aldığı bir iletişim sayfasıdır. [contact-form][contact-field label=\"Ad\" type=\"name\" required=\"1\"/][contact-field label=\"E-posta\" type=\"email\" required=\"1\"/][contact-field label=\"Web sitesi\" type=\"url\"/][contact-field label=\"Yorum\" type=\"textarea\" required=\"1\"/][/contact-form]",
"post_excerpt": "Bu yalnızca iletişim&nbsp;sayfası için kısa bir alıntıdır.",
"post_status": "publish",
"menu_order": 2,
"comment_status": "closed",
"ping_status": "closed",
"post_type": "page",
"hs_custom_meta": "_hs_contact_page",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/space-shuttle-67648_1920.jpg",
"hs_old_id": 101
},
{
"post_title": "İlk blog gönderisi",
"post_content": "Bu ilk gönderiniz. Değiştirmek veya silmek için Düzenle'ye tıklayın veya <a href=\"https://wordpress.com/post\">yeni bir gönderi başlatın</a>. İsterseniz, okuyuculara bu bloga neden başladığınızı ve ne yapmayı planladığınızı söylemek için bu gönderiyi kullanın.",
"post_excerpt": "Bu ilk gönderinizin kısa bir alıntısıdır.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_first_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/surfing-1082214_1920.jpg",
"hs_old_id": 102
},
{
"post_title": "Blog gönderisi başlığı",
"post_content": "Bu, başka bir gönderidir. Değiştirmek veya silmek için Düzenle'ye tıklayın veya <a href=\"https://wordpress.com/post\">yeni bir gönderi başlatın</a>. İsterseniz, okuyuculara bu bloga neden başladığınızı ve ne yapmayı planladığınızı söylemek için bu gönderiyi kullanın.",
"post_excerpt": "Bu, ikinci gönderinizin bir alıntısıdır.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_second_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/photo-1461409971633-aa0e46732112.jpg",
"hs_old_id": 103
},
{
"post_title": "Blog gönderisi başlığı",
"post_content": "Bu tipik bir blog gönderisidir. Değiştirmek veya silmek için Düzenle'ye tıklayın veya <a href=\"https://wordpress.com/post\">yeni bir gönderi başlatın</a>. İsterseniz, okuyuculara bu bloga neden başladığınızı ve ne yapmayı planladığınızı söylemek için bu gönderiyi kullanın.",
"post_excerpt": "Bu, okumakta olduğunuz gönderinin bir alıntısıdır.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_third_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://rebalancedemo.files.wordpress.com/2011/09/chainlink-691921_1280.jpg",
"hs_old_id": 104
},
{
"post_title": "Öne çıkarılmış içerik",
"post_content": "Bu bir öne çıkarılmış içerik gönderisidir. Değiştirmek veya silmek için Düzenle'ye tıklayın veya <a href=\"https://wordpress.com/post\">yeni bir gönderi başlatın</a>.",
"post_excerpt": "Bu bir öne çıkarılmış içerik gönderisinin kısa bir alıntısıdır.",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_featured_content",
"hs_sharing": 1,
"hs_like_status": 1,
"tags_input": [
"featured"
],
"attachment_url": "https://rebalancedemo.files.wordpress.com/2015/12/space-shuttle-landing-600463_1920-e1462838881650.jpg",
"hs_old_id": 105
}
],
"menus": {
"social-media": {
"name": "Sosyal Medya",
"items": [
{
"menu-item-title": "Facebook",
"menu-item-db-id": 175,
"menu-item-object-id": "175",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 0,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.facebook.com"
},
{
"menu-item-title": "LinkedIn",
"menu-item-db-id": 176,
"menu-item-object-id": "176",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 1,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.linkedin.com"
},
{
"menu-item-title": "Twitter",
"menu-item-db-id": 177,
"menu-item-object-id": "177",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 2,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.twitter.com"
},
{
"menu-item-title": "Instagram",
"menu-item-db-id": 178,
"menu-item-object-id": "178",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 3,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.instagram.com"
}
]
}
}
}

View file

@ -0,0 +1,209 @@
{
"settings": {
"options": {
"show_on_front": "posts",
"posts_per_page": "9",
"stylesheet": "pub/rebalance",
"featured-content": {
"tag-id": 35890,
"tag-name": "featured",
"hide-tag": 0,
"show-all": 0
},
"blogdescription": "“生活,就像骑自行车。唯有不断前行,才能保持平衡。”— 阿尔伯特·爱因斯坦"
},
"theme_mods": {
"0": false,
"nav_menu_locations": {
"header": "primary",
"social": "social-media"
},
"header_image": "remove-header",
"background_color": "ffffff",
"colors_manager": {
"colors": {
"bg": "#ffffff",
"txt": "#000000",
"link": "#f35029"
},
"cached": false
},
"custom_logo": ""
},
"headstart": {
"mapped_id_options": [],
"mapped_id_theme_mods": []
}
},
"widgets": [
{
"id": "text-2",
"id_base": "text",
"settings": {
"title": "文本小组件",
"text": "这是文本小组件,可让您向边栏添加文本或 HTML。您可以使用此类小组件显示文本、链接、图片、HTML 或这些内容的组合,还可以在<a href=\"https://wordpress.com/customize/\">定制器</a>的“小组件”部分编辑这些内容。"
},
"sidebar": "sidebar-1",
"position": 1
},
{
"id": "search-2",
"id_base": "search",
"settings": {
"title": "搜索"
},
"sidebar": "sidebar-1",
"position": 0
}
],
"content": [
{
"post_title": "关于",
"post_content": "这是“关于”页面的示例。与文章不同,页面更适合显示您希望让人轻松查看并且时限性较低的内容(比如“关于”或“联系信息”)。点击“编辑”链接修改此页面或<a href=\"https://wordpress.com/page\">添加另一页面</a>。",
"post_excerpt": "这只是“关于”页面的一小段摘录。",
"post_status": "publish",
"menu_order": 1,
"comment_status": "closed",
"ping_status": "closed",
"post_type": "page",
"hs_custom_meta": "_hs_about_page",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://rebalancedemo.files.wordpress.com/2011/06/rocket-79394_1920.jpg",
"hs_old_id": 100
},
{
"post_title": "联系信息",
"post_content": "这是“联系信息”页面,其中包括一些基本联系信息和联系表单。[contact-form][contact-field label=\"姓名\" type=\"name\" required=\"1\"/][contact-field label=\"电子邮件\" type=\"email\" required=\"1\"/][contact-field label=\"网站\" type=\"url\"/][contact-field label=\"评论\" type=\"textarea\" required=\"1\"/][/contact-form]",
"post_excerpt": "这只是“联系信息”&nbsp;页面的一小部分。",
"post_status": "publish",
"menu_order": 2,
"comment_status": "closed",
"ping_status": "closed",
"post_type": "page",
"hs_custom_meta": "_hs_contact_page",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/space-shuttle-67648_1920.jpg",
"hs_old_id": 101
},
{
"post_title": "第一篇博文",
"post_content": "这是您的第一篇文章。点击“编辑”链接修改或删除该文章,或者<a href=\"https://wordpress.com/post\">开始撰写新文章</a>。如果您愿意,可以通过这篇文章告诉读者您创建此博客的原因以及您打算使用它做些什么。",
"post_excerpt": "这是您的第一篇文章的摘录。",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_first_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/surfing-1082214_1920.jpg",
"hs_old_id": 102
},
{
"post_title": "博文标题",
"post_content": "这是另一篇文章。点击“编辑”链接修改或删除该文章,或者<a href=\"https://wordpress.com/post\">开始撰写新文章</a>。如果您愿意,可以通过这篇文章告诉读者您创建此博客的原因以及您打算使用它做些什么。",
"post_excerpt": "这是您第二篇文章的摘录。",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_second_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/photo-1461409971633-aa0e46732112.jpg",
"hs_old_id": 103
},
{
"post_title": "博文标题",
"post_content": "这是一篇典型的博文。点击“编辑”链接修改或删除该文章,或者<a href=\"https://wordpress.com/post\">开始撰写新文章</a>。如果您愿意,可以通过这篇文章告诉读者您创建此博客的原因以及您打算使用它做些什么。",
"post_excerpt": "这是您即将阅读的文章的摘录。",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_third_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://rebalancedemo.files.wordpress.com/2011/09/chainlink-691921_1280.jpg",
"hs_old_id": 104
},
{
"post_title": "推荐内容",
"post_content": "这是推荐内容文章。点击“编辑”链接修改或删除该文章,或者<a href=\"https://wordpress.com/post\">开始撰写新文章</a>。",
"post_excerpt": "这是推荐内容文章的摘录。",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_featured_content",
"hs_sharing": 1,
"hs_like_status": 1,
"tags_input": [
"featured"
],
"attachment_url": "https://rebalancedemo.files.wordpress.com/2015/12/space-shuttle-landing-600463_1920-e1462838881650.jpg",
"hs_old_id": 105
}
],
"menus": {
"social-media": {
"name": "社交媒体",
"items": [
{
"menu-item-title": "Facebook",
"menu-item-db-id": 175,
"menu-item-object-id": "175",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 0,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.facebook.com"
},
{
"menu-item-title": "领英",
"menu-item-db-id": 176,
"menu-item-object-id": "176",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 1,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.linkedin.com"
},
{
"menu-item-title": "Twitter",
"menu-item-db-id": 177,
"menu-item-object-id": "177",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 2,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.twitter.com"
},
{
"menu-item-title": "Instagram",
"menu-item-db-id": 178,
"menu-item-object-id": "178",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 3,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.instagram.com"
}
]
}
}
}

View file

@ -0,0 +1,209 @@
{
"settings": {
"options": {
"show_on_front": "posts",
"posts_per_page": "9",
"stylesheet": "pub/rebalance",
"featured-content": {
"tag-id": 35890,
"tag-name": "featured",
"hide-tag": 0,
"show-all": 0
},
"blogdescription": "阿爾伯特·愛因斯坦:「人生就像騎腳踏車,要保持平衡,就必須一直向前。」"
},
"theme_mods": {
"0": false,
"nav_menu_locations": {
"header": "primary",
"social": "social-media"
},
"header_image": "remove-header",
"background_color": "ffffff",
"colors_manager": {
"colors": {
"bg": "#ffffff",
"txt": "#000000",
"link": "#f35029"
},
"cached": false
},
"custom_logo": ""
},
"headstart": {
"mapped_id_options": [],
"mapped_id_theme_mods": []
}
},
"widgets": [
{
"id": "text-2",
"id_base": "text",
"settings": {
"title": "文字小工具",
"text": "這個文字小工具可讓你在側邊欄新增文字或 HTML。你可以利用這個工具來顯示文字、連結、圖片、HTML或綜合顯示上述多種元素。前往<a href=\"https://wordpress.com/customize/\">自訂工具</a>的「小工具」區段即可加以編輯。"
},
"sidebar": "sidebar-1",
"position": 1
},
{
"id": "search-2",
"id_base": "search",
"settings": {
"title": "搜尋"
},
"sidebar": "sidebar-1",
"position": 0
}
],
"content": [
{
"post_title": "簡介",
"post_content": "這是「簡介」網頁的範例。網頁與文章不同,有些不會隨時間改變的內容,例如「簡介」或「聯絡資訊」,都更適合放在網頁中,以方便訪客輕鬆存取。按一下「編輯」連結,以變更此網頁或<a href=\"https://wordpress.com/page\">新增其他網頁</a>。",
"post_excerpt": "這只是「關於」&nbsp;頁面的簡短摘要。",
"post_status": "publish",
"menu_order": 1,
"comment_status": "closed",
"ping_status": "closed",
"post_type": "page",
"hs_custom_meta": "_hs_about_page",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://rebalancedemo.files.wordpress.com/2011/06/rocket-79394_1920.jpg",
"hs_old_id": 100
},
{
"post_title": "聯絡",
"post_content": "此為提供基本聯絡資訊和聯絡表單的聯絡網頁。[contact-form][contact-field label=\"姓名\" type=\"name\" required=\"1\"/][contact-field label=\"電子郵件\" type=\"email\" required=\"1\"/][contact-field label=\"網站\" type=\"url\"/][contact-field label=\"留言\" type=\"textarea\" required=\"1\"/][/contact-form]",
"post_excerpt": "這只是「聯絡」&nbsp;頁面的簡短摘要。",
"post_status": "publish",
"menu_order": 2,
"comment_status": "closed",
"ping_status": "closed",
"post_type": "page",
"hs_custom_meta": "_hs_contact_page",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/space-shuttle-67648_1920.jpg",
"hs_old_id": 101
},
{
"post_title": "第一篇網誌文章",
"post_content": "這是你發表的第一篇文章。按一下「編輯」連結即可修改或刪除文章,或是<a href=\"https://wordpress.com/post\">開始撰寫新文章</a>。你可以利用這篇文章告訴讀者這個網誌的建立原因,以及網誌的未來計畫。",
"post_excerpt": "這是你第一篇文章的文章摘要。",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_first_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/surfing-1082214_1920.jpg",
"hs_old_id": 102
},
{
"post_title": "網誌文章標題",
"post_content": "這是另一篇文章。按一下「編輯」連結即可修改或刪除文章,或是<a href=\"https://wordpress.com/post\">開始撰寫新文章</a>。你可以利用這篇文章告訴讀者這個網誌的建立原因,以及網誌的未來計畫。",
"post_excerpt": "這是你第二篇文章的文章摘要。",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_second_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://headstartdata.files.wordpress.com/2016/08/photo-1461409971633-aa0e46732112.jpg",
"hs_old_id": 103
},
{
"post_title": "網誌文章標題",
"post_content": "這是一篇一般的網誌文章。按一下「編輯」連結即可修改或刪除文章,或是<a href=\"https://wordpress.com/post\">開始撰寫新文章</a>。你可以利用這篇文章告訴讀者這個網誌的建立原因,以及網誌的未來計畫。",
"post_excerpt": "這是你正在閱讀之文章的文章摘要。",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_third_post",
"hs_sharing": 1,
"hs_like_status": 1,
"attachment_url": "https://rebalancedemo.files.wordpress.com/2011/09/chainlink-691921_1280.jpg",
"hs_old_id": 104
},
{
"post_title": "精選內容",
"post_content": "這是一篇精選內容文章。按一下「編輯」連結即可修改或刪除文章,或是<a href=\"https://wordpress.com/post\">開始撰寫新文章</a>。",
"post_excerpt": "這是特色內容文章的文章摘要。",
"post_status": "publish",
"menu_order": 1,
"comment_status": "open",
"ping_status": "open",
"post_type": "post",
"hs_custom_meta": "_hs_featured_content",
"hs_sharing": 1,
"hs_like_status": 1,
"tags_input": [
"featured"
],
"attachment_url": "https://rebalancedemo.files.wordpress.com/2015/12/space-shuttle-landing-600463_1920-e1462838881650.jpg",
"hs_old_id": 105
}
],
"menus": {
"social-media": {
"name": "社交媒體",
"items": [
{
"menu-item-title": "Facebook",
"menu-item-db-id": 175,
"menu-item-object-id": "175",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 0,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.facebook.com"
},
{
"menu-item-title": "LinkedIn",
"menu-item-db-id": 176,
"menu-item-object-id": "176",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 1,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.linkedin.com"
},
{
"menu-item-title": "Twitter",
"menu-item-db-id": 177,
"menu-item-object-id": "177",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 2,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.twitter.com"
},
{
"menu-item-title": "Instagram",
"menu-item-db-id": 178,
"menu-item-object-id": "178",
"menu-item-object": "custom",
"menu-item-type": "custom",
"menu-item-status": "publish",
"menu-item-position": 3,
"menu-item-parent-id": "0",
"menu-item-description": "",
"menu-item-url": "http://www.instagram.com"
}
]
}
}
}

View file

@ -0,0 +1,761 @@
<?php
add_filter( 'typekit_add_font_category_rules', function( $category_rules ) {
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'html',
array(
array( 'property' => 'font-family', 'value' => 'sans-serif' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'b,
strong',
array(
array( 'property' => 'font-weight', 'value' => 'bold' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'dfn',
array(
array( 'property' => 'font-style', 'value' => 'italic' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'headings',
'h1',
array(
array( 'property' => 'font-size', 'value' => '2em' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'small',
array(
array( 'property' => 'font-size', 'value' => '80%' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'sub,
sup',
array(
array( 'property' => 'font-size', 'value' => '75%' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'code,
kbd,
pre,
samp',
array(
array( 'property' => 'font-size', 'value' => '1em' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'button,
input,
optgroup,
select,
textarea',
array(
array( 'property' => 'font', 'value' => 'inherit' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'optgroup',
array(
array( 'property' => 'font-weight', 'value' => 'bold' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'body,
button,
input,
select,
textarea',
array(
array( 'property' => 'font-family', 'value' => 'sans-serif' ),
array( 'property' => 'font-size', 'value' => '16px' ),
array( 'property' => 'font-size', 'value' => '1rem' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'cite,
dfn,
em,
i',
array(
array( 'property' => 'font-style', 'value' => 'italic' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'pre',
array(
array( 'property' => 'font-family', 'value' => '"Courier 10 Pitch", Courier, monospace' ),
array( 'property' => 'font-size', 'value' => '15px' ),
array( 'property' => 'font-size', 'value' => '0.9375rem' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'code,
kbd,
tt,
var',
array(
array( 'property' => 'font-family', 'value' => 'Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace' ),
array( 'property' => 'font-size', 'value' => '15px' ),
array( 'property' => 'font-size', 'value' => '0.9375rem' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'big',
array(
array( 'property' => 'font-size', 'value' => '125%' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'dt',
array(
array( 'property' => 'font-weight', 'value' => 'bold' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'button,
input[type="button"],
input[type="reset"],
input[type="submit"]',
array(
array( 'property' => 'font-family', 'value' => '"Rubik", "Helvetica Neue", sans-serif' ),
array( 'property' => 'font-weight', 'value' => '500' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'body',
array(
array( 'property' => 'font-family', 'value' => '"Rubik", "Helvetica Neue", sans-serif' ),
array( 'property' => 'font-size', 'value' => '17px' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'headings',
'h1,
h2,
h3,
h4,
h5,
h6',
array(
array( 'property' => 'font-family', 'value' => '"Libre Baskerville", Georgia, serif' ),
array( 'property' => 'font-weight', 'value' => '700' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'headings',
'h1',
array(
array( 'property' => 'font-size', 'value' => '36px' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'headings',
'h2',
array(
array( 'property' => 'font-size', 'value' => '28px' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'headings',
'h3',
array(
array( 'property' => 'font-size', 'value' => '24px' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'headings',
'h4,
h5,
h6',
array(
array( 'property' => 'font-size', 'value' => '18px' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.screen-reader-text:focus',
array(
array( 'property' => 'font-size', 'value' => '14px' ),
array( 'property' => 'font-weight', 'value' => 'bold' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'headings',
'.site-title',
array(
array( 'property' => 'font-family', 'value' => '"Rubik", "Helvetica Neue", sans-serif' ),
array( 'property' => 'font-size', 'value' => '36px' ),
array( 'property' => 'font-weight', 'value' => '400' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'headings',
'.site-title',
array(
array( 'property' => 'font-size', 'value' => '48px' ),
),
array(
'screen and (min-width: 881px)',
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.site-description',
array(
array( 'property' => 'font-family', 'value' => '"Libre Baskerville", Georgia, serif' ),
array( 'property' => 'font-weight', 'value' => '400' ),
array( 'property' => 'font-size', 'value' => '16px' ),
array( 'property' => 'font-style', 'value' => 'italic' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.menu-toggle',
array(
array( 'property' => 'font-weight', 'value' => '500' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.menu-toggle:after',
array(
array( 'property' => 'font-weight', 'value' => 'normal' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.main-navigation',
array(
array( 'property' => 'font-size', 'value' => '1em' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.main-navigation',
array(
array( 'property' => 'font-size', 'value' => '16px' ),
),
array(
'screen and (min-width: 881px)',
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.social-navigation > *',
array(
array( 'property' => 'font-size', 'value' => '25px' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.social-navigation > *',
array(
array( 'property' => 'font-size', 'value' => '20px' ),
),
array(
'screen and (min-width: 881px)',
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.entry-image .entry-image-caption',
array(
array( 'property' => 'font-size', 'value' => '14px' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'headings',
'.entry-title',
array(
array( 'property' => 'font-size', 'value' => '36px' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.entry-meta',
array(
array( 'property' => 'font-size', 'value' => '14px' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.comment-content h5,
.entry-content h5',
array(
array( 'property' => 'font-family', 'value' => '"Rubik", "Helvetica Neue", sans-serif' ),
array( 'property' => 'font-weight', 'value' => '600' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.comment-content h6,
.entry-content h6',
array(
array( 'property' => 'font-family', 'value' => '"Rubik", "Helvetica Neue", sans-serif' ),
array( 'property' => 'font-weight', 'value' => '400' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.comment-content address,
.entry-content address',
array(
array( 'property' => 'font-family', 'value' => '"Libre Baskerville", Georgia, serif' ),
array( 'property' => 'font-style', 'value' => 'normal' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.comment-content blockquote,
.entry-content blockquote',
array(
array( 'property' => 'font-family', 'value' => '"Libre Baskerville", Georgia, serif' ),
array( 'property' => 'font-style', 'value' => 'italic' ),
array( 'property' => 'font-size', 'value' => '18px' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.comment-content q,
.entry-content q',
array(
array( 'property' => 'font-family', 'value' => '"Libre Baskerville", Georgia, serif' ),
array( 'property' => 'font-style', 'value' => 'italic' ),
array( 'property' => 'font-size', 'value' => '18px' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.comment-content cite,
.entry-content cite',
array(
array( 'property' => 'font-family', 'value' => '"Libre Baskerville", Georgia, serif' ),
array( 'property' => 'font-style', 'value' => 'italic' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'headings',
'.comment-content thead th,
.entry-content thead th',
array(
array( 'property' => 'font-family', 'value' => '"Libre Baskerville", Georgia, serif' ),
array( 'property' => 'font-weight', 'value' => '400' ),
array( 'property' => 'font-size', 'value' => '14px' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.page-links strong',
array(
array( 'property' => 'font-size', 'value' => '15px' ),
array( 'property' => 'font-weight', 'value' => '600' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'headings',
'.site-feature .entry-header .entry-title',
array(
array( 'property' => 'font-size', 'value' => '24px' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'headings',
'.site-feature .entry-header .entry-title',
array(
array( 'property' => 'font-size', 'value' => '36px' ),
),
array(
'screen and (min-width: 881px)',
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'headings',
'.author-box h3',
array(
array( 'property' => 'font-family', 'value' => '"Rubik", "Helvetica Neue", sans-serif' ),
array( 'property' => 'font-weight', 'value' => '600' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'headings',
'.single .hentry .entry-title',
array(
array( 'property' => 'font-size', 'value' => '28px' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'headings',
'.single .hentry .entry-title',
array(
array( 'property' => 'font-size', 'value' => '36px' ),
),
array(
'screen and (min-width: 881px)',
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'headings',
'.page .page .entry-title',
array(
array( 'property' => 'font-size', 'value' => '28px' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'headings',
'.page .page .entry-title',
array(
array( 'property' => 'font-size', 'value' => '36px' ),
),
array(
'screen and (min-width: 881px)',
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'headings',
'.archive .page-header .page-title,
.search .page-header .page-title',
array(
array( 'property' => 'font-family', 'value' => '"Rubik", "Helvetica Neue", sans-serif' ),
array( 'property' => 'font-size', 'value' => '18px' ),
array( 'property' => 'font-weight', 'value' => '400' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.archive .taxonomy-description,
.search .taxonomy-description',
array(
array( 'property' => 'font-size', 'value' => '14px' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'headings',
'.card .entry-title',
array(
array( 'property' => 'font-size', 'value' => '24px' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.card .entry-content',
array(
array( 'property' => 'font-size', 'value' => '18px' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.sd-rating .rating-msg',
array(
array( 'property' => 'font-size', 'value' => '13px' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'#infinite-handle span',
array(
array( 'property' => 'font-size', 'value' => 'inherit !important' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'#infinite-handle span button',
array(
array( 'property' => 'font-family', 'value' => '"Rubik", "Helvetica Neue", sans-serif' ),
array( 'property' => 'font-weight', 'value' => '600' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'#infinite-handle span button:active,
#infinite-handle span button:focus,
#infinite-handle span button:hover',
array(
array( 'property' => 'font-family', 'value' => '"Rubik", "Helvetica Neue", sans-serif' ),
array( 'property' => 'font-weight', 'value' => '600' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'headings',
'.error404 .page-title',
array(
array( 'property' => 'font-size', 'value' => '30px' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'headings',
'.wp-caption .wp-caption-text',
array(
array( 'property' => 'font-size', 'value' => '14px' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'headings',
'.gallery-caption',
array(
array( 'property' => 'font-size', 'value' => '14px' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.posts-navigation a',
array(
array( 'property' => 'font-size', 'value' => '16px' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.site-main .comment-navigation,
.site-main .post-navigation',
array(
array( 'property' => 'font-family', 'value' => '"Libre Baskerville", Georgia, serif' ),
array( 'property' => 'font-size', 'value' => '16px' ),
array( 'property' => 'font-style', 'value' => 'italic' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.site-main .post-navigation .meta-nav-title',
array(
array( 'property' => 'font-style', 'value' => 'normal' ),
array( 'property' => 'font-family', 'value' => '"Rubik", "Helvetica Neue", sans-serif' ),
array( 'property' => 'font-weight', 'value' => '400' ),
),
array(
'screen and (min-width: 881px)',
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.bypostauthor .fn:before',
array(
array( 'property' => 'font-size', 'value' => '15px' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.comment .comment-author',
array(
array( 'property' => 'font-size', 'value' => '20px' ),
),
array(
'screen and (max-width: 881px)',
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.comment .comment-metadata',
array(
array( 'property' => 'font-size', 'value' => '14px' ),
),
array(
'screen and (max-width: 881px)',
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.comment .reply',
array(
array( 'property' => 'font-size', 'value' => '14px' ),
),
array(
'screen and (max-width: 881px)',
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.comment .comment-reply-link:before',
array(
array( 'property' => 'font-weight', 'value' => 'normal' ),
),
array(
'screen and (max-width: 881px)',
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.bypostauthor .fn:before',
array(
array( 'property' => 'font-size', 'value' => '20px' ),
),
array(
'screen and (min-width: 881px)',
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.no-comments',
array(
array( 'property' => 'font-family', 'value' => '"Libre Baskerville", Georgia, serif' ),
array( 'property' => 'font-style', 'value' => 'italic' ),
),
array(
'screen and (min-width: 881px)',
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.comment-respond p label',
array(
array( 'property' => 'font-weight', 'value' => '600' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.comment-respond p .subscribe-label',
array(
array( 'property' => 'font-weight', 'value' => '400' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'#respond p.comment-subscription-form label',
array(
array( 'property' => 'font-weight', 'value' => '400' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.comment .comment-reply-title a',
array(
array( 'property' => 'font-family', 'value' => '"Rubik", "Helvetica Neue", sans-serif' ),
array( 'property' => 'font-size', 'value' => '14px' ),
array( 'property' => 'font-weight', 'value' => '400' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.comment .comment-reply-title a:before',
array(
array( 'property' => 'font-weight', 'value' => 'normal' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'headings',
'.widget-title',
array(
array( 'property' => 'font-family', 'value' => '"Rubik", "Helvetica Neue", sans-serif' ),
array( 'property' => 'font-size', 'value' => '16px' ),
array( 'property' => 'font-weight', 'value' => '600' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.widget_calendar caption',
array(
array( 'property' => 'font-size', 'value' => '16px' ),
array( 'property' => 'font-weight', 'value' => '600' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'headings',
'.widget_calendar thead th,
.top_rated .pd_top_rated_holder_posts #top_posts a,
.widget_goodreads div[class^="gr_custom_title"]',
array(
array( 'property' => 'font-family', 'value' => '"Libre Baskerville", Georgia, serif' ),
array( 'property' => 'font-weight', 'value' => '600' ),
array( 'property' => 'font-size', 'value' => '14px' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.widget_calendar tfoot a',
array(
array( 'property' => 'font-weight', 'value' => '400' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.widget_tag_cloud a[style]',
array(
array( 'property' => 'font-size', 'value' => '16px !important' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.widget_recent_entries li .post-date',
array(
array( 'property' => 'font-size', 'value' => '14px' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.site-footer .site-info',
array(
array( 'property' => 'font-family', 'value' => '"Libre Baskerville", Georgia, serif' ),
array( 'property' => 'font-size', 'value' => '16px' ),
array( 'property' => 'font-style', 'value' => 'italic' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.wpcom-reblog-snapshot .reblog-post:before',
array(
array( 'property' => 'font-size', 'value' => '15px' ),
array( 'property' => 'font-weight', 'value' => 'normal' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'body-text',
'.wpcom-reblog-snapshot .reblog-post:before',
array(
array( 'property' => 'font-size', 'value' => '20px' ),
),
array(
'screen and (min-width: 881px)',
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'headings',
'div.sharedaddy h3.sd-title,
.sd-rating h3.sd-title',
array(
array( 'property' => 'font-family', 'value' => '"Rubik", "Helvetica Neue", sans-serif !important' ),
array( 'property' => 'font-size', 'value' => '13px !important' ),
array( 'property' => 'font-weight', 'value' => '400 !important' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'headings',
'div#jp-relatedposts h3.jp-relatedposts-headline em',
array(
array( 'property' => 'font-family', 'value' => '"Rubik", "Helvetica Neue", sans-serif !important' ),
array( 'property' => 'font-size', 'value' => '13px !important' ),
array( 'property' => 'font-weight', 'value' => '400 !important' ),
)
);
TypekitTheme::add_font_category_rule( $category_rules, 'headings',
'div#jp-relatedposts div.jp-relatedposts-items-visual h4.jp-relatedposts-post-title,
div#jp-relatedposts div.jp-relatedposts-items-visual h4.jp-relatedposts-post-title a',
array(
array( 'property' => 'font-family', 'value' => '"Rubik", "Helvetica Neue", sans-serif !important' ),
array( 'property' => 'font-size', 'value' => '17px !important' ),
array( 'property' => 'font-weight', 'value' => 'bold !important' ),
)
);
return $category_rules;
} );

280
rebalance/inc/jetpack.php Normal file
View file

@ -0,0 +1,280 @@
<?php
/**
* Jetpack Compatibility File.
*
* @link https://jetpack.com/
*
* @package Rebalance
*/
/**
* Jetpack Setup
*/
function rebalance_jetpack_setup() {
// Add support for Jetpack Portfolio Custom Post Type.
add_theme_support( 'jetpack-portfolio', array(
'title' => true,
'content' => true,
'featured-image' => true,
) );
// Custom logo fallback
// - Use Jetpack logo if theme does not support custom logo
if ( ! current_theme_supports( 'custom-logo' ) ) {
// Add support for Jetpack site logo
add_image_size( 'rebalance_site_logo', 0, 80 );
$args = array(
'header-text' => array(
'site-title',
'site-description',
),
'size' => 'rebalance_site_logo',
);
add_theme_support( 'site-logo', $args );
}
// Featured content
add_theme_support( 'featured-content', array(
'filter' => 'rebalance_get_featured_projects',
'max_posts' => 1,
'post_types' => 'jetpack-portfolio',
) );
// Add theme support for Infinite Scroll.
// See: https://jetpack.com/support/infinite-scroll/
add_theme_support( 'infinite-scroll', array(
'footer_widgets' => array( 'sidebar-1' ),
'wrapper' => false,
'container' => 'infinite-wrap',
'render' => 'rebalance_infinite_scroll_render',
'footer' => 'page',
) );
// Add theme support for Responsive Videos.
// See: https://jetpack.com/support/responsive-videos/
add_theme_support( 'jetpack-responsive-videos' );
// Add theme support for Content Options.
// See: https://jetpack.com/support/content-options/
add_theme_support( 'jetpack-content-options', array(
'blog-display' => 'excerpt',
'masonry' => '#infinite-wrap',
'author-bio' => true,
'post-details' => array(
'stylesheet' => 'rebalance-style',
'date' => '.entry-tags-date',
'categories' => '.entry-categories',
'tags' => '.entry-tags',
'author' => '.entry-meta .author',
),
'featured-images' => array(
'archive' => true,
'post' => true,
'portfolio' => true,
'fallback' => true,
),
) );
} // end function rebalance_jetpack_setup
add_action( 'after_setup_theme', 'rebalance_jetpack_setup' );
/**
* Custom render function for Infinite Scroll.
*/
function rebalance_infinite_scroll_render() {
while ( have_posts() ) {
the_post();
get_template_part( 'template-parts/content', 'card' );
}
}
/**
* Enable Infinite Scroll for Projects (jetpack-portfolio)
*
* @param array $args
* @filter infinite_scroll_query_args
* @return array
*/
function rebalance_jetpack_infinite_scroll_query_args( $args ) {
if ( is_page_template( 'template-projects.php' ) ) {
$args['post_type'] = array( 'post', 'page', 'jetpack-portfolio' );
$args['ignore_sticky_posts'] = false;
$args['paged'] = get_query_var('paged') ? get_query_var('paged') : 1;
}
return $args;
}
add_filter( 'infinite_scroll_query_args', 'rebalance_jetpack_infinite_scroll_query_args' );
/**
* Getter function for Featured Content
*
* @return (string) The value of the filter defined in add_theme_support( 'featured-content' )
*/
function rebalance_get_featured_projects() {
return apply_filters( 'rebalance_get_featured_projects', array() );
}
/**
* Helper function to check for Featured Content
*
* @param (integer)
* @return (boolean) true/false
*/
function rebalance_has_featured_projects( $minimum = 1 ) {
if ( is_paged() ) {
return false;
}
$minimum = absint( $minimum );
$featured_posts = apply_filters( 'rebalance_get_featured_projects', array() );
if ( ! is_array( $featured_posts ) ) {
return false;
}
if ( $minimum > count( $featured_posts ) ) {
return false;
}
return true;
}
function rebalance_get_featured_project_ids() {
// Get array of cached results if they exist.
$featured_ids = get_transient( 'featured_content_ids' );
if ( false === $featured_ids ) {
$settings = get_theme_mods();
$term = get_term_by( 'name', $settings['tag-name'], 'post_tag' );
if ( $term ) {
// Query for featured posts.
$featured_ids = get_posts( array(
'fields' => 'ids',
'numberposts' => $max_posts,
'post_type' => 'jetpack-portfolio',
'suppress_filters' => false,
'tax_query' => array(
array(
'field' => 'term_id',
'taxonomy' => 'post_tag',
'terms' => $term->term_id,
),
),
)
);
}
set_transient( 'featured_content_ids', $featured_ids );
}
// Ensure correct format before return.
return array_map( 'absint', $featured_ids );
}
/**
* Portfolio Title
*/
function rebalance_portfolio_title( $before = '', $after = '' ) {
$jetpack_portfolio_title = get_option( 'jetpack_portfolio_title' );
$title = '';
if ( is_post_type_archive( 'jetpack-portfolio' ) ) {
if ( isset( $jetpack_portfolio_title ) && '' != $jetpack_portfolio_title ) {
$title = esc_html( $jetpack_portfolio_title );
} else {
$title = post_type_archive_title( '', false );
}
} elseif ( is_tax( 'jetpack-portfolio-type' ) || is_tax( 'jetpack-portfolio-tag' ) ) {
$title = single_term_title( '', false );
}
echo $before . $title . $after;
}
/**
* Portfolio Content
*/
function rebalance_portfolio_content( $before = '', $after = '' ) {
$jetpack_portfolio_content = get_option( 'jetpack_portfolio_content' );
if ( is_tax() && get_the_archive_description() ) {
echo $before . get_the_archive_description() . $after;
} else if ( isset( $jetpack_portfolio_content ) && '' != $jetpack_portfolio_content ) {
$content = convert_chars( convert_smilies( wptexturize( stripslashes( wp_filter_post_kses( addslashes( $jetpack_portfolio_content ) ) ) ) ) );
echo $before . $content . $after;
}
}
/**
* Portfolio Featured Image
*/
function rebalance_portfolio_thumbnail( $before = '', $after = '' ) {
$jetpack_portfolio_featured_image = get_option( 'jetpack_portfolio_featured_image' );
if ( isset( $jetpack_portfolio_featured_image ) && '' != $jetpack_portfolio_featured_image ) {
$featured_image = wp_get_attachment_image( (int) $jetpack_portfolio_featured_image, 'full-width' );
echo $before . $featured_image . $after;
}
}
/**
* Filter Infinite Scroll text handle
*/
function rebalance_portfolio_infinite_scroll_navigation( $js_settings ) {
if ( is_post_type_archive( 'jetpack-portfolio' ) || is_tax( 'jetpack-portfolio-type' ) || is_tax( 'jetpack-portfolio-tag' ) ) {
$js_settings[ 'text' ] = esc_js( esc_html__( 'Older projects', 'rebalance' ) );
}
return $js_settings;
}
add_filter( 'infinite_scroll_js_settings', 'rebalance_portfolio_infinite_scroll_navigation' );
/**
* Return Author Bio
* If Jetpack is not available, fall back to rebalance_author_meta()
*/
function rebalance_author_bio() {
if ( ! function_exists( 'jetpack_author_bio' ) ) {
rebalance_author_meta();
} else {
jetpack_author_bio();
}
}
/**
* Author Author Bio Avatar Size
*/
function rebalance_author_bio_avatar_size() {
return 111;
}
add_filter( 'jetpack_author_bio_avatar_size', 'rebalance_author_bio_avatar_size' );
/**
* Custom function to check for a post thumbnail
* If Jetpack is not available, fall back to has_post_thumbnail()
*/
function rebalance_has_post_thumbnail( $post = null ) {
if ( function_exists( 'jetpack_has_featured_image' ) ) {
return jetpack_has_featured_image( $post );
} else {
return has_post_thumbnail( $post );
}
}
/**
* Disable Lazy Loading on non-singular views
*
* @filter lazyload_is_enabled
* @return bool
*/
add_action( 'wp', 'rebalance_remove_lazy_load_hooks' );
function rebalance_remove_lazy_load_hooks() {
if ( is_singular() || ! class_exists( 'Jetpack_Lazy_Images' ) ) {
return;
}
$instance = Jetpack_Lazy_Images::instance();
add_action( 'wp_head', array( $instance, 'remove_filters' ), 10000 );
remove_action( 'wp_enqueue_scripts', array( $instance, 'enqueue_assets' ) );
}

View file

@ -0,0 +1,227 @@
/**
* WordPress.com specific styles
*/
/*--------------------------------------------------------------*/
/* !# Extras */
/*--------------------------------------------------------------*/
/* Reblog snapshots */
.wpcom-reblog-snapshot {
margin-bottom: 30px;
margin-left: 12.5%;
}
.wpcom-reblog-snapshot .reblog-post {
box-shadow: none;
border: 2px solid #000;
padding: 30px;
position: relative;
}
.wpcom-reblog-snapshot .reblog-post:before {
position: relative;
color: #F35029;
content: '\f079';
display: inline-block;
font-family: 'FontAwesome';
font-size: 15px;
font-weight: normal;
margin: 0;
position: absolute;
top: 25px;
right: 25px;
speak: none;
vertical-align: baseline;
}
/* Sharedaddy */
div.sharedaddy {
margin-bottom: 30px;
}
div.sharedaddy h3.sd-title {
color: #555;
font-family: "Rubik", "Helvetica Neue", sans-serif !important;
font-size: 13px !important;
font-weight: 400 !important;
letter-spacing: 0.075em;
line-height: 1.5em !important;
}
div.sharedaddy h3.sd-title:before {
border-top: none !important;
display: none !important;
}
div.sharedaddy .sd-content ul {
margin-bottom: 0 !important;
}
/* Ratings */
.sd-rating .rating-msg {
font-size: 13px !important;
font-weight: 600;
}
.sd-rating h3.sd-title {
color: #555;
font-family: "Rubik", "Helvetica Neue", sans-serif !important;
font-size: 13px !important;
font-weight: 400 !important;
letter-spacing: 0.075em;
line-height: 1.5em !important;
}
/* Related Posts */
div#jp-relatedposts h3.jp-relatedposts-headline em {
color: #555;
font-family: "Rubik", "Helvetica Neue", sans-serif !important;
font-size: 13px !important;
font-weight: 400 !important;
letter-spacing: 0.075em;
line-height: 1.5em !important;
}
div#jp-relatedposts div.jp-relatedposts-items-visual h4.jp-relatedposts-post-title,
div#jp-relatedposts div.jp-relatedposts-items-visual .jp-relatedposts-post img.jp-relatedposts-post-img,
div#jp-relatedposts div.jp-relatedposts-items p {
margin-bottom: 10px;
}
div#jp-relatedposts div.jp-relatedposts-items-visual h4.jp-relatedposts-post-title,
div#jp-relatedposts div.jp-relatedposts-items-visual h4.jp-relatedposts-post-title a {
font-family: "Rubik", "Helvetica Neue", sans-serif !important;
font-size: 17px !important;
font-weight: bold !important;
line-height: 1.5em !important;
}
div#jp-relatedposts h3.jp-relatedposts-headline em:before {
border-top: none !important;
}
/* Highlander comments */
.highlander-enabled div#respond h3 {
margin-top: 0 !important;
}
.highlander-enabled div#respond {
margin-bottom: 0 !important;
}
.highlander-enabled #respond .comment-subscription-form label {
padding-left: 10px;
right: inherit;
text-align: left;
width: 50%;
}
/* Authors Widget */
.widget_authors > ul ul {
margin-left: 1em;
list-style: disc;
}
.widget_authors > ul > li:first-child > a,
.widget_authors > ul > li:first-child > a:hover,
.widget_authors > ul > li:first-child > a:active {
margin-bottom: 20px;
text-decoration: none;
}
.widget_authors > ul > li img,
.widget_authors > ul > li strong {
display: inline-block;
text-decoration: none;
vertical-align: middle;
}
/* Flickr Widget Styles */
.widget_flickr #flickr_badge_uber_wrapper a:hover,
.widget_flickr #flickr_badge_uber_wrapper a:link,
.widget_flickr #flickr_badge_uber_wrapper a:active,
.widget_flickr #flickr_badge_uber_wrapper a:visited {
color: inherit;
}
.widget_flickr #flickr_badge_uber_wrapper,
.widget_flickr #flickr_badge_uber_wrapper #flickr_badge_wrapper {
border-color: transparent !important;
}
.widget_flickr td br {
clear: none;
display: none;
}
.widget_flickr td a,
.widget_flickr td img {
display: inline-block;
vertical-align: top;
}
.widget_flickr .flickr-size-thumbnail td a {
width: 25%;
}
.widget_flickr .flickr-size-small td a {
width: 50%;
}
.widget_flickr td a:last-of-type {
clear: both;
display: block;
float: none;
margin-top: 20px;
width: 100%;
}
/* Instagram */
.widget_wpcom_instagram_widget .wpcom-instagram-images img {
margin: 0;
}
.wpcom-instagram-columns-2 a {
width: inherit;
}
/* Social Media icons */
.widget_wpcom_social_media_icons_widget li > a {
display: inherit;
}
.widget_wpcom_social_media_icons_widget .genericon {
font-size: 26px;
}
/* Top rated */
.top_rated .pd_top_rated_holder_posts > p {
margin-bottom: 0;
}
.top_rated .pd_top_rated_holder_posts #top_posts li {
margin: 1em 0;
}
.top_rated .pd_top_rated_holder_posts #top_posts a {
font-family: "Libre Baskerville", Georgia, serif;
}
.top_rated .pd_top_rated_holder_posts #top_posts br {
clear: none;
display: none;
}
/* Large Screen Styles */
@media screen and (min-width: 881px) {
/* Reblog snapshots */
.wpcom-reblog-snapshot {
margin-left: inherit;
}
.wpcom-reblog-snapshot .reblog-post:before {
font-size: 20px;
}
}

View file

@ -0,0 +1,273 @@
<?php
/**
* Custom template tags for this theme.
*
* Eventually, some of the functionality here could be replaced by core features.
*
* @package Rebalance
*/
if ( ! function_exists( 'rebalance_site_logo' ) ) :
/**
* Fall back to Jetpack site logo if core logo doesn't exist
* @todo remove for WP 4.7
*/
function rebalance_site_logo() {
if ( function_exists( 'the_custom_logo' ) && current_theme_supports( 'custom-logo' ) ) {
the_custom_logo();
} elseif ( function_exists( 'jetpack_the_site_logo' ) ) {
jetpack_the_site_logo();
} else {
return;
}
}
endif;
if ( ! function_exists( 'rebalance_entry_meta' ) ) :
/**
* Prints HTML with meta information for the current post-date/time, categories, tags and author.
*/
function rebalance_entry_meta() {
// Get time string
$time_string = '<time class="entry-date published updated" datetime="%1$s">%2$s</time>';
if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) {
$time_string = '<time class="entry-date published" datetime="%1$s">%2$s</time><time class="updated" datetime="%3$s">%4$s</time>';
}
// Format time string
$time_string = sprintf( $time_string,
esc_attr( get_the_date( 'c' ) ),
esc_html( get_the_date() ),
esc_attr( get_the_modified_date( 'c' ) ),
esc_html( get_the_modified_date() )
);
// Output variable
$entry_meta_output = '';
// Author
$author = '<span class="author vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '">' . esc_html( get_the_author() ) . '</a></span>';
// Post date
$post_date = '<span class="entry-tags-date"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">' . $time_string . '</a></span>';
// Categories
$categories_list = get_the_term_list( get_the_ID(), 'category', '<span class="entry-categories">', esc_html_x( ', ', 'Categories separator', 'rebalance' ), '</span>' );
// Project type
$project_type_list = get_the_term_list( get_the_ID(), 'jetpack-portfolio-type', '<span class="entry-categories">', esc_html_x( ', ', 'Categories separator', 'rebalance' ), '</span>' );
// Portfolio output
if ( 'jetpack-portfolio' === get_post_type() ) {
$entry_meta_output .= $project_type_list;
echo $entry_meta_output; // WPCS: XSS OK.
// Everything else's output
} else {
$entry_meta_output .= $author;
$entry_meta_output .= $post_date;
$entry_meta_output .= $categories_list;
echo $entry_meta_output; // WPCS: XSS OK.
}
// Edit link
edit_post_link(
sprintf(
/* translators: %s: Name of current post */
esc_html__( 'Edit %s', 'rebalance' ),
the_title( '<span class="screen-reader-text">"', '"</span>', false )
),
'<span class="edit-link">',
'</span>'
);
}
endif;
if ( ! function_exists( 'rebalance_entry_footer' ) ) :
/**
* Prints HTML with meta information for the tags, project-tags and edit links.
*/
function rebalance_entry_footer() {
// Posts
if ( 'post' === get_post_type() ) {
/* translators: used between list items, there is a space after the comma */
$tags_list = get_the_tag_list( '', esc_html__( ', ', 'rebalance' ) );
if ( $tags_list && ! is_wp_error( $tags_list ) ) {
echo '<span class="entry-tags">' . $tags_list . '</span>';
}
}
// Projects
if ( is_single() && 'jetpack-portfolio' === get_post_type() ) {
// Show project TAGS on single project templates
$project_tags_list = get_the_term_list( get_the_ID(), 'jetpack-portfolio-tag', '<span class="entry-tags">', esc_html__( ', ', 'rebalance' ), '</span>' );
if ( $project_tags_list ) {
echo $project_tags_list;
}
} elseif ( 'jetpack-portfolio' === get_post_type() ) {
// Show project TYPES on all other project templates
$project_type_list = get_the_term_list( get_the_ID(), 'jetpack-portfolio-type', '<span class="entry-categories">', esc_html__( ', ', 'rebalance' ), '</span>' );
if ( $project_type_list ) {
echo $project_type_list;
}
}
// Edit link
edit_post_link(
sprintf(
/* translators: %s: Name of current post */
esc_html__( 'Edit %s', 'rebalance' ),
the_title( '<span class="screen-reader-text">"', '"</span>', false )
),
'<span class="edit-link">',
'</span>'
);
}
endif;
if ( ! function_exists( 'rebalance_author_meta' ) ) :
/**
* Prints HTML with meta information for the tags, project-tags and edit links.
*/
function rebalance_author_meta() {
// If a user has filled out their description, show a bio on their entries
if ( get_the_author_meta( 'description' ) ) { ?>
<div class="author-meta clear-fix">
<div class="author-box">
<div class="author-information">
<div class="author-avatar">
<?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'rebalance_author_bio_avatar_size', 111 ) ); ?>
</div><!-- #author-avatar -->
<h3><?php printf( esc_attr__( 'About %s', 'rebalance' ), get_the_author() ); ?></h3>
<div class="author-description">
<?php the_author_meta( 'description' ); ?>
</div>
</div><!-- #author-description -->
</div>
</div><!-- #author-meta-->
<?php }
}
endif;
if ( ! function_exists('rebalance_the_attached_image')) :
/**
* Print the attached image with a link to the next attached image.
*
* @since Twenty Fourteen 1.0
*/
function rebalance_the_attached_image() {
$post = get_post();
/**
* Filter the default Twenty Fourteen attachment size.
*
* @param array $dimensions {
* An array of height and width dimensions.
*
* @type int $height Height of the image in pixels. Default 810.
* @type int $width Width of the image in pixels. Default 810.
* }
*/
$attachment_size = 'full';
$next_attachment_url = wp_get_attachment_url();
if ( $post->post_parent ) {
/*
* Grab the IDs of all the image attachments in a gallery so we can get the URL
* of the next adjacent image in a gallery, or the first image (if we're
* looking at the last image in a gallery), or, in a gallery of one, just the
* link to that image file.
*/
$attachment_ids = get_posts(array(
'post_parent' => $post->post_parent,
'fields' => 'ids',
'numberposts' => 999,
'post_status' => 'inherit',
'post_type' => 'attachment',
'post_mime_type' => 'image',
'order' => 'ASC',
'orderby' => 'menu_order ID',
));
// If there is more than 1 attachment in a gallery...
if (count($attachment_ids) > 1) {
foreach ($attachment_ids as $idx => $attachment_id) {
if ($attachment_id == $post->ID) {
$next_id = $attachment_ids[ ( $idx + 1 ) % count( $attachment_ids ) ];
break;
}
}
// get the URL of the next image attachment...
if ($next_id) {
$next_attachment_url = get_attachment_link($next_id);
}
// or get the URL of the first image attachment.
else {
$next_attachment_url = get_attachment_link(reset($attachment_ids));
}
}
}
printf('<a href="%1$s" rel="attachment">%2$s</a>',
esc_url($next_attachment_url),
wp_get_attachment_image($post->ID, $attachment_size)
);
}
endif;
/**
* Returns true if a blog has more than 1 category.
*
* @return bool
*/
function rebalance_categorized_blog() {
if ( false === ( $all_the_cool_cats = get_transient( 'rebalance_categories' ) ) ) {
// Create an array of all the categories that are attached to posts.
$all_the_cool_cats = get_categories( array(
'fields' => 'ids',
'hide_empty' => 1,
// We only need to know if there is more than one category.
'number' => 2,
) );
// Count the number of categories that are attached to the posts.
$all_the_cool_cats = count( $all_the_cool_cats );
set_transient( 'rebalance_categories', $all_the_cool_cats );
}
if ( $all_the_cool_cats > 1 ) {
// This blog has more than 1 category so rebalance_categorized_blog should return true.
return true;
} else {
// This blog has only 1 category so rebalance_categorized_blog should return false.
return false;
}
}
/**
* Flush out the transients used in rebalance_categorized_blog.
*/
function rebalance_category_transient_flusher() {
if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) {
return;
}
// Like, beat it. Dig?
delete_transient( 'rebalance_categories' );
}
add_action( 'edit_category', 'rebalance_category_transient_flusher' );
add_action( 'save_post', 'rebalance_category_transient_flusher' );
/**
* Jetpack Portfolio template checker
*
* Checks if various Jetpack portfolio archives are bring loaded
*
* @return boolean true/false
* @since 1.0
*/
function rebalance_is_jetpack_portfolio_archive() {
if ( is_post_type_archive( 'jetpack-portfolio' ) || is_tax( 'jetpack-portfolio-type' ) || is_tax( 'jetpack-portfolio-tag' ) ) {
return true;
}
}

View file

@ -0,0 +1,374 @@
<?php
/**
* Background color
* - Default: white
* - Used for all backgrounds
*/
add_color_rule( 'bg', '#ffffff', array(
// Background color, no contrast
array(
'body,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
ins,
mark,
.main-navigation .children,
.main-navigation .sub-menu,
.main-navigation > div,
.menu-toggle,
.menu-toggle:focus,
.entry-image .entry-image-caption,
#infinite-handle span button,
.comment .comment-reply-title a', 'background-color' ),
// Border color, no contrast
array(
'.card:hover .entry-header,
.card .entry-title a:hover,
.card:hover .entry-title a:hover', 'border-color' ),
// Text color, no contrast
array(
'button:active,
button:focus,
button:hover,
input[type="button"]:active,
input[type="button"]:focus,
input[type="button"]:hover,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="reset"]:hover,
input[type="submit"]:active,
input[type="submit"]:focus,
input[type="submit"]:hover,
pre,
.page-links a:hover,
.posts-navigation a:active,
.posts-navigation a:hover,
.site-feature .entry-header .entry-categories:after,
.site-feature .entry-header .entry-meta,
.site-feature .entry-header .entry-meta a,
.site-feature .entry-header .entry-meta a:active,
.site-feature .entry-header .entry-meta a:hover,
.site-feature .entry-header .entry-summary,
.site-feature .entry-header .entry-title a,
.site-feature .entry-header a,
.card:hover,
.card:hover a,
.card:hover a:active,
.card:hover a:hover,
.card:hover .entry-meta,
.card:hover .entry-meta > span:after,
.card:hover .sd-rating h3.sd-title,
#infinite-handle span button:active,
#infinite-handle span button:focus,
#infinite-handle span button:hover,
.widget_tag_cloud a[style]:active,
.widget_tag_cloud a[style]:hover', 'color' ),
),
__( 'Background color' ) );
/**
* Text and Border Colors
* - Default: black
* - Used for buttons, general rules and borders
*/
add_color_rule( 'txt', '#000000', array(
// Background Color, bg contrast, less contrast to match #CCC
array(
'button:active,
button:focus,
button:hover,
input[type="button"]:active,
input[type="button"]:focus,
input[type="button"]:hover,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="reset"]:hover,
input[type="submit"]:active,
input[type="submit"]:focus,
input[type="submit"]:hover,
hr,
pre,
.site-feature .entry-image-link,
.card .entry-image,
#infinite-handle span button:active,
#infinite-handle span button:focus,
#infinite-handle span button:hover,
.page-links a:hover,
.posts-navigation a:active,
.posts-navigation a:hover,
.widget_tag_cloud a[style]:active,
.widget_tag_cloud a[style]:hover', 'background-color', 'bg' ),
// Background Color, bg contrast, more contrast to match #555
array(
'.site-feature .entry-header', 'background-color', 'bg', 8 ),
// Border Color, bg contrast
array(
'button,
input[type="button"],
input[type="email"],
input[type="password"],
input[type="reset"],
input[type="search"],
input[type="submit"],
input[type="text"],
input[type="url"],
textarea,
.site-heading,
.site-branding,
.site-footer,
.site-main .comment-navigation .nav-links,
.main-navigation .children,
.main-navigation .sub-menu,
.main-navigation .menu-item-has-children:hover,
.main-navigation .page_item_has_children:hover,
.main-navigation div > ul ul,
.main-navigation ul ul > li:hover,
.archive .page-header .page-title,
.comment-respond p input,
.comment-respond p textarea,
.page-links a,
.posts-navigation a,
.search .page-header .page-title,
.widget_tag_cloud a[style],
.wpcom-reblog-snapshot .reblog-post,
.entry-image .entry-image-caption,
.main-navigation div > ul:last-child,
.main-navigation div > ul:first-child,
.page .page,
.pingback .comment-body,
.search .page-header,
.search-no-results .page-content,
.single #page .site-main,
.single .site-main .post-navigation,
.single-jetpack-portfolio .hentry,
.archive .page-header,
.author-meta,
.card .entry-header,
.card .entry-image-section,
.comments-area,
.entry-author,
.error404 .not-found,
#infinite-handle span button,
#infinite-handle span button:active,
#infinite-handle span button:focus,
#infinite-handle span button:hover,
#secondary', 'border-color', 'bg' ),
// Border Color, bg contrast, less contrast to match #CCC
array(
'.single .site-main > .post-navigation,
.site-main .comment-navigation .nav-links,
.pingback .comment-body', 'border-color', 'bg', 2 ),
// Border Color, bg contrast, more contrast to match #999
array(
'.main-navigation .sub-menu:before,
.main-navigation .children:before,
.main-navigation li:after,
.main-navigation li:after,
.dropdown-toggle,
.comment .children .comment-body,
.comment .comment-body,
.comment-content td,
.comment-content th,
.comment-content tr,
.single div#respond,
.comment-respond,
.no-comments,
.entry-content tbody td,
.entry-content tbody th,
.entry-content tbody tr,
.widget_calendar tbody td,
.widget_calendar tbody th,
.widget_calendar tbody tr', 'border-color', 'bg', 12 ),
// Text Color, bg contrast
array(
'a,
a:visited,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="url"]:focus,
mark,
textarea:focus,
.entry-content a:active,
.entry-content a:hover,
.entry-title a,
.site-title a,
.site-description,
.main-navigation ul > li a,
.dropdown-toggle:after,
.comment-content a:active,
.comment-content a:hover,
.widget_calendar table a:active,
.widget_calendar table a:hover', 'color', 'bg' ),
// Text Color, bg contrast, less contrast to match #CCC
array(
'.comment-navigation .nav-next:after,
.comment-navigation .nav-previous:after,
.entry-meta > span:after,
.post-navigation .nav-next:after,
.post-navigation .nav-previous:after', 'color', 'bg', 2 ),
// Text Color, bg contrast, with lowered opacity
array(
'body,
button,
input,
select,
textarea,
.entry-meta a,
footer.entry-meta a:hover,
footer.entry-meta a:active,
div.sharedaddy h3.sd-title,
div#jp-relatedposts h3.jp-relatedposts-headline em', 'color', 'bg', 2 ),
// Text Color, bg contrast, more contrast to match #999
array(
'.archive .taxonomy-description,
.comment-metadata a,
.entry-image .entry-image-caption,
.entry-meta,
.gallery-caption,
.pingback .comment-body,
.search .taxonomy-description,
.widget_calendar tbody,
.wp-caption .wp-caption-text', 'color', 'bg', 12 ),
),
__( 'Text and Border Colors' ) );
/**
* Link color
* - Default: red
* - Used for link hover states, primary menu hover states, and buttons
*/
add_color_rule( 'link', '#f35029', array(
// Background Color, bg contrast
array(
'.card:hover', 'background-color', 'bg' ),
// Border Color, bg contrast
array(
'.dropdown-toggle:hover,
.dropdown-toggle.toggled-on,
.comment-content blockquote,
.comment-content q,
.entry-content blockquote,
.entry-content q,
.card .entry-title a:hover', 'border-color', 'bg' ),
// Text Color, bg contrast
array(
'a:active,
a:focus,
a:hover,
button,
footer.entry-meta a,
input[type="button"],
input[type="email"],
input[type="password"],
input[type="reset"],
input[type="search"],
input[type="submit"],
input[type="text"],
input[type="url"],
textarea,
.site-title a:hover,
.main-navigation .children li:hover:before,
.main-navigation .sub-menu li:hover:before,
.main-navigation ul > li:hover > a,
.main-navigation ul ul > li:hover > a,
.menu-toggle,
.menu-toggle:focus,
.dropdown-toggle.toggled-on:after,
.dropdown-toggle:hover::after,
.dropdown-toggle:active,
.dropdown-toggle:focus,
.entry-content a,
.entry-meta a:active,
.entry-meta a:hover,
.entry-title a:active,
.entry-title a:hover,
.bypostauthor .fn:before,
.comment .comment-author a,
.comment-content a,
.comment .comment-reply-link,
.comment .comment-reply-title a,
#infinite-handle span button,
.posts-navigation a,
.widget_calendar table a,
.widget_tag_cloud a[style],
.wpcom-reblog-snapshot .reblog-post:before', 'color', 'bg' ),
),
__( 'Links, Headings, and Buttons' ) );
/**
* Featured Color Schemes
*/
add_color_palette( array(
'#F9F4F0',
'#ed0202',
'#1e120f',
'',
'',
), __( 'Tan, Red, & Mahogany' ) );
add_color_palette( array(
'#2a044a',
'#f0c060',
'#f35029',
'',
'',
), __( 'Mardi Gras' ) );
add_color_palette( array(
'#f9f7f0',
'#666666',
'#198975',
'',
'',
), __( 'Off White & Ever Green' ) );
add_color_palette( array(
'#000000',
'#ededed',
'#c60000',
'',
'',
), __( 'Black, Gray, & Red' ) );
add_color_palette( array(
'#228a24',
'#ffffff',
'#000000',
'',
'',
), __( 'Green, White & Black' ) );
add_color_palette( array(
'#ffffff',
'#b38184',
'#455c86',
'',
'',
), __( 'White, Mauve & Navy' ) );

53
rebalance/inc/wpcom.php Normal file
View file

@ -0,0 +1,53 @@
<?php
/**
* Scripts specific for wordpress.com
*
* @package Rebalance
*/
function rebalance_wpcom_setup() {
global $themecolors;
/**
* Set a default theme color array for WP.com.
*
* @global array $themecolors
* @since Underscores.me 1.0
*/
$themecolors = array(
'bg' => '#ffffff',
'border' => '#000000',
'text' => '#000000',
'link' => '#f35029',
'url' => '',
);
/**
* Add Print styles
*/
add_theme_support( 'print-style' );
}
add_action( 'after_setup_theme', 'rebalance_wpcom_setup' );
/**
* Enqueue wp.com-specific styles
*/
function rebalance_wpcom_styles() {
wp_enqueue_style( 'rebalance-wpcom', get_template_directory_uri() . '/inc/style-wpcom.css', '20160418' );
}
add_action( 'wp_enqueue_scripts', 'rebalance_wpcom_styles' );
/**
* De-queue Google fonts if custom fonts are being used instead.
*/
function rebalance_dequeue_fonts() {
if ( class_exists( 'TypekitData' ) && class_exists( 'CustomDesign' ) && CustomDesign::is_upgrade_active() ) {
$customfonts = TypekitData::get( 'families' );
if ( $customfonts['headings']['id'] && $customfonts['body-text']['id'] ) {
wp_dequeue_style( 'rebalance-fonts' );
}
}
}
add_action( 'wp_enqueue_scripts', 'rebalance_dequeue_fonts' );

69
rebalance/index.php Normal file
View file

@ -0,0 +1,69 @@
<?php
/**
* The main template file.
*
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package Rebalance
*/
get_header(); ?>
<div id="primary" class="content-area">
<?php
/*
* Include the Featured Project loop.
* - if featured posts exist, collect their IDs and exclude them from the main loop
*/
if ( rebalance_has_featured_projects( 1 ) ) {
$featured_ids = rebalance_get_featured_project_ids();
get_template_part( 'template-parts/section', 'featured' );
} else {
$featured_ids = null;
} ?>
<main id="main" class="site-main" role="main">
<?php if ( have_posts() ) : ?>
<?php if ( is_home() && ! is_front_page() ) : ?>
<header>
<h1 class="page-title screen-reader-text"><?php single_post_title(); ?></h1>
</header>
<?php endif; ?>
<div id="infinite-wrap">
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php
/*
* Include the Card template for the content.
*/
get_template_part( 'template-parts/content', 'card' );
?>
<?php endwhile; ?>
</div>
<?php the_posts_navigation(); ?>
<?php else : ?>
<?php get_template_part( 'template-parts/content', 'none' ); ?>
<?php endif; ?>
</main><!-- #main -->
</div><!-- #primary -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>

View file

@ -0,0 +1,61 @@
/**
* Column list Plugin
* - Breaks up a list into separate columns
* - src: https://github.com/weblinc/jquery-columnlist
*
Copyright (c) 2012 WebLinc LLC
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
*/
(function($){
jQuery.fn.columnlist = function( options ) {
options = $.extend( {}, $.fn.columnlist.defaults, options );
return this.each(function () {
var $list = $( this ),
size = options.size || $list.data( 'columnList' ) || 1,
$children = $list.children('li'),
perColumn = Math.ceil( $children.length / size ),
$column;
for ( var i = 0; i < size; i++ ) {
// Set up column wrapper
$column = $('<ul />');
for ( var j = 0; j < perColumn; j++ ) {
if ( $children.length > i * perColumn + j ) {
// Add class to column wrapper
$column.addClass(options['class']).addClass(options.incrementClass + i).append( $children[ i * perColumn + j ]);
}
}
// Add new columns
$list.parent().append( $column );
}
// Remove original list
$list.remove();
});
};
// Defaults
$.fn.columnlist.defaults = {
'class' : 'nav-menu',
incrementClass : 'nav-menu-'
};
})(jQuery);

View file

@ -0,0 +1,38 @@
/**
* customizer.js
*
* Theme Customizer enhancements for a better user experience.
*
* Contains handlers to make Theme Customizer preview reload changes asynchronously.
*/
( function( $ ) {
// Site title and description.
wp.customize( 'blogname', function( value ) {
value.bind( function( to ) {
$( '.site-title a' ).text( to );
} );
} );
wp.customize( 'blogdescription', function( value ) {
value.bind( function( to ) {
$( '.site-description' ).text( to );
} );
} );
// Header text color.
wp.customize( 'header_textcolor', function( value ) {
value.bind( function( to ) {
if ( 'blank' === to ) {
$( '.site-title, .site-description' ).css( {
'clip': 'rect(1px, 1px, 1px, 1px)',
'position': 'absolute'
} );
} else {
$( '.site-title, .site-description' ).css( {
'clip': 'auto',
'color': to,
'position': 'relative'
} );
}
} );
} );
} )( jQuery );

150
rebalance/js/navigation.js Normal file
View file

@ -0,0 +1,150 @@
/* global rebalanceScreenReaderText */
( function( $ ) {
var body, masthead, menuToggle, siteMenu, siteNavigation;
function initMainNavigation( container ) {
/**
* Use 3 column display in main menu
* - break top-level lists into three parts
* - add parent class to top-level menu items
*/
container.find('.menu, .nav-menu').columnlist( { size : 3 } );
container.find( '.sub-menu,.children' ).parents( 'li' ).addClass( 'menu-item-has-children' );
// Add dropdown toggle that displays child menu items.
var dropdownToggle = $( '<button />', {
'class': 'dropdown-toggle',
'aria-expanded': false
} ).append( $( '<span />', {
'class': 'screen-reader-text',
text: rebalanceScreenReaderText.expand
} ) );
container.find( '.menu-item-has-children > a' ).after( dropdownToggle );
// Toggle buttons and submenu items with active children menu items.
container.find( '.current-menu-ancestor > button' ).addClass( 'toggled-on' );
container.find( '.current-menu-ancestor > .sub-menu' ).addClass( 'toggled-on' );
// Add menu items with submenus to aria-haspopup="true".
container.find( '.menu-item-has-children' ).attr( 'aria-haspopup', 'true' );
container.find( '.dropdown-toggle' ).click( function( e ) {
var _this = $( this ),
screenReaderSpan = _this.find( '.screen-reader-text' );
e.preventDefault();
_this.toggleClass( 'toggled-on' );
_this.next( '.children, .sub-menu' ).toggleClass( 'toggled-on' );
// jscs:disable
_this.attr( 'aria-expanded', _this.attr( 'aria-expanded' ) === 'false' ? 'true' : 'false' );
// jscs:enable
screenReaderSpan.text( screenReaderSpan.text() === rebalanceScreenReaderText.expand ? rebalanceScreenReaderText.collapse : rebalanceScreenReaderText.expand );
} );
}
initMainNavigation( $( '.main-navigation' ) );
/**
* Re-initialize the main navigation when it is updated in the customizer
* - Borrowed from twentysixteen: https://goo.gl/O6msL1
*/
$( document ).on( 'customize-preview-menu-refreshed', function( e, params ) {
if ( 'header' === params.wpNavMenuArgs.theme_location ) {
initMainNavigation( params.newContainer );
}
});
masthead = $( '#masthead' );
menuToggle = masthead.find( '.menu-toggle' );
siteMenu = masthead.find( '.main-navigation' );
siteNavigation = masthead.find( '.main-navigation > div' );
// Enable menuToggle.
( function() {
// Return early if menuToggle is missing.
if ( ! menuToggle.length ) {
return;
}
// Add an initial values for the attribute.
menuToggle.add( siteNavigation ).attr( 'aria-expanded', 'false' );
menuToggle.on( 'click.rebalance', function() {
$( this ).add( siteMenu ).add( siteNavigation ).toggleClass( 'toggled-on' );
// jscs:disable
$( this ).add( siteMenu ).add( siteNavigation ).attr( 'aria-expanded', $( this ).add( siteNavigation ).attr( 'aria-expanded' ) === 'false' ? 'true' : 'false' );
// jscs:enable
} );
} )();
// Fix sub-menus for touch devices and better focus for hidden submenu items for accessibility.
( function() {
if ( ! siteNavigation.length || ! siteNavigation.children().length ) {
return;
}
// Toggle `focus` class to allow submenu access on tablets.
function toggleFocusClassTouchScreen() {
if ( window.innerWidth >= 896 ) {
$( document.body ).on( 'touchstart.rebalance', function( e ) {
if ( ! $( e.target ).closest( '.main-navigation li' ).length ) {
$( '.main-navigation li' ).removeClass( 'focus' );
}
} );
siteNavigation.find( '.menu-item-has-children > a' ).on( 'touchstart.rebalance', function( e ) {
var el = $( this ).parent( 'li' );
if ( ! el.hasClass( 'focus' ) ) {
e.preventDefault();
el.toggleClass( 'focus' );
el.siblings( '.focus' ).removeClass( 'focus' );
}
} );
} else {
siteNavigation.find( '.menu-item-has-children > a' ).unbind( 'touchstart.rebalance' );
}
}
if ( 'ontouchstart' in window ) {
$( window ).on( 'resize.rebalance', toggleFocusClassTouchScreen );
toggleFocusClassTouchScreen();
}
siteNavigation.find( 'a' ).on( 'focus.rebalance blur.rebalance', function() {
$( this ).parents( '.menu-item' ).toggleClass( 'focus' );
} );
} )();
// Add the default ARIA attributes for the menu toggle and the navigations.
function onResizeARIA() {
if ( window.innerWidth < 896 ) {
if ( menuToggle.hasClass( 'toggled-on' ) ) {
menuToggle.attr( 'aria-expanded', 'true' );
siteMenu.attr( 'aria-expanded', 'true' );
siteNavigation.attr( 'aria-expanded', 'true' );
} else {
menuToggle.attr( 'aria-expanded', 'false' );
siteMenu.attr( 'aria-expanded', 'false' );
siteNavigation.attr( 'aria-expanded', 'false' );
}
} else {
menuToggle.removeAttr( 'aria-expanded' );
siteMenu.removeAttr( 'aria-expanded' );
siteNavigation.removeAttr( 'aria-expanded' );
}
}
$( document ).ready( function() {
body = $( document.body );
$( window )
.on( 'load.rebalance', onResizeARIA )
.on( 'resize.rebalance', onResizeARIA );
} );
} )( jQuery );

86
rebalance/js/scripts.js Normal file
View file

@ -0,0 +1,86 @@
/*!
* Script for Rebalance
*/
( function( $ ) {
// Determine if our site is RTL (Right-To-Left)
var ltr = true;
if ( 1 == Rebalance.is_rtl ) {
ltr = false;
}
// Code inside here fires when the DOM is loaded.
$( document ).ready( function() {
/**
* Set variable
*/
var $container = $( '#infinite-wrap' );
/**
* Append HTML to masonry wrapper for responsive sizing
* - see: http://masonry.desandro.com/options.html#columnwidth
*/
$container.append(
'<div class="grid-sizer"></div>\
<div class="grid-item"></div>\
<div class="grid-item grid-item--width2"></div>'
);
/**
* Move Jetpack sharing and post flair into the entry-footer
*/
$( '.entry-footer' ).append( $( '#jp-post-flair' ).detach() );
});
$( window ).on( 'load', function() {
/**
* Set variables
*/
var $wrapper = $( '.js body' ),
$container = $( '#infinite-wrap' );
/*
* Fade in page
* - only if js is enabled
*/
$wrapper.animate({
opacity: 1,
}, 30);
/**
* Initiate Masonry
*/
$( function() {
$container.imagesLoaded( function() {
$container.masonry({
columnWidth: '.grid-sizer',
gutter: 0,
percentPosition: true,
itemSelector: '.card',
transitionDuration: 0,
isFitWidth: false,
isOriginLeft: ltr
});
});
// Fade blocks in after images are ready (prevents jumping and re-rendering)
$container.find( '.card' ).animate( {
'opacity' : 1
} );
});
// Handle new items appended by infinite scroll
$( document ).on( 'post-load', function() {
$container.imagesLoaded( function() {
$container.masonry( 'reloadItems').masonry( 'layout' );
// Fade in cards
$container.find( '.card' ).animate( {
'opacity' : 1
});
});
});
});
} )( jQuery );

View file

@ -0,0 +1,33 @@
/**
* skip-link-focus-fix.js
*
* Helps with accessibility for keyboard only users.
*
* Learn more: https://git.io/vWdr2
*/
( function() {
var is_webkit = navigator.userAgent.toLowerCase().indexOf( 'webkit' ) > -1,
is_opera = navigator.userAgent.toLowerCase().indexOf( 'opera' ) > -1,
is_ie = navigator.userAgent.toLowerCase().indexOf( 'msie' ) > -1;
if ( ( is_webkit || is_opera || is_ie ) && document.getElementById && window.addEventListener ) {
window.addEventListener( 'hashchange', function() {
var id = location.hash.substring( 1 ),
element;
if ( ! ( /^[A-z0-9_-]+$/.test( id ) ) ) {
return;
}
element = document.getElementById( id );
if ( element ) {
if ( ! ( /^(?:a|select|input|button|textarea)$/i.test( element.tagName ) ) ) {
element.tabIndex = -1;
}
element.focus();
}
}, false );
}
})();

BIN
rebalance/languages/ca.mo Normal file

Binary file not shown.

259
rebalance/languages/ca.po Normal file
View file

@ -0,0 +1,259 @@
# Translation of WordPress.com - Themes - Rebalance in Catalan
# This file is distributed under the same license as the WordPress.com - Themes - Rebalance package.
msgid ""
msgstr ""
"PO-Revision-Date: 2017-08-04 04:15:33+0000\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: GlotPress/2.4.0-alpha\n"
"Language: ca\n"
"Project-Id-Version: WordPress.com - Themes - Rebalance\n"
#: functions.php:121
msgid "Footer"
msgstr "Peu de pàgina"
#: inc/wpcom-colors.php:75
msgid "Background color"
msgstr "Color de fons"
#: inc/template-tags.php:54 inc/template-tags.php:56
msgctxt "Categories separator"
msgid ", "
msgstr ","
#: inc/extras.php:137
msgctxt "URL input placeholder text"
msgid "ex: http://janedoe.wordpress.com"
msgstr "ex: http://janedoe.wordpress.com"
#: inc/extras.php:131
msgctxt "Email input placeholder text"
msgid "ex: janedoe@gmail.com"
msgstr "ex: joanperis@gmail.com"
#: archive-jetpack-portfolio.php:44 taxonomy-jetpack-portfolio-tag.php:44
#: taxonomy-jetpack-portfolio-type.php:44
msgid "Portfolio navigation"
msgstr "Navegació de portfoli"
#: archive-jetpack-portfolio.php:43 taxonomy-jetpack-portfolio-tag.php:43
#: taxonomy-jetpack-portfolio-type.php:43
msgid "Newer projects"
msgstr "Projectes més nous"
#: archive-jetpack-portfolio.php:42 inc/jetpack.php:226
#: taxonomy-jetpack-portfolio-tag.php:42 taxonomy-jetpack-portfolio-type.php:42
msgid "Older projects"
msgstr "Projectes més antics"
#. Author URI of the plugin/theme
#: wp-content/themes/pub/rebalance/style.css
msgid "http://wordpress.com/themes/"
msgstr "http://wordpress.com/themes/"
#. Author of the plugin/theme
#: wp-content/themes/pub/rebalance/style.css
msgid "Automattic"
msgstr "Automattic"
#. Template Name of the plugin/theme
#: wp-content/themes/pub/rebalance/portfolio-page.php
msgid "Portfolio Page"
msgstr "Pàgina de Portfolio"
#. Description of the plugin/theme
#: wp-content/themes/pub/rebalance/style.css
msgid "Rebalance is a new spin on the classic Imbalance 2 portfolio theme. It is a simple, modern theme for photographers, artists, and graphic designers looking to showcase their work."
msgstr "Rebalance és una nova iteració del clàssic tema Imbalance 2. És un tema modern i simple per a fotògrafs, artistes i dissenyadors gràfics que volen ensenyar la seva feina."
#. translators: %s: Name of current post.
#: template-parts/content.php:26
msgid "Continue reading %s <span class=\"meta-nav\">&rarr;</span>"
msgstr "Continua llegint %s <span class=\"meta-nav\">&rarr;</span> "
#: template-parts/content-single.php:22 template-parts/content-single.php:58
msgid "Next"
msgstr "Següent"
#: template-parts/content-single.php:21 template-parts/content-single.php:57
msgid "Previous"
msgstr "Anterior"
#: template-parts/content-project.php:53
msgid "Next Project"
msgstr "Projecte Següent"
#: template-parts/content-project.php:52
msgid "Previous Project"
msgstr "Projecte Anterior"
#: template-parts/content-page.php:20 template-parts/content-project.php:33
#: template-parts/content-single.php:38 template-parts/content.php:33
msgid "Pages:"
msgstr "Pàgines: "
#: template-parts/content-none.php:28
msgid "It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help."
msgstr "Sembla que no podem trobar el què estaves buscant. Potser una cerca pot ajudar."
#: template-parts/content-none.php:23
msgid "Sorry, but nothing matched your search terms. Please try again with some different keywords."
msgstr "Ho sentim, però res coincideix amb els termes de cerca. Torneu-ho a provar amb algunes paraules clau diferents."
#: template-parts/content-none.php:19
msgid "Ready to publish your first post? <a href=\"%1$s\">Get started here</a>."
msgstr "Esteu preparats per publicar la primera entrada? <a href=\"%1$s\">Comenceu aquí</a>."
#: template-parts/content-none.php:13
msgid "Nothing Found"
msgstr "No s'ha trobat res"
#: search.php:18
msgid "Search Results for: %s"
msgstr "Resultats de cerca per: %s"
#: inc/template-tags.php:139
msgid "About %s"
msgstr "Quant a %s"
#. translators: %s: Name of current post
#: inc/template-tags.php:74 inc/template-tags.php:117
#: template-parts/content-page.php:31
msgid "Edit %s"
msgstr "Edita %s"
#. translators: used between list items, there is a space after the comma
#: inc/template-tags.php:92 inc/template-tags.php:101 inc/template-tags.php:107
msgid ", "
msgstr ", "
#: inc/extras.php:118
msgctxt "comment form placeholder"
msgid "ex: jane doe"
msgstr "ex: Joan Peris"
#: inc/extras.php:52 inc/extras.php:61
msgid "More"
msgstr "Més"
#: image.php:71
msgid "Next Image"
msgstr "Imatge següent"
#: image.php:63
msgid "Previous Image"
msgstr "Imatge anterior"
#: image.php:48
msgid "Edit"
msgstr "Edita"
#: image.php:43
msgid "Full resolution"
msgstr "Resolució completa"
#: image.php:42
msgid "Link to full-size image"
msgstr "Enllaç a la imatge completa"
#: image.php:26
msgid "Return to: %5$s"
msgstr "Torna a: %5$s"
#: image.php:26
msgid "Return to %4$s"
msgstr "Torna a: %4$s"
#: header.php:66
msgid "Menu"
msgstr "Menú"
#: header.php:66
msgid "Close"
msgstr "Tanca"
#: header.php:24
msgid "Skip to content"
msgstr "Vés al contingut"
#: functions.php:206
msgid "collapse child menu"
msgstr "redueix el menú fill"
#: functions.php:205
msgid "expand child menu"
msgstr "amplia el menú fill"
#. Translators: If there are characters in your language that are not
#. * supported by Open Sans, translate this to 'off'. Do not translate
#. * into your own language.
#: functions.php:151
msgctxt "Libre Baskerville font: on or off"
msgid "on"
msgstr "on"
#. Translators: If there are characters in your language that are not
#. * supported by Lora, translate this to 'off'. Do not translate
#. * into your own language.
#: functions.php:145
msgctxt "Rubik font: on or off"
msgid "on"
msgstr "off"
#: functions.php:66
msgid "Social Menu"
msgstr "Menú social"
#: functions.php:65
msgid "Header Menu"
msgstr "Menú de capçalera"
#: footer.php:17
msgid "Theme: %1$s by %2$s."
msgstr "Tema: %1$s per %2$s."
#: footer.php:15
msgid "Proudly powered by %s"
msgstr "Gràcies al %s"
#: footer.php:15
msgid "https://wordpress.org/"
msgstr "https://wordpress.org/"
#: comments.php:85
msgid "Submit"
msgstr "Envia"
#: comments.php:81
msgid "Comments are closed."
msgstr "Els comentaris estan tancats."
#: comments.php:45 comments.php:69
msgid "Newer Comments"
msgstr "Comentaris més nous"
#: comments.php:42 comments.php:66
msgid "Older Comments"
msgstr "Comentaris més antics"
#: comments.php:39 comments.php:63
msgid "Comment navigation"
msgstr "Navegació de comentaris"
#: comments.php:31
msgctxt "comments title"
msgid "1 Comment"
msgid_plural "%1$s Comments"
msgstr[0] "Un comentari"
msgstr[1] "%1$s comentaris"
#: 404.php:21
msgid "It looks like nothing was found at this location. Maybe try one of the links below or a search?"
msgstr "No hem trobat res en aquesta ubicació. Potser podeu provar un dels enllaços següents o una cerca?"
#: 404.php:17
msgid "Oops! That page can&rsquo;t be found."
msgstr "Ups! Aquesta pàgina no s'ha pogut trobar."

BIN
rebalance/languages/de.mo Normal file

Binary file not shown.

250
rebalance/languages/de.po Normal file
View file

@ -0,0 +1,250 @@
# Translation of WordPress.com - Themes - Rebalance in German
# This file is distributed under the same license as the WordPress.com - Themes - Rebalance package.
msgid ""
msgstr ""
"PO-Revision-Date: 2018-01-11 12:06:41+0000\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: GlotPress/2.4.0-alpha\n"
"Language: de\n"
"Project-Id-Version: WordPress.com - Themes - Rebalance\n"
#: functions.php:121
msgid "Footer"
msgstr "Footer"
#: inc/wpcom-colors.php:374
msgid "White, Mauve & Navy"
msgstr "Weiß, Lila und Marineblau"
#: inc/wpcom-colors.php:366
msgid "Green, White & Black"
msgstr "Grün, Weiß und Schwarz"
#: inc/wpcom-colors.php:358
msgid "Black, Gray, & Red"
msgstr "Schwarz, Grau und Rot"
#: inc/wpcom-colors.php:350
msgid "Off White & Ever Green"
msgstr "Cremefarben und immergrün"
#: inc/wpcom-colors.php:342
msgid "Mardi Gras"
msgstr "Fastnacht"
#: inc/wpcom-colors.php:334
msgid "Tan, Red, & Mahogany"
msgstr "Hellbraun, rot und mahagonifarben"
#: inc/wpcom-colors.php:322
msgid "Links, Headings, and Buttons"
msgstr "Links, Überschriften und Buttons"
#: inc/wpcom-colors.php:254
msgid "Text and Border Colors"
msgstr "Text- und Rahmenfarben"
#: inc/wpcom-colors.php:75
msgid "Background color"
msgstr "Hintergrundfarbe"
#: archive-jetpack-portfolio.php:44 taxonomy-jetpack-portfolio-tag.php:44
#: taxonomy-jetpack-portfolio-type.php:44
msgid "Portfolio navigation"
msgstr "Portfolio Navigation"
#: archive-jetpack-portfolio.php:43 taxonomy-jetpack-portfolio-tag.php:43
#: taxonomy-jetpack-portfolio-type.php:43
msgid "Newer projects"
msgstr "Neuere Projekte"
#: archive-jetpack-portfolio.php:42 inc/jetpack.php:226
#: taxonomy-jetpack-portfolio-tag.php:42 taxonomy-jetpack-portfolio-type.php:42
msgid "Older projects"
msgstr "Ältere Projekte"
#. Author URI of the plugin/theme
#: wp-content/themes/pub/rebalance/style.css
msgid "http://wordpress.com/themes/"
msgstr "http://wordpress.com/themes/"
#. Author of the plugin/theme
#: wp-content/themes/pub/rebalance/style.css
msgid "Automattic"
msgstr "Automattic"
#. Template Name of the plugin/theme
#: wp-content/themes/pub/rebalance/portfolio-page.php
msgid "Portfolio Page"
msgstr "Portfolio"
#. translators: %s: Name of current post.
#: template-parts/content.php:26
msgid "Continue reading %s <span class=\"meta-nav\">&rarr;</span>"
msgstr "%s weiterlesen <span class=\"meta-nav\">&rarr;</span>"
#: template-parts/content-single.php:22 template-parts/content-single.php:58
msgid "Next"
msgstr "Weiter"
#: template-parts/content-single.php:21 template-parts/content-single.php:57
msgid "Previous"
msgstr "Vorheriger"
#: template-parts/content-project.php:53
msgid "Next Project"
msgstr "Nächstes Projekt"
#: template-parts/content-project.php:52
msgid "Previous Project"
msgstr "Vorheriges Projekt"
#: template-parts/content-page.php:20 template-parts/content-project.php:33
#: template-parts/content-single.php:38 template-parts/content.php:33
msgid "Pages:"
msgstr "Seiten:"
#: template-parts/content-none.php:28
msgid "It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help."
msgstr "Es sieht so aus, als ob wir nicht das finden konnten, wonach du gesucht hast. Möglicherweise hilft eine Suche."
#: template-parts/content-none.php:23
msgid "Sorry, but nothing matched your search terms. Please try again with some different keywords."
msgstr "Entschuldigung, aber zu deinen Suchbegriffen wurde nichts passendes gefunden. Bitte versuche es mit anderen Stichworten noch einmal."
#: template-parts/content-none.php:19
msgid "Ready to publish your first post? <a href=\"%1$s\">Get started here</a>."
msgstr "Bereit, deinen ersten Beitrag zu veröffentlichen? <a href=\"%1$s\">Erste Schritte</a>."
#: template-parts/content-none.php:13
msgid "Nothing Found"
msgstr "Es konnte leider nichts gefunden werden."
#: search.php:18
msgid "Search Results for: %s"
msgstr "Suchergebnisse für: %s"
#: inc/template-tags.php:139
msgid "About %s"
msgstr "Über %s"
#. translators: %s: Name of current post
#: inc/template-tags.php:74 inc/template-tags.php:117
#: template-parts/content-page.php:31
msgid "Edit %s"
msgstr "Bearbeiten %s"
#. translators: used between list items, there is a space after the comma
#: inc/template-tags.php:92 inc/template-tags.php:101 inc/template-tags.php:107
msgid ", "
msgstr ", "
#: inc/extras.php:52 inc/extras.php:61
msgid "More"
msgstr "Mehr"
#: image.php:71
msgid "Next Image"
msgstr "Nächstes Bild"
#: image.php:63
msgid "Previous Image"
msgstr "Vorheriges Bild"
#: image.php:48
msgid "Edit"
msgstr "Bearbeiten"
#: image.php:43
msgid "Full resolution"
msgstr "Volle Auflösung"
#: image.php:42
msgid "Link to full-size image"
msgstr "Link zum Bild in voller Größe"
#: header.php:66
msgid "Menu"
msgstr "Menü"
#: header.php:66
msgid "Close"
msgstr "Schließen"
#: header.php:24
msgid "Skip to content"
msgstr "Zum Inhalt springen"
#: functions.php:206
msgid "collapse child menu"
msgstr "Untermenü verbergen"
#: functions.php:205
msgid "expand child menu"
msgstr "Untermenü anzeigen"
#. Translators: If there are characters in your language that are not
#. * supported by Open Sans, translate this to 'off'. Do not translate
#. * into your own language.
#: functions.php:151
msgctxt "Libre Baskerville font: on or off"
msgid "on"
msgstr "on"
#: functions.php:66
msgid "Social Menu"
msgstr "Social Media-Menü"
#: functions.php:65
msgid "Header Menu"
msgstr "Header-Menü"
#: footer.php:17
msgid "Theme: %1$s by %2$s."
msgstr "Theme: %1$s von %2$s."
#: footer.php:15
msgid "Proudly powered by %s"
msgstr "Stolz bereitgestellt von %s"
#: footer.php:15
msgid "https://wordpress.org/"
msgstr "https://wordpress.org/"
#: comments.php:85
msgid "Submit"
msgstr "Abschicken"
#: comments.php:81
msgid "Comments are closed."
msgstr "Kommentare sind geschlossen."
#: comments.php:45 comments.php:69
msgid "Newer Comments"
msgstr "Neuere Kommentare"
#: comments.php:42 comments.php:66
msgid "Older Comments"
msgstr "Ältere Kommentare"
#: comments.php:39 comments.php:63
msgid "Comment navigation"
msgstr "Kommentar-Navigation"
#: comments.php:31
msgctxt "comments title"
msgid "1 Comment"
msgid_plural "%1$s Comments"
msgstr[0] "1 Kommentar"
msgstr[1] "%1$s Kommentare"
#: 404.php:21
msgid "It looks like nothing was found at this location. Maybe try one of the links below or a search?"
msgstr "Sieht so aus, als ob an dieser Stelle nichts gefunden wird. Vielleicht versuchst Du es mit einem der Links unten oder einer Suche?"
#: 404.php:17
msgid "Oops! That page can&rsquo;t be found."
msgstr "Diese Seite konnte leider nicht gefunden werden."

BIN
rebalance/languages/fa.mo Normal file

Binary file not shown.

258
rebalance/languages/fa.po Normal file
View file

@ -0,0 +1,258 @@
# Translation of WordPress.com - Themes - Rebalance in Persian
# This file is distributed under the same license as the WordPress.com - Themes - Rebalance package.
msgid ""
msgstr ""
"PO-Revision-Date: 2017-08-04 04:15:33+0000\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: GlotPress/2.4.0-alpha\n"
"Language: fa\n"
"Project-Id-Version: WordPress.com - Themes - Rebalance\n"
#: functions.php:121
msgid "Footer"
msgstr "پسایند"
#: inc/wpcom-colors.php:75
msgid "Background color"
msgstr "رنگ پس‌زمینه"
#: inc/template-tags.php:54 inc/template-tags.php:56
msgctxt "Categories separator"
msgid ", "
msgstr "، "
#: inc/extras.php:137
msgctxt "URL input placeholder text"
msgid "ex: http://janedoe.wordpress.com"
msgstr "مثال: http://janedoe.wordpress.com"
#: inc/extras.php:131
msgctxt "Email input placeholder text"
msgid "ex: janedoe@gmail.com"
msgstr "مثال: janedoe@gmail.com"
#: archive-jetpack-portfolio.php:44 taxonomy-jetpack-portfolio-tag.php:44
#: taxonomy-jetpack-portfolio-type.php:44
msgid "Portfolio navigation"
msgstr "ناوبری نمونه‌کار"
#: archive-jetpack-portfolio.php:43 taxonomy-jetpack-portfolio-tag.php:43
#: taxonomy-jetpack-portfolio-type.php:43
msgid "Newer projects"
msgstr "پروژه‌های جدیدتر"
#: archive-jetpack-portfolio.php:42 inc/jetpack.php:226
#: taxonomy-jetpack-portfolio-tag.php:42 taxonomy-jetpack-portfolio-type.php:42
msgid "Older projects"
msgstr "پروژه‌های قدیمی‌تر"
#. Author URI of the plugin/theme
#: wp-content/themes/pub/rebalance/style.css
msgid "http://wordpress.com/themes/"
msgstr "http://wordpress.com/themes/"
#. Author of the plugin/theme
#: wp-content/themes/pub/rebalance/style.css
msgid "Automattic"
msgstr "Automattic"
#. Template Name of the plugin/theme
#: wp-content/themes/pub/rebalance/portfolio-page.php
msgid "Portfolio Page"
msgstr "صفحۀ نمونه‌کار"
#. Description of the plugin/theme
#: wp-content/themes/pub/rebalance/style.css
msgid "Rebalance is a new spin on the classic Imbalance 2 portfolio theme. It is a simple, modern theme for photographers, artists, and graphic designers looking to showcase their work."
msgstr "Rebalance روحی تازه در پوستهٔ کلاسیک نمونه‌کار Imbalance 2 است. این پوسته‌ای ساده و نوین برای عکاسان، هنرمندان، و طراحان گرافیکی که می‌خواهند آثارشان را به نمایش بگذارند است."
#. translators: %s: Name of current post.
#: template-parts/content.php:26
msgid "Continue reading %s <span class=\"meta-nav\">&rarr;</span>"
msgstr "به خواندن %s ادامه دهید <span class=\"meta-nav\">&rarr;</span>"
#: template-parts/content-single.php:22 template-parts/content-single.php:58
msgid "Next"
msgstr "پسین"
#: template-parts/content-single.php:21 template-parts/content-single.php:57
msgid "Previous"
msgstr "قبلی"
#: template-parts/content-project.php:53
msgid "Next Project"
msgstr "پژورۀ پسین"
#: template-parts/content-project.php:52
msgid "Previous Project"
msgstr "پروژۀ پیشین"
#: template-parts/content-page.php:20 template-parts/content-project.php:33
#: template-parts/content-single.php:38 template-parts/content.php:33
msgid "Pages:"
msgstr "برگه‌ها:"
#: template-parts/content-none.php:28
msgid "It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help."
msgstr "به‌نظر می‌رسد نمی‌توانیم چیزی که شما به دنبال آن هستید را بیابیم. شاید جستجو بتواند به شما کمک کند."
#: template-parts/content-none.php:23
msgid "Sorry, but nothing matched your search terms. Please try again with some different keywords."
msgstr "بدبختانه جستجوی شما نتیجه‌ای در بر نداشت. با واژگانی دیگر جستجو کنید."
#: template-parts/content-none.php:19
msgid "Ready to publish your first post? <a href=\"%1$s\">Get started here</a>."
msgstr "میخواهید اولین نوشته‌ی خود را منتشر کنید؟ <a href=\"%1$s\">از اینجا آغاز کنید</a>. "
#: template-parts/content-none.php:13
msgid "Nothing Found"
msgstr "چیزی یافت نشد"
#: search.php:18
msgid "Search Results for: %s"
msgstr "نتایج جستجو برای: %s"
#: inc/template-tags.php:139
msgid "About %s"
msgstr "دربارهٔ %s"
#. translators: %s: Name of current post
#: inc/template-tags.php:74 inc/template-tags.php:117
#: template-parts/content-page.php:31
msgid "Edit %s"
msgstr "ویرایش %s"
#. translators: used between list items, there is a space after the comma
#: inc/template-tags.php:92 inc/template-tags.php:101 inc/template-tags.php:107
msgid ", "
msgstr "، "
#: inc/extras.php:118
msgctxt "comment form placeholder"
msgid "ex: jane doe"
msgstr "نمونه: جان دو"
#: inc/extras.php:52 inc/extras.php:61
msgid "More"
msgstr "بیشتر"
#: image.php:71
msgid "Next Image"
msgstr "عکس بعدی"
#: image.php:63
msgid "Previous Image"
msgstr "عکس پیشین"
#: image.php:48
msgid "Edit"
msgstr "ویرایش"
#: image.php:43
msgid "Full resolution"
msgstr "وضوح کامل"
#: image.php:42
msgid "Link to full-size image"
msgstr "پیوند به تصویر با اندازهٔ کامل"
#: image.php:26
msgid "Return to: %5$s"
msgstr "بازگشت به: %5$s"
#: image.php:26
msgid "Return to %4$s"
msgstr "بازگشت به %4$s"
#: header.php:66
msgid "Menu"
msgstr "فهرست"
#: header.php:66
msgid "Close"
msgstr "بستن"
#: header.php:24
msgid "Skip to content"
msgstr "رفتن به محتوا"
#: functions.php:206
msgid "collapse child menu"
msgstr "بستن زیرفهرست"
#: functions.php:205
msgid "expand child menu"
msgstr "بازکردن زیرفهرست"
#. Translators: If there are characters in your language that are not
#. * supported by Open Sans, translate this to 'off'. Do not translate
#. * into your own language.
#: functions.php:151
msgctxt "Libre Baskerville font: on or off"
msgid "on"
msgstr "off"
#. Translators: If there are characters in your language that are not
#. * supported by Lora, translate this to 'off'. Do not translate
#. * into your own language.
#: functions.php:145
msgctxt "Rubik font: on or off"
msgid "on"
msgstr "off"
#: functions.php:66
msgid "Social Menu"
msgstr "گزینگان اجتماعی"
#: functions.php:65
msgid "Header Menu"
msgstr "گزینگان سرآیند"
#: footer.php:17
msgid "Theme: %1$s by %2$s."
msgstr "قالب %1$s از %2$s."
#: footer.php:15
msgid "Proudly powered by %s"
msgstr "با افتخار نیرو گرفته از %s"
#: footer.php:15
msgid "https://wordpress.org/"
msgstr "https://wordpress.org/"
#: comments.php:85
msgid "Submit"
msgstr "فرستادن"
#: comments.php:81
msgid "Comments are closed."
msgstr "امکان ثبت دیدگاه وجود ندارد."
#: comments.php:45 comments.php:69
msgid "Newer Comments"
msgstr "دیدگاه‌های تازه‌تر"
#: comments.php:42 comments.php:66
msgid "Older Comments"
msgstr "دیدگاه‌های کهنه‌تر"
#: comments.php:39 comments.php:63
msgid "Comment navigation"
msgstr "هدایت دیدگاه"
#: comments.php:31
msgctxt "comments title"
msgid "1 Comment"
msgid_plural "%1$s Comments"
msgstr[0] "%1$s دیدگاه"
#: 404.php:21
msgid "It looks like nothing was found at this location. Maybe try one of the links below or a search?"
msgstr "به نظر می‌رسد که چیزی این جا نیست. می‌خواهید از لینک‌های زیر یا جستجو استفاده کنید؟"
#: 404.php:17
msgid "Oops! That page can&rsquo;t be found."
msgstr "اوه! این برگه پیدا نمی‌شه."

BIN
rebalance/languages/fr.mo Normal file

Binary file not shown.

245
rebalance/languages/fr.po Normal file
View file

@ -0,0 +1,245 @@
# Translation of WordPress.com - Themes - Rebalance in French (France)
# This file is distributed under the same license as the WordPress.com - Themes - Rebalance package.
msgid ""
msgstr ""
"PO-Revision-Date: 2017-11-02 12:54:58+0000\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: GlotPress/2.4.0-alpha\n"
"Language: fr\n"
"Project-Id-Version: WordPress.com - Themes - Rebalance\n"
#: functions.php:121
msgid "Footer"
msgstr "Pied de page"
#: inc/wpcom-colors.php:374
msgid "White, Mauve & Navy"
msgstr "Blanc, Mauve & Bleu Foncé"
#: inc/wpcom-colors.php:366
msgid "Green, White & Black"
msgstr "Vert, Blanc & Noir"
#: inc/wpcom-colors.php:358
msgid "Black, Gray, & Red"
msgstr "Noir, Gris & Rouge"
#: inc/wpcom-colors.php:350
msgid "Off White & Ever Green"
msgstr "Blanc Cassé & Vert Feuille"
#: inc/wpcom-colors.php:342
msgid "Mardi Gras"
msgstr "Carnaval"
#: inc/wpcom-colors.php:334
msgid "Tan, Red, & Mahogany"
msgstr "Kaki, Rouge & Acajou"
#: inc/wpcom-colors.php:322
msgid "Links, Headings, and Buttons"
msgstr "Liens, en-têtes et boutons"
#: inc/wpcom-colors.php:254
msgid "Text and Border Colors"
msgstr "Couleur du Texte et des Bordures"
#: inc/wpcom-colors.php:75
msgid "Background color"
msgstr "Couleur de l'arrière plan"
#: archive-jetpack-portfolio.php:43 taxonomy-jetpack-portfolio-tag.php:43
#: taxonomy-jetpack-portfolio-type.php:43
msgid "Newer projects"
msgstr "Projets plus récents"
#: archive-jetpack-portfolio.php:42 inc/jetpack.php:226
#: taxonomy-jetpack-portfolio-tag.php:42 taxonomy-jetpack-portfolio-type.php:42
msgid "Older projects"
msgstr "Projets suivants"
#. Author URI of the plugin/theme
#: wp-content/themes/pub/rebalance/style.css
msgid "http://wordpress.com/themes/"
msgstr "http://wordpress.com/themes/"
#. Author of the plugin/theme
#: wp-content/themes/pub/rebalance/style.css
msgid "Automattic"
msgstr "Automattic"
#. Template Name of the plugin/theme
#: wp-content/themes/pub/rebalance/portfolio-page.php
msgid "Portfolio Page"
msgstr "Page porfolio"
#. translators: %s: Name of current post.
#: template-parts/content.php:26
msgid "Continue reading %s <span class=\"meta-nav\">&rarr;</span>"
msgstr "Lire la suite de %s <span class=\"meta-nav\">&rarr;</span>"
#: template-parts/content-single.php:22 template-parts/content-single.php:58
msgid "Next"
msgstr "Suivant"
#: template-parts/content-single.php:21 template-parts/content-single.php:57
msgid "Previous"
msgstr "Précédent"
#: template-parts/content-project.php:53
msgid "Next Project"
msgstr "Projet Suivant"
#: template-parts/content-project.php:52
msgid "Previous Project"
msgstr "Projet précédent"
#: template-parts/content-page.php:20 template-parts/content-project.php:33
#: template-parts/content-single.php:38 template-parts/content.php:33
msgid "Pages:"
msgstr "Pages&nbsp;:"
#: template-parts/content-none.php:28
msgid "It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help."
msgstr "Contenu Introuvable. Voulez-vous lancer une nouvelle recherche&nbsp;?"
#: template-parts/content-none.php:23
msgid "Sorry, but nothing matched your search terms. Please try again with some different keywords."
msgstr "Désolé, mais rien ne correspond à votre recherche. Veuillez réessayer avec des mots différents."
#: template-parts/content-none.php:19
msgid "Ready to publish your first post? <a href=\"%1$s\">Get started here</a>."
msgstr "Prêt à publier votre premier article&nbsp;? <a href=\"%1$s\">Lancez-vous</a>&nbsp;!"
#: template-parts/content-none.php:13
msgid "Nothing Found"
msgstr "Rien de trouvé"
#: search.php:18
msgid "Search Results for: %s"
msgstr "Résultat de Recherche pour: %s"
#: inc/template-tags.php:139
msgid "About %s"
msgstr "A propos %s"
#. translators: %s: Name of current post
#: inc/template-tags.php:74 inc/template-tags.php:117
#: template-parts/content-page.php:31
msgid "Edit %s"
msgstr "Modifier %s"
#. translators: used between list items, there is a space after the comma
#: inc/template-tags.php:92 inc/template-tags.php:101 inc/template-tags.php:107
msgid ", "
msgstr ", "
#: inc/extras.php:52 inc/extras.php:61
msgid "More"
msgstr "Plus"
#: image.php:71
msgid "Next Image"
msgstr "Image suivante"
#: image.php:63
msgid "Previous Image"
msgstr "Image précédente"
#: image.php:48
msgid "Edit"
msgstr "Éditer"
#: image.php:43
msgid "Full resolution"
msgstr "Pleine résolution"
#: image.php:42
msgid "Link to full-size image"
msgstr "Lien vers l&rsquo;image originale"
#: header.php:66
msgid "Menu"
msgstr "Menu"
#: header.php:66
msgid "Close"
msgstr "Fermer"
#: header.php:24
msgid "Skip to content"
msgstr "Accéder au contenu principal"
#: functions.php:206
msgid "collapse child menu"
msgstr "fermer le sous-menu"
#: functions.php:205
msgid "expand child menu"
msgstr "ouvrir le sous-menu"
#. Translators: If there are characters in your language that are not
#. * supported by Open Sans, translate this to 'off'. Do not translate
#. * into your own language.
#: functions.php:151
msgctxt "Libre Baskerville font: on or off"
msgid "on"
msgstr "on"
#: functions.php:66
msgid "Social Menu"
msgstr "Menu Social"
#: functions.php:65
msgid "Header Menu"
msgstr "Menu En-Tête"
#: footer.php:17
msgid "Theme: %1$s by %2$s."
msgstr "Thème&nbsp;: %1$s par %2$s."
#: footer.php:15
msgid "Proudly powered by %s"
msgstr "Fièrement propulsé par %s"
#: footer.php:15
msgid "https://wordpress.org/"
msgstr "http://www.wordpress-fr.net/"
#: comments.php:85
msgid "Submit"
msgstr "Envoyer"
#: comments.php:81
msgid "Comments are closed."
msgstr "Les commentaires sont fermés."
#: comments.php:45 comments.php:69
msgid "Newer Comments"
msgstr "Commentaires plus récents"
#: comments.php:42 comments.php:66
msgid "Older Comments"
msgstr "Commentaires plus anciens"
#: comments.php:39 comments.php:63
msgid "Comment navigation"
msgstr "Navigation dans les commentaires"
#: comments.php:31
msgctxt "comments title"
msgid "1 Comment"
msgid_plural "%1$s Comments"
msgstr[0] "1 commentaire"
msgstr[1] "%1$s commentaires"
#: 404.php:21
msgid "It looks like nothing was found at this location. Maybe try one of the links below or a search?"
msgstr "Contenu introuvable. Vous pouvez essayer l'outil de recherche ou les liens ci-dessous pour le retrouver."
#: 404.php:17
msgid "Oops! That page can&rsquo;t be found."
msgstr "Oups&nbsp;! Cette page est introuvable."

BIN
rebalance/languages/ja.mo Normal file

Binary file not shown.

285
rebalance/languages/ja.po Normal file
View file

@ -0,0 +1,285 @@
# Translation of WordPress.com - Themes - Rebalance in Japanese
# This file is distributed under the same license as the WordPress.com - Themes - Rebalance package.
msgid ""
msgstr ""
"PO-Revision-Date: 2017-08-04 04:15:33+0000\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: GlotPress/2.4.0-alpha\n"
"Language: ja_JP\n"
"Project-Id-Version: WordPress.com - Themes - Rebalance\n"
#: functions.php:121
msgid "Footer"
msgstr "フッター"
#: inc/wpcom-colors.php:374
msgid "White, Mauve & Navy"
msgstr "ホワイト、モーブ、ネイビー"
#: inc/wpcom-colors.php:366
msgid "Green, White & Black"
msgstr "グリーン、ホワイト、ブラック"
#: inc/wpcom-colors.php:358
msgid "Black, Gray, & Red"
msgstr "ブラック、グレー、レッド"
#: inc/wpcom-colors.php:350
msgid "Off White & Ever Green"
msgstr "オフホワイト & エバーグリーン"
#: inc/wpcom-colors.php:342
msgid "Mardi Gras"
msgstr "マルディ グラ"
#: inc/wpcom-colors.php:334
msgid "Tan, Red, & Mahogany"
msgstr "タン、レッド、マホガニー"
#: inc/wpcom-colors.php:322
msgid "Links, Headings, and Buttons"
msgstr "リンク、見出し、ボタン"
#: inc/wpcom-colors.php:254
msgid "Text and Border Colors"
msgstr "テキストと枠線の色"
#: inc/wpcom-colors.php:75
msgid "Background color"
msgstr "背景色"
#: inc/template-tags.php:54 inc/template-tags.php:56
msgctxt "Categories separator"
msgid ", "
msgstr "、"
#: inc/extras.php:137
msgctxt "URL input placeholder text"
msgid "ex: http://janedoe.wordpress.com"
msgstr "例: http://janedoe.wordpress.com"
#: inc/extras.php:131
msgctxt "Email input placeholder text"
msgid "ex: janedoe@gmail.com"
msgstr "例: janedoe@gmail.com"
#: archive-jetpack-portfolio.php:44 taxonomy-jetpack-portfolio-tag.php:44
#: taxonomy-jetpack-portfolio-type.php:44
msgid "Portfolio navigation"
msgstr "ポートフォリオナビゲーション"
#: archive-jetpack-portfolio.php:43 taxonomy-jetpack-portfolio-tag.php:43
#: taxonomy-jetpack-portfolio-type.php:43
msgid "Newer projects"
msgstr "新しいプロジェクト"
#: archive-jetpack-portfolio.php:42 inc/jetpack.php:226
#: taxonomy-jetpack-portfolio-tag.php:42 taxonomy-jetpack-portfolio-type.php:42
msgid "Older projects"
msgstr "過去のプロジェクト"
#. Author URI of the plugin/theme
#: wp-content/themes/pub/rebalance/style.css
msgid "http://wordpress.com/themes/"
msgstr "http://wordpress.com/themes/"
#. Author of the plugin/theme
#: wp-content/themes/pub/rebalance/style.css
msgid "Automattic"
msgstr "Automattic"
#. Template Name of the plugin/theme
#: wp-content/themes/pub/rebalance/portfolio-page.php
msgid "Portfolio Page"
msgstr "ポートフォリオページ"
#. translators: %s: Name of current post.
#: template-parts/content.php:26
msgid "Continue reading %s <span class=\"meta-nav\">&rarr;</span>"
msgstr "%s の続きを読む <span class=\"meta-nav\">&rarr;</span>"
#: template-parts/content-single.php:22 template-parts/content-single.php:58
msgid "Next"
msgstr "次へ"
#: template-parts/content-single.php:21 template-parts/content-single.php:57
msgid "Previous"
msgstr "前"
#: template-parts/content-project.php:53
msgid "Next Project"
msgstr "次のプロジェクト"
#: template-parts/content-project.php:52
msgid "Previous Project"
msgstr "前のプロジェクト"
#: template-parts/content-page.php:20 template-parts/content-project.php:33
#: template-parts/content-single.php:38 template-parts/content.php:33
msgid "Pages:"
msgstr "ページ:"
#: template-parts/content-none.php:28
msgid "It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help."
msgstr "お探しのものが見つからないようです。検索すると良いかもしれません。"
#: template-parts/content-none.php:23
msgid "Sorry, but nothing matched your search terms. Please try again with some different keywords."
msgstr "検索キーワードに一致するものが見つかりませんでした。 別のキーワードで試してみてください。"
#: template-parts/content-none.php:19
msgid "Ready to publish your first post? <a href=\"%1$s\">Get started here</a>."
msgstr "最初の投稿を公開する準備はできましたか ? <a href=\"%1$s\">ここから始めましょう</a>。"
#: template-parts/content-none.php:13
msgid "Nothing Found"
msgstr "何も見つかりませんでした"
#: search.php:18
msgid "Search Results for: %s"
msgstr "「%s」の検索結果"
#: inc/template-tags.php:139
msgid "About %s"
msgstr "%s について"
#. translators: %s: Name of current post
#: inc/template-tags.php:74 inc/template-tags.php:117
#: template-parts/content-page.php:31
msgid "Edit %s"
msgstr "「%s」を編集"
#. translators: used between list items, there is a space after the comma
#: inc/template-tags.php:92 inc/template-tags.php:101 inc/template-tags.php:107
msgid ", "
msgstr ", "
#: inc/extras.php:118
msgctxt "comment form placeholder"
msgid "ex: jane doe"
msgstr "例: 山田花子"
#: inc/extras.php:52 inc/extras.php:61
msgid "More"
msgstr "続き"
#: image.php:71
msgid "Next Image"
msgstr "次の画像"
#: image.php:63
msgid "Previous Image"
msgstr "前の画像"
#: image.php:48
msgid "Edit"
msgstr "編集"
#: image.php:43
msgid "Full resolution"
msgstr "フル解像度"
#: image.php:42
msgid "Link to full-size image"
msgstr "フルサイズの画像にリンク"
#: image.php:26
msgid "Return to: %5$s"
msgstr "%5$s へ戻る"
#: image.php:26
msgid "Return to %4$s"
msgstr "%4$s へ戻る"
#: header.php:66
msgid "Menu"
msgstr "メニュー"
#: header.php:66
msgid "Close"
msgstr "終了"
#: header.php:24
msgid "Skip to content"
msgstr "コンテンツへスキップ"
#: functions.php:206
msgid "collapse child menu"
msgstr "サブメニューを閉じる"
#: functions.php:205
msgid "expand child menu"
msgstr "サブメニューを展開"
#. Translators: If there are characters in your language that are not
#. * supported by Open Sans, translate this to 'off'. Do not translate
#. * into your own language.
#: functions.php:151
msgctxt "Libre Baskerville font: on or off"
msgid "on"
msgstr "on"
#. Translators: If there are characters in your language that are not
#. * supported by Lora, translate this to 'off'. Do not translate
#. * into your own language.
#: functions.php:145
msgctxt "Rubik font: on or off"
msgid "on"
msgstr "on"
#: functions.php:66
msgid "Social Menu"
msgstr "ソーシャルメニュー"
#: functions.php:65
msgid "Header Menu"
msgstr "ヘッダーメニュー"
#: footer.php:17
msgid "Theme: %1$s by %2$s."
msgstr "Theme: %1$s by %2$s."
#: footer.php:15
msgid "Proudly powered by %s"
msgstr "Proudly powered by %s"
#: footer.php:15
msgid "https://wordpress.org/"
msgstr "https://ja.wordpress.org/"
#: comments.php:85
msgid "Submit"
msgstr "送信"
#: comments.php:81
msgid "Comments are closed."
msgstr "コメントは受け付けていません。"
#: comments.php:45 comments.php:69
msgid "Newer Comments"
msgstr "新しいコメント"
#: comments.php:42 comments.php:66
msgid "Older Comments"
msgstr "過去のコメント"
#: comments.php:39 comments.php:63
msgid "Comment navigation"
msgstr "コメントナビゲーション"
#: comments.php:31
msgctxt "comments title"
msgid "1 Comment"
msgid_plural "%1$s Comments"
msgstr[0] "%1$s件のコメント"
#: 404.php:21
msgid "It looks like nothing was found at this location. Maybe try one of the links below or a search?"
msgstr "ここには何も見つかりませんでした。以下のリンクまたは検索をお試しください。"
#: 404.php:17
msgid "Oops! That page can&rsquo;t be found."
msgstr "ページが見つかりません。"

BIN
rebalance/languages/no.mo Normal file

Binary file not shown.

274
rebalance/languages/no.po Normal file
View file

@ -0,0 +1,274 @@
# Translation of WordPress.com - Themes - Rebalance in Norwegian
# This file is distributed under the same license as the WordPress.com - Themes - Rebalance package.
msgid ""
msgstr ""
"PO-Revision-Date: 2017-11-25 17:51:01+0000\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: GlotPress/2.4.0-alpha\n"
"Language: no\n"
"Project-Id-Version: WordPress.com - Themes - Rebalance\n"
#: functions.php:121
msgid "Footer"
msgstr "Bunntekst"
#: inc/wpcom-colors.php:366
msgid "Green, White & Black"
msgstr "Grønn, Hvit og Svart"
#: inc/wpcom-colors.php:358
msgid "Black, Gray, & Red"
msgstr "Svart, Grå og Rød"
#: inc/wpcom-colors.php:342
msgid "Mardi Gras"
msgstr "Mardi Gras"
#: inc/wpcom-colors.php:322
msgid "Links, Headings, and Buttons"
msgstr "Lenker, overskrifter, og knapper"
#: inc/wpcom-colors.php:254
msgid "Text and Border Colors"
msgstr "Tekst- og kant-farger"
#: inc/wpcom-colors.php:75
msgid "Background color"
msgstr "Bakgrunnsfarge"
#: inc/template-tags.php:54 inc/template-tags.php:56
msgctxt "Categories separator"
msgid ", "
msgstr ","
#: inc/extras.php:137
msgctxt "URL input placeholder text"
msgid "ex: http://janedoe.wordpress.com"
msgstr "F.eks. https://olanordmann.wordpress.com"
#: inc/extras.php:131
msgctxt "Email input placeholder text"
msgid "ex: janedoe@gmail.com"
msgstr "F.eks. olanordmann@gmail.com"
#: archive-jetpack-portfolio.php:44 taxonomy-jetpack-portfolio-tag.php:44
#: taxonomy-jetpack-portfolio-type.php:44
msgid "Portfolio navigation"
msgstr "Porteføljenavigasjon"
#: archive-jetpack-portfolio.php:43 taxonomy-jetpack-portfolio-tag.php:43
#: taxonomy-jetpack-portfolio-type.php:43
msgid "Newer projects"
msgstr "Nyere prosjekter"
#: archive-jetpack-portfolio.php:42 inc/jetpack.php:226
#: taxonomy-jetpack-portfolio-tag.php:42 taxonomy-jetpack-portfolio-type.php:42
msgid "Older projects"
msgstr "Eldre prosjekter"
#. Author URI of the plugin/theme
#: wp-content/themes/pub/rebalance/style.css
msgid "http://wordpress.com/themes/"
msgstr "https://wordpress.com/themes/"
#. Author of the plugin/theme
#: wp-content/themes/pub/rebalance/style.css
msgid "Automattic"
msgstr "Automattic"
#. Template Name of the plugin/theme
#: wp-content/themes/pub/rebalance/portfolio-page.php
msgid "Portfolio Page"
msgstr "Porteføljeside"
#. translators: %s: Name of current post.
#: template-parts/content.php:26
msgid "Continue reading %s <span class=\"meta-nav\">&rarr;</span>"
msgstr "Les mer %s <span class=\"meta-nav\">&rarr;</span>"
#: template-parts/content-single.php:22 template-parts/content-single.php:58
msgid "Next"
msgstr "Neste"
#: template-parts/content-single.php:21 template-parts/content-single.php:57
msgid "Previous"
msgstr "Forrige"
#: template-parts/content-project.php:53
msgid "Next Project"
msgstr "Neste prosjekt"
#: template-parts/content-project.php:52
msgid "Previous Project"
msgstr "Forrige prosjekt"
#: template-parts/content-page.php:20 template-parts/content-project.php:33
#: template-parts/content-single.php:38 template-parts/content.php:33
msgid "Pages:"
msgstr "Sider:"
#: template-parts/content-none.php:28
msgid "It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help."
msgstr "Vi klarer ikke å finne det du leter etter. Prøv å søke."
#: template-parts/content-none.php:23
msgid "Sorry, but nothing matched your search terms. Please try again with some different keywords."
msgstr "Beklager, men intet passet med dine søkeord. Vennligst prøv igjen med andre søkeord."
#: template-parts/content-none.php:19
msgid "Ready to publish your first post? <a href=\"%1$s\">Get started here</a>."
msgstr "Klar for å publisere ditt første innlegg? <a href=\"%1$s\">Kom i gang her</a>."
#: template-parts/content-none.php:13
msgid "Nothing Found"
msgstr "Ingenting funnet"
#: search.php:18
msgid "Search Results for: %s"
msgstr "Søkeresultater for: %s"
#: inc/template-tags.php:139
msgid "About %s"
msgstr "Om %s"
#. translators: %s: Name of current post
#: inc/template-tags.php:74 inc/template-tags.php:117
#: template-parts/content-page.php:31
msgid "Edit %s"
msgstr "Rediger %s"
#. translators: used between list items, there is a space after the comma
#: inc/template-tags.php:92 inc/template-tags.php:101 inc/template-tags.php:107
msgid ", "
msgstr ", "
#: inc/extras.php:118
msgctxt "comment form placeholder"
msgid "ex: jane doe"
msgstr "F.eks. Ola Nordmann"
#: inc/extras.php:52 inc/extras.php:61
msgid "More"
msgstr "Mer"
#: image.php:71
msgid "Next Image"
msgstr "Neste bilde"
#: image.php:63
msgid "Previous Image"
msgstr "Forrige bilde"
#: image.php:48
msgid "Edit"
msgstr "endre"
#: image.php:43
msgid "Full resolution"
msgstr "Full oppløsning"
#: image.php:42
msgid "Link to full-size image"
msgstr "Lenke til bildet i full størrelse"
#: image.php:26
msgid "Return to: %5$s"
msgstr "Gå tilbake til: %5$s"
#: image.php:26
msgid "Return to %4$s"
msgstr "Gå tilbake til %4$s"
#: header.php:66
msgid "Menu"
msgstr "Meny"
#: header.php:66
msgid "Close"
msgstr "Lukk"
#: header.php:24
msgid "Skip to content"
msgstr "Gå til innhold"
#: functions.php:206
msgid "collapse child menu"
msgstr "lukk undermenyen"
#: functions.php:205
msgid "expand child menu"
msgstr "utvid undermenyen"
#. Translators: If there are characters in your language that are not
#. * supported by Open Sans, translate this to 'off'. Do not translate
#. * into your own language.
#: functions.php:151
msgctxt "Libre Baskerville font: on or off"
msgid "on"
msgstr "on"
#. Translators: If there are characters in your language that are not
#. * supported by Lora, translate this to 'off'. Do not translate
#. * into your own language.
#: functions.php:145
msgctxt "Rubik font: on or off"
msgid "on"
msgstr "on"
#: functions.php:66
msgid "Social Menu"
msgstr "Sosiale medier-meny"
#: functions.php:65
msgid "Header Menu"
msgstr "Sidetoppmeny"
#: footer.php:17
msgid "Theme: %1$s by %2$s."
msgstr "Tema: %1$s av %2$s."
#: footer.php:15
msgid "Proudly powered by %s"
msgstr "Stolt drevet av %s"
#: footer.php:15
msgid "https://wordpress.org/"
msgstr "https://nb.wordpress.org/"
#: comments.php:85
msgid "Submit"
msgstr "Send"
#: comments.php:81
msgid "Comments are closed."
msgstr "Kommentarer er stengt."
#: comments.php:45 comments.php:69
msgid "Newer Comments"
msgstr "Nyere kommentarer"
#: comments.php:42 comments.php:66
msgid "Older Comments"
msgstr "Eldre kommentarer"
#: comments.php:39 comments.php:63
msgid "Comment navigation"
msgstr "Kommentarnavigasjon"
#: comments.php:31
msgctxt "comments title"
msgid "1 Comment"
msgid_plural "%1$s Comments"
msgstr[0] "1 kommentar"
msgstr[1] "%1$s kommentarer"
#: 404.php:21
msgid "It looks like nothing was found at this location. Maybe try one of the links below or a search?"
msgstr "Det ble tydeligvis ikke funnet noe her. Kanskje forsøke en av lenkene under eller et søk?"
#: 404.php:17
msgid "Oops! That page can&rsquo;t be found."
msgstr "Auda! Den siden finnes ikke."

Binary file not shown.

View file

@ -0,0 +1,291 @@
# Translation of WordPress.com - Themes - Rebalance in Portuguese (Brazil)
# This file is distributed under the same license as the WordPress.com - Themes - Rebalance package.
msgid ""
msgstr ""
"PO-Revision-Date: 2017-08-04 04:15:32+0000\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: GlotPress/2.4.0-alpha\n"
"Language: pt_BR\n"
"Project-Id-Version: WordPress.com - Themes - Rebalance\n"
#: functions.php:121
msgid "Footer"
msgstr "Rodapé"
#: inc/wpcom-colors.php:374
msgid "White, Mauve & Navy"
msgstr "Branco, violeta e azul marinho"
#: inc/wpcom-colors.php:366
msgid "Green, White & Black"
msgstr "Verde, branco e preto"
#: inc/wpcom-colors.php:358
msgid "Black, Gray, & Red"
msgstr "Preto, cinza e vermelho"
#: inc/wpcom-colors.php:350
msgid "Off White & Ever Green"
msgstr "Gelo e Verde"
#: inc/wpcom-colors.php:342
msgid "Mardi Gras"
msgstr "Mardi Gras"
#: inc/wpcom-colors.php:334
msgid "Tan, Red, & Mahogany"
msgstr "Bronze, vermelho e mogno"
#: inc/wpcom-colors.php:322
msgid "Links, Headings, and Buttons"
msgstr "Links, cabeçalhos e botões"
#: inc/wpcom-colors.php:254
msgid "Text and Border Colors"
msgstr "Cores do texto e da margem"
#: inc/wpcom-colors.php:75
msgid "Background color"
msgstr "Cor de fundo"
#: inc/template-tags.php:54 inc/template-tags.php:56
msgctxt "Categories separator"
msgid ", "
msgstr ", "
#: inc/extras.php:137
msgctxt "URL input placeholder text"
msgid "ex: http://janedoe.wordpress.com"
msgstr "exemplo: http://janedoe.wordpress.com"
#: inc/extras.php:131
msgctxt "Email input placeholder text"
msgid "ex: janedoe@gmail.com"
msgstr "exemplo: janedoe@gmail.com"
#: archive-jetpack-portfolio.php:44 taxonomy-jetpack-portfolio-tag.php:44
#: taxonomy-jetpack-portfolio-type.php:44
msgid "Portfolio navigation"
msgstr "Navegação do portfólio"
#: archive-jetpack-portfolio.php:43 taxonomy-jetpack-portfolio-tag.php:43
#: taxonomy-jetpack-portfolio-type.php:43
msgid "Newer projects"
msgstr "Novos Projetos"
#: archive-jetpack-portfolio.php:42 inc/jetpack.php:226
#: taxonomy-jetpack-portfolio-tag.php:42 taxonomy-jetpack-portfolio-type.php:42
msgid "Older projects"
msgstr "Projetos Antigos"
#. Author URI of the plugin/theme
#: wp-content/themes/pub/rebalance/style.css
msgid "http://wordpress.com/themes/"
msgstr "http://wordpress.com/themes/"
#. Author of the plugin/theme
#: wp-content/themes/pub/rebalance/style.css
msgid "Automattic"
msgstr "Automattic"
#. Template Name of the plugin/theme
#: wp-content/themes/pub/rebalance/portfolio-page.php
msgid "Portfolio Page"
msgstr "Página de portfólio"
#. Description of the plugin/theme
#: wp-content/themes/pub/rebalance/style.css
msgid "Rebalance is a new spin on the classic Imbalance 2 portfolio theme. It is a simple, modern theme for photographers, artists, and graphic designers looking to showcase their work."
msgstr "Rebalance é uma nova versão do tema de portfólio clássico Imbalance 2. É um tema simples e moderno para fotógrafos, artistas e designers gráficos que procuram mostrar seu trabalho."
#. translators: %s: Name of current post.
#: template-parts/content.php:26
msgid "Continue reading %s <span class=\"meta-nav\">&rarr;</span>"
msgstr "Continuar lendo %s <span class=\"meta-nav\">&rarr;</span>"
#: template-parts/content-single.php:22 template-parts/content-single.php:58
msgid "Next"
msgstr "Seguinte"
#: template-parts/content-single.php:21 template-parts/content-single.php:57
msgid "Previous"
msgstr "Anterior"
#: template-parts/content-project.php:53
msgid "Next Project"
msgstr "Próximo projeto"
#: template-parts/content-project.php:52
msgid "Previous Project"
msgstr "Projeto anterior"
#: template-parts/content-page.php:20 template-parts/content-project.php:33
#: template-parts/content-single.php:38 template-parts/content.php:33
msgid "Pages:"
msgstr "Páginas:"
#: template-parts/content-none.php:28
msgid "It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help."
msgstr "Parece que não encontramos o que você está procurando. Talvez a ferramenta de pesquisa possa ajudar."
#: template-parts/content-none.php:23
msgid "Sorry, but nothing matched your search terms. Please try again with some different keywords."
msgstr "Não encontramos nada para estes termos de busca. Tente novamente com palavras-chave diferentes."
#: template-parts/content-none.php:19
msgid "Ready to publish your first post? <a href=\"%1$s\">Get started here</a>."
msgstr "Pronto para publicar seu primeiro post? <a href=\"%1$s\">Comece aqui</a>."
#: template-parts/content-none.php:13
msgid "Nothing Found"
msgstr "Nenhum resultado"
#: search.php:18
msgid "Search Results for: %s"
msgstr "Resultados da busca por: %s"
#: inc/template-tags.php:139
msgid "About %s"
msgstr "Sobre %s"
#. translators: %s: Name of current post
#: inc/template-tags.php:74 inc/template-tags.php:117
#: template-parts/content-page.php:31
msgid "Edit %s"
msgstr "Editar %s"
#. translators: used between list items, there is a space after the comma
#: inc/template-tags.php:92 inc/template-tags.php:101 inc/template-tags.php:107
msgid ", "
msgstr ", "
#: inc/extras.php:118
msgctxt "comment form placeholder"
msgid "ex: jane doe"
msgstr "exemplo: jane doe"
#: inc/extras.php:52 inc/extras.php:61
msgid "More"
msgstr "Mais"
#: image.php:71
msgid "Next Image"
msgstr "Próxima imagem"
#: image.php:63
msgid "Previous Image"
msgstr "Imagem Anterior"
#: image.php:48
msgid "Edit"
msgstr "Editar"
#: image.php:43
msgid "Full resolution"
msgstr "Resolução original"
#: image.php:42
msgid "Link to full-size image"
msgstr "Link para a imagem original"
#: image.php:26
msgid "Return to: %5$s"
msgstr "Voltar para: %5$s"
#: image.php:26
msgid "Return to %4$s"
msgstr "Voltar para %4$s"
#: header.php:66
msgid "Menu"
msgstr "Menu"
#: header.php:66
msgid "Close"
msgstr "Fechar"
#: header.php:24
msgid "Skip to content"
msgstr "Ir para conteúdo"
#: functions.php:206
msgid "collapse child menu"
msgstr "colapsar submenu"
#: functions.php:205
msgid "expand child menu"
msgstr "expandir submenu"
#. Translators: If there are characters in your language that are not
#. * supported by Open Sans, translate this to 'off'. Do not translate
#. * into your own language.
#: functions.php:151
msgctxt "Libre Baskerville font: on or off"
msgid "on"
msgstr "em "
#. Translators: If there are characters in your language that are not
#. * supported by Lora, translate this to 'off'. Do not translate
#. * into your own language.
#: functions.php:145
msgctxt "Rubik font: on or off"
msgid "on"
msgstr "em"
#: functions.php:66
msgid "Social Menu"
msgstr "Menu social"
#: functions.php:65
msgid "Header Menu"
msgstr "Menu do Cabeçalho"
#: footer.php:17
msgid "Theme: %1$s by %2$s."
msgstr "Tema: %1$s por %2$s "
#: footer.php:15
msgid "Proudly powered by %s"
msgstr "Mantido com %s"
#: footer.php:15
msgid "https://wordpress.org/"
msgstr "https://wordpress.org/"
#: comments.php:85
msgid "Submit"
msgstr "Submeter"
#: comments.php:81
msgid "Comments are closed."
msgstr "Os comentários estão encerrados."
#: comments.php:45 comments.php:69
msgid "Newer Comments"
msgstr "Comentários mais recentes"
#: comments.php:42 comments.php:66
msgid "Older Comments"
msgstr "Comentários mais antigos"
#: comments.php:39 comments.php:63
msgid "Comment navigation"
msgstr "Navegação dos comentários"
#: comments.php:31
msgctxt "comments title"
msgid "1 Comment"
msgid_plural "%1$s Comments"
msgstr[0] "1 comentário"
msgstr[1] "%1$s comentários"
#: 404.php:21
msgid "It looks like nothing was found at this location. Maybe try one of the links below or a search?"
msgstr "Parece que nada foi encontrado neste lugar. Quem sabe você possa tentar um dos links abaixo ou uma busca?"
#: 404.php:17
msgid "Oops! That page can&rsquo;t be found."
msgstr "Ops! Essa página não pode ser encontrada."

View file

@ -0,0 +1,314 @@
# Copyright (C) 2017 Automattic
# This file is distributed under the GNU General Public License v2 or later.
msgid ""
msgstr ""
"Project-Id-Version: Rebalance 1.1.4-wpcom\n"
"Report-Msgid-Bugs-To: http://wordpress.org/support/theme/rebalance\n"
"POT-Creation-Date: 2017-08-04 04:15:29+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2017-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
#: 404.php:17
msgid "Oops! That page can&rsquo;t be found."
msgstr ""
#: 404.php:21
msgid ""
"It looks like nothing was found at this location. Maybe try one of the links "
"below or a search?"
msgstr ""
#: archive-jetpack-portfolio.php:42 inc/jetpack.php:226
#: taxonomy-jetpack-portfolio-tag.php:42
#: taxonomy-jetpack-portfolio-type.php:42
msgid "Older projects"
msgstr ""
#: archive-jetpack-portfolio.php:43 taxonomy-jetpack-portfolio-tag.php:43
#: taxonomy-jetpack-portfolio-type.php:43
msgid "Newer projects"
msgstr ""
#: archive-jetpack-portfolio.php:44 taxonomy-jetpack-portfolio-tag.php:44
#: taxonomy-jetpack-portfolio-type.php:44
msgid "Portfolio navigation"
msgstr ""
#: comments.php:31
msgctxt "comments title"
msgid "1 Comment"
msgid_plural "%1$s Comments"
msgstr[0] ""
msgstr[1] ""
#: comments.php:39 comments.php:63
msgid "Comment navigation"
msgstr ""
#: comments.php:42 comments.php:66
msgid "Older Comments"
msgstr ""
#: comments.php:45 comments.php:69
msgid "Newer Comments"
msgstr ""
#: comments.php:81
msgid "Comments are closed."
msgstr ""
#: comments.php:85
msgid "Submit"
msgstr ""
#: footer.php:15
msgid "https://wordpress.org/"
msgstr ""
#: footer.php:15
msgid "Proudly powered by %s"
msgstr ""
#: footer.php:17
msgid "Theme: %1$s by %2$s."
msgstr ""
#: functions.php:65
msgid "Header Menu"
msgstr ""
#: functions.php:66
msgid "Social Menu"
msgstr ""
#: functions.php:121
msgid "Footer"
msgstr ""
#. Translators: If there are characters in your language that are not
#. * supported by Lora, translate this to 'off'. Do not translate
#. * into your own language.
#: functions.php:145
msgctxt "Rubik font: on or off"
msgid "on"
msgstr ""
#. Translators: If there are characters in your language that are not
#. * supported by Open Sans, translate this to 'off'. Do not translate
#. * into your own language.
#: functions.php:151
msgctxt "Libre Baskerville font: on or off"
msgid "on"
msgstr ""
#: functions.php:205
msgid "expand child menu"
msgstr ""
#: functions.php:206
msgid "collapse child menu"
msgstr ""
#: header.php:24
msgid "Skip to content"
msgstr ""
#: header.php:66
msgid "Close"
msgstr ""
#: header.php:66
msgid "Menu"
msgstr ""
#: image.php:26
msgid "Return to %4$s"
msgstr ""
#: image.php:26
msgid "Return to: %5$s"
msgstr ""
#: image.php:42
msgid "Link to full-size image"
msgstr ""
#: image.php:43
msgid "Full resolution"
msgstr ""
#: image.php:48
msgid "Edit"
msgstr ""
#: image.php:63
msgid "Previous Image"
msgstr ""
#: image.php:71
msgid "Next Image"
msgstr ""
#: inc/extras.php:52 inc/extras.php:61
msgid "More"
msgstr ""
#: inc/extras.php:118
msgctxt "comment form placeholder"
msgid "ex: jane doe"
msgstr ""
#: inc/extras.php:131
msgctxt "Email input placeholder text"
msgid "ex: janedoe@gmail.com"
msgstr ""
#: inc/extras.php:137
msgctxt "URL input placeholder text"
msgid "ex: http://janedoe.wordpress.com"
msgstr ""
#: inc/template-tags.php:54 inc/template-tags.php:56
msgctxt "Categories separator"
msgid ", "
msgstr ""
#. translators: %s: Name of current post
#: inc/template-tags.php:74 inc/template-tags.php:117
#: template-parts/content-page.php:31
msgid "Edit %s"
msgstr ""
#. translators: used between list items, there is a space after the comma
#: inc/template-tags.php:92 inc/template-tags.php:101
#: inc/template-tags.php:107
msgid ", "
msgstr ""
#: inc/template-tags.php:139
msgid "About %s"
msgstr ""
#: inc/wpcom-colors.php:75
msgid "Background color"
msgstr ""
#: inc/wpcom-colors.php:254
msgid "Text and Border Colors"
msgstr ""
#: inc/wpcom-colors.php:322
msgid "Links, Headings, and Buttons"
msgstr ""
#: inc/wpcom-colors.php:334
msgid "Tan, Red, & Mahogany"
msgstr ""
#: inc/wpcom-colors.php:342
msgid "Mardi Gras"
msgstr ""
#: inc/wpcom-colors.php:350
msgid "Off White & Ever Green"
msgstr ""
#: inc/wpcom-colors.php:358
msgid "Black, Gray, & Red"
msgstr ""
#: inc/wpcom-colors.php:366
msgid "Green, White & Black"
msgstr ""
#: inc/wpcom-colors.php:374
msgid "White, Mauve & Navy"
msgstr ""
#: search.php:18
msgid "Search Results for: %s"
msgstr ""
#: template-parts/content-none.php:13
msgid "Nothing Found"
msgstr ""
#: template-parts/content-none.php:19
msgid ""
"Ready to publish your first post? <a href=\"%1$s\">Get started here</a>."
msgstr ""
#: template-parts/content-none.php:23
msgid ""
"Sorry, but nothing matched your search terms. Please try again with some "
"different keywords."
msgstr ""
#: template-parts/content-none.php:28
msgid ""
"It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps "
"searching can help."
msgstr ""
#: template-parts/content-page.php:20 template-parts/content-project.php:33
#: template-parts/content-single.php:38 template-parts/content.php:33
msgid "Pages:"
msgstr ""
#: template-parts/content-project.php:52
msgid "Previous Project"
msgstr ""
#: template-parts/content-project.php:53
msgid "Next Project"
msgstr ""
#: template-parts/content-single.php:21 template-parts/content-single.php:57
msgid "Previous"
msgstr ""
#: template-parts/content-single.php:22 template-parts/content-single.php:58
msgid "Next"
msgstr ""
#. translators: %s: Name of current post.
#: template-parts/content.php:26
msgid "Continue reading %s <span class=\"meta-nav\">&rarr;</span>"
msgstr ""
#. Theme Name of the plugin/theme
#: wp-content/themes/pub/rebalance/style.css
msgid "Rebalance"
msgstr ""
#. Theme URI of the plugin/theme
#: wp-content/themes/pub/rebalance/style.css
msgid "https://wordpress.org/themes/rebalance/"
msgstr ""
#. Description of the plugin/theme
#: wp-content/themes/pub/rebalance/style.css
msgid ""
"Rebalance is a new spin on the classic Imbalance 2 portfolio theme. It is a "
"simple, modern theme for photographers, artists, and graphic designers "
"looking to showcase their work."
msgstr ""
#. Author of the plugin/theme
#: wp-content/themes/pub/rebalance/style.css
msgid "Automattic"
msgstr ""
#. Author URI of the plugin/theme
#: wp-content/themes/pub/rebalance/style.css
msgid "http://wordpress.com/themes/"
msgstr ""
#. Template Name of the plugin/theme
#: wp-content/themes/pub/rebalance/portfolio-page.php
msgid "Portfolio Page"
msgstr ""

BIN
rebalance/languages/ro.mo Normal file

Binary file not shown.

292
rebalance/languages/ro.po Normal file
View file

@ -0,0 +1,292 @@
# Translation of WordPress.com - Themes - Rebalance in Romanian
# This file is distributed under the same license as the WordPress.com - Themes - Rebalance package.
msgid ""
msgstr ""
"PO-Revision-Date: 2017-08-04 04:15:33+0000\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2);\n"
"X-Generator: GlotPress/2.4.0-alpha\n"
"Language: ro\n"
"Project-Id-Version: WordPress.com - Themes - Rebalance\n"
#: functions.php:121
msgid "Footer"
msgstr "Subsol"
#: inc/wpcom-colors.php:374
msgid "White, Mauve & Navy"
msgstr "Alb, mov și bleumarin"
#: inc/wpcom-colors.php:366
msgid "Green, White & Black"
msgstr "Verde, alb și negru"
#: inc/wpcom-colors.php:358
msgid "Black, Gray, & Red"
msgstr "Negru, gri și roșu"
#: inc/wpcom-colors.php:350
msgid "Off White & Ever Green"
msgstr "Aproape alb și veșnic verde"
#: inc/wpcom-colors.php:342
msgid "Mardi Gras"
msgstr "Mardi Gras"
#: inc/wpcom-colors.php:334
msgid "Tan, Red, & Mahogany"
msgstr "Bronz, roșu și mahon"
#: inc/wpcom-colors.php:322
msgid "Links, Headings, and Buttons"
msgstr "Legături, rubrici și butoane"
#: inc/wpcom-colors.php:254
msgid "Text and Border Colors"
msgstr "Culori text și chenar"
#: inc/wpcom-colors.php:75
msgid "Background color"
msgstr "Culoare fundal"
#: inc/template-tags.php:54 inc/template-tags.php:56
msgctxt "Categories separator"
msgid ", "
msgstr ", "
#: inc/extras.php:137
msgctxt "URL input placeholder text"
msgid "ex: http://janedoe.wordpress.com"
msgstr "exemplu: http://janedoe.wordpress.com"
#: inc/extras.php:131
msgctxt "Email input placeholder text"
msgid "ex: janedoe@gmail.com"
msgstr "exemplu: janedoe@gmail.com"
#: archive-jetpack-portfolio.php:44 taxonomy-jetpack-portfolio-tag.php:44
#: taxonomy-jetpack-portfolio-type.php:44
msgid "Portfolio navigation"
msgstr "Navigare în portofoliu"
#: archive-jetpack-portfolio.php:43 taxonomy-jetpack-portfolio-tag.php:43
#: taxonomy-jetpack-portfolio-type.php:43
msgid "Newer projects"
msgstr "Proiecte mai noi"
#: archive-jetpack-portfolio.php:42 inc/jetpack.php:226
#: taxonomy-jetpack-portfolio-tag.php:42 taxonomy-jetpack-portfolio-type.php:42
msgid "Older projects"
msgstr "Proiecte mai vechi"
#. Author URI of the plugin/theme
#: wp-content/themes/pub/rebalance/style.css
msgid "http://wordpress.com/themes/"
msgstr "http://wordpress.com/themes/"
#. Author of the plugin/theme
#: wp-content/themes/pub/rebalance/style.css
msgid "Automattic"
msgstr "Automattic"
#. Template Name of the plugin/theme
#: wp-content/themes/pub/rebalance/portfolio-page.php
msgid "Portfolio Page"
msgstr "Pagină portofoliu"
#. Description of the plugin/theme
#: wp-content/themes/pub/rebalance/style.css
msgid "Rebalance is a new spin on the classic Imbalance 2 portfolio theme. It is a simple, modern theme for photographers, artists, and graphic designers looking to showcase their work."
msgstr "Rebalance este o învârtire nouă pe tema clasică de portofoliu Imbalance 2. Este o temă simplă, modernă, pentru fotografi, artiști și designeri care doresc să-și prezinte lucrările."
#. translators: %s: Name of current post.
#: template-parts/content.php:26
msgid "Continue reading %s <span class=\"meta-nav\">&rarr;</span>"
msgstr "Citește în continuare %s <span class=\"meta-nav\">&rarr;</span>"
#: template-parts/content-single.php:22 template-parts/content-single.php:58
msgid "Next"
msgstr "Următor"
#: template-parts/content-single.php:21 template-parts/content-single.php:57
msgid "Previous"
msgstr "Precedent"
#: template-parts/content-project.php:53
msgid "Next Project"
msgstr "Proiectul următor"
#: template-parts/content-project.php:52
msgid "Previous Project"
msgstr "Proiectul anterior"
#: template-parts/content-page.php:20 template-parts/content-project.php:33
#: template-parts/content-single.php:38 template-parts/content.php:33
msgid "Pages:"
msgstr "Pagini:"
#: template-parts/content-none.php:28
msgid "It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help."
msgstr "Se pare că nu putem găsi ceea ce cauți tu. Poate o căutare ar fi de ajutor."
#: template-parts/content-none.php:23
msgid "Sorry, but nothing matched your search terms. Please try again with some different keywords."
msgstr "Regret, dar nimic nu se potrivește termenilor căutării tale. Te rog încearcă din nou cu cuvinte cheie diferite."
#: template-parts/content-none.php:19
msgid "Ready to publish your first post? <a href=\"%1$s\">Get started here</a>."
msgstr "Gata să publici primul tău articol? <a href=\"%1$s\">Poți începe aici</a>."
#: template-parts/content-none.php:13
msgid "Nothing Found"
msgstr "Nimic găsit"
#: search.php:18
msgid "Search Results for: %s"
msgstr "Rezultatele căutării pentru: %s"
#: inc/template-tags.php:139
msgid "About %s"
msgstr "Despre %s"
#. translators: %s: Name of current post
#: inc/template-tags.php:74 inc/template-tags.php:117
#: template-parts/content-page.php:31
msgid "Edit %s"
msgstr "Editează %s"
#. translators: used between list items, there is a space after the comma
#: inc/template-tags.php:92 inc/template-tags.php:101 inc/template-tags.php:107
msgid ", "
msgstr ", "
#: inc/extras.php:118
msgctxt "comment form placeholder"
msgid "ex: jane doe"
msgstr "exemplu: jane doe"
#: inc/extras.php:52 inc/extras.php:61
msgid "More"
msgstr "Mai mult"
#: image.php:71
msgid "Next Image"
msgstr "Imaginea următoare"
#: image.php:63
msgid "Previous Image"
msgstr "Imaginea precedentă"
#: image.php:48
msgid "Edit"
msgstr "Editare"
#: image.php:43
msgid "Full resolution"
msgstr "Rezoluție completă"
#: image.php:42
msgid "Link to full-size image"
msgstr "Legătură către imagine de dimensiune completă"
#: image.php:26
msgid "Return to: %5$s"
msgstr "Înapoi la: %5$s"
#: image.php:26
msgid "Return to %4$s"
msgstr "Înapoi la %4$s"
#: header.php:66
msgid "Menu"
msgstr "Meniu"
#: header.php:66
msgid "Close"
msgstr "Închide"
#: header.php:24
msgid "Skip to content"
msgstr "Sari la conținut"
#: functions.php:206
msgid "collapse child menu"
msgstr "restrânge meniul copil"
#: functions.php:205
msgid "expand child menu"
msgstr "extinde meniul copil"
#. Translators: If there are characters in your language that are not
#. * supported by Open Sans, translate this to 'off'. Do not translate
#. * into your own language.
#: functions.php:151
msgctxt "Libre Baskerville font: on or off"
msgid "on"
msgstr "on"
#. Translators: If there are characters in your language that are not
#. * supported by Lora, translate this to 'off'. Do not translate
#. * into your own language.
#: functions.php:145
msgctxt "Rubik font: on or off"
msgid "on"
msgstr "on"
#: functions.php:66
msgid "Social Menu"
msgstr "Meniu socializare"
#: functions.php:65
msgid "Header Menu"
msgstr "Meniu antet"
#: footer.php:17
msgid "Theme: %1$s by %2$s."
msgstr "Tema: %1$s de %2$s."
#: footer.php:15
msgid "Proudly powered by %s"
msgstr "Propulsat cu mândrie de %s"
#: footer.php:15
msgid "https://wordpress.org/"
msgstr "https://ro.wordpress.org/"
#: comments.php:85
msgid "Submit"
msgstr "Trimite"
#: comments.php:81
msgid "Comments are closed."
msgstr "Comentariile sunt închise."
#: comments.php:45 comments.php:69
msgid "Newer Comments"
msgstr "Comentarii mai noi"
#: comments.php:42 comments.php:66
msgid "Older Comments"
msgstr "Comentarii mai vechi"
#: comments.php:39 comments.php:63
msgid "Comment navigation"
msgstr "Navigare în comentarii"
#: comments.php:31
msgctxt "comments title"
msgid "1 Comment"
msgid_plural "%1$s Comments"
msgstr[0] "1 comentariu"
msgstr[1] "%1$s comentarii"
msgstr[2] "%1$s de comentarii"
#: 404.php:21
msgid "It looks like nothing was found at this location. Maybe try one of the links below or a search?"
msgstr "Se pare că nu a fost găsit nimic la această locație. Poate încerci una din legăturile de mai jos sau o căutare?"
#: 404.php:17
msgid "Oops! That page can&rsquo;t be found."
msgstr "Hopa! Pagina aceea nu a fost găsită."

37
rebalance/page.php Normal file
View file

@ -0,0 +1,37 @@
<?php
/**
* The template for displaying all pages.
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages
* and that other 'pages' on your WordPress site may use a
* different template.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package Rebalance
*/
get_header(); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'template-parts/content', 'page' ); ?>
<?php
// If comments are open or we have at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;
?>
<?php endwhile; // End of the loop. ?>
</main><!-- #main -->
</div><!-- #primary -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>

View file

@ -0,0 +1,80 @@
<?php
/**
* Template Name: Portfolio Page
*
* This page template displays a feautred project section followed by a collection of projects thumbnails.
* If no featutred projects exists, only a collection of projects thumbnails is displayed.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package Rebalance
*/
get_header(); ?>
<div id="primary" class="content-area">
<?php
/*
* Include the Featured Project loop.
* - if featured posts exist, collect their IDs and exclude them from the main loop
*/
if ( rebalance_has_featured_projects( 1 ) ) {
$featured_ids = rebalance_get_featured_project_ids();
get_template_part( 'template-parts/section', 'featured' );
} else {
$featured_ids = null;
} ?>
<main id="main" class="site-main" role="main">
<?php // Set Up New Query
$paged = get_query_var( 'page' ) ? get_query_var( 'page' ) : 1;
$temp = null;
$project_query = $temp;
$project_query = new WP_Query();
$project_query->query( array(
'post_type' => 'jetpack-portfolio',
'paged' => $paged,
'post__not_in' => $featured_ids
) ); ?>
<?php if ( $project_query->have_posts() ) : ?>
<div id="infinite-wrap">
<?php /* Start the Loop */ ?>
<?php while ( $project_query->have_posts() ) : $project_query->the_post(); ?>
<?php
/*
* Include the Card template for the project content.
*/
get_template_part( 'template-parts/content', 'card' );
?>
<?php endwhile; ?>
</div>
<?php the_posts_navigation(); ?>
<?php else : ?>
<?php get_template_part( 'template-parts/content', 'none' ); ?>
<?php endif; ?>
<?php // Empty queries
$project_query = $temp;
$temp = null; ?>
<?php // Reset posts so our normal loop isn't affected
wp_reset_postdata(); ?>
</main><!-- #main -->
</div><!-- #primary -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>

39
rebalance/readme.txt Normal file
View file

@ -0,0 +1,39 @@
=== Rebalance ===
Contributors: automattic
Requires at least: 4.5
Tested up to: 4.8
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
A theme called Rebalance.
== Description ==
Rebalance is a simple, modern theme for photographers, artists, and graphic designers looking to showcase their work. It comes with some interesting features:
* A just right amount of lean, well-commented, modern, HTML5 templates.
* A helpful 404 template.
* Custom header options including site logo and custom header.
* Support for Portfolio Posts or 'Projects' which can be used to present imagery in a more dynamic way than what you see with regular Posts
* Licensed under GPLv2 or later. :) Use it to make something cool.
== Installation ==
1. In your admin panel, go to Appearance > Themes and click the Add New button.
2. Click Upload and Choose File, then select the theme's .zip file. Click Install Now.
3. Click Activate to use your new theme right away.
== Credits ==
* Based on Underscores http://underscores.me/, (C) 2012-2017 Automattic, Inc., [GPLv2 or later](https://www.gnu.org/licenses/gpl-2.0.html)
* normalize.css http://necolas.github.io/normalize.css/, (C) 2012-2017 Nicolas Gallagher and Jonathan Neal, [MIT](http://opensource.org/licenses/MIT)
* columnist.js https://github.com/weblinc/jquery-columnlist, (C) 2012-2017 WebLinc LLC, [MIT](http://opensource.org/licenses/MIT)
* Font Awesome http://fontawesome.io, (C) 2012-2017 Dave Gandy, [SIL OFL 1.1](http://scripts.sil.org/OFL), [MIT](http://opensource.org/licenses/MIT)
* Images: licensed under [CC0](http://creativecommons.org/choose/zero/)
** https://www.flickr.com/photos/usgeologicalsurvey/16656107187/
** https://pixabay.com/en/rocket-spaceship-space-shuttle-79394/
** https://pixabay.com/en/space-shuttle-landing-600463/
** https://unsplash.com/photos/OVO8nK-7Rfs
** https://unsplash.com/photos/8qYThFAxsCs
** https://unsplash.com/photos/8Hjx3GNZYeA

716
rebalance/rtl.css Normal file
View file

@ -0,0 +1,716 @@
/*
* Theme Name: rebalance
*
* Adding support for language written in a Right To Left (RTL) direction is easy -
* it's just a matter of overwriting all the horizontal positioning attributes
* of your CSS stylesheet in a separate stylesheet file named rtl.css.
*
* http://codex.wordpress.org/Right_to_Left_Language_Support
*
*/
/*--------------------------------------------------------------*/
/* !# TABLE OF CONTENTS */
/*--------------------------------------------------------------*/
/*----------------------------------------------------------------
# Normalize
## Typography
## Elements
## Links
## Forms
# Theme Globals
# Layout
# Accessibility
# Alignments
# Clearings
# Header
# Navigation
## Toggle Navigation
## Main Navigation
## Social Navigation
# Widgets
# Content
## Featured Project
## Posts and Pages
## Author Meta
## Single Post
## Single Jetpack Portfolio
## Page
## Archive
## Masonry
## Infinite scroll
## 404 Error
## Asides
# Media
## Captions
## Galleries
# Pagination
# Comments
## Comments Respond
## Widgets
## Secondary
# Footer
# Extras
----------------------------------------------------------------*/
/*--------------------------------------------------------------*/
/* !# Normalize */
/*--------------------------------------------------------------*/
/*--------------------------------------------------------------*/
/* !## Typography */
/*--------------------------------------------------------------*/
/*--------------------------------------------------------------*/
/* !## Elements */
/*--------------------------------------------------------------*/
ul,
ol {
margin: 0 2em 1.5em 0;
}
li > ul,
li > ol {
margin-left: 0;
margin-right: 1.5em;
}
/*--------------------------------------------------------------*/
/* !## Links */
/*--------------------------------------------------------------*/
/*--------------------------------------------------------------*/
/* !## Forms */
/*--------------------------------------------------------------*/
textarea {
padding-left: inherit;
padding-right: 3px;
}
/*--------------------------------------------------------------*/
/* !# Theme Globals */
/*--------------------------------------------------------------*/
/*--------------------------------------------------------------*/
/* !# Layout */
/*--------------------------------------------------------------*/
/*--------------------------------------------------------------*/
/* !# Accessibility */
/*--------------------------------------------------------------*/
/*--------------------------------------------------------------*/
/* !# Alignments */
/*--------------------------------------------------------------*/
.alignleft {
float: right;
margin-left: 1.5em;
margin-right: inherit;
}
.alignright {
float: left;
margin-left: inherit;
margin-right: 1.5em;
}
/*--------------------------------------------------------------*/
/* !# Clearings */
/*--------------------------------------------------------------*/
/*--------------------------------------------------------------*/
/* !# Header */
/*--------------------------------------------------------------*/
/* Large Screen Styles */
@media screen and (min-width: 881px) {
.site-branding {
text-align: right;
}
.site-logo-link {
margin-left: 20px;
margin-right: inherit;
}
.site-description {
float: right;
text-align: right;
}
.main-navigation {
float: left;
clear: left;
}
}
/*--------------------------------------------------------------*/
/* !# Navigation */
/*--------------------------------------------------------------*/
/*--------------------------------------------------------------*/
/* !## Toggle Navigation */
/*--------------------------------------------------------------*/
.menu-toggle {
text-align: right;
}
.menu-toggle:after {
margin: 0 5px 0 0;
}
/*--------------------------------------------------------------*/
/* !## Main Navigation */
/*--------------------------------------------------------------*/
.main-navigation .sub-menu,
.main-navigation .children {
padding-left: inherit;
padding-right: 1.5em;
}
.main-navigation .sub-menu li:before,
.main-navigation .children li:before {
padding-left: inherit;
padding-right: 8px;
}
.main-navigation ul > li li a {
padding-left: inherit;
padding-right: 26px;
}
/* Large Screen Styles */
@media screen and (min-width: 881px) {
.header-menu-wrap {
float: right;
}
.main-navigation {
float: left;
}
.main-navigation div > ul {
float: right;
text-align: right;
}
.main-navigation .sub-menu,
.main-navigation .children {
padding-left: inherit;
padding-right: 0;
left: inherit;
right: 0;
}
.main-navigation ul > li a {
text-align: right;
}
.main-navigation .sub-menu a,
.main-navigation .children a {
padding-left: 8px;
padding-right: 26px;
}
.main-navigation .sub-menu .sub-menu,
.main-navigation .children .children {
margin: -2px 0 -2px -2px;
left: calc(100% + 2px);
right: inherit;
}
.main-navigation .page_item_has_children > a:after,
.main-navigation .menu-item-has-children > a:after {
margin: 0 5px 0 0;
}
.main-navigation .sub-menu li.page_item_has_children:before,
.main-navigation .sub-menu li.page_item_has_children:before,
.main-navigation .sub-menu li.menu-item-has-children:before,
.main-navigation .children li.menu-item-has-children:before {
content: '\f105';
margin-left: 5px;
margin-right: inherit;
}
.main-navigation .page_item_has_children .page_item_has_children > a:after,
.main-navigation .menu-item-has-children .menu-item-has-children > a:after {
content: '\f107';
float: left;
margin: 0 0 0 5px;
}
}
/*--------------------------------------------------------------*/
/* !## Mobile Navigation */
/*--------------------------------------------------------------*/
@media screen and (max-width: 880px) {
/*
* Sub-menu dropdown buttons
*/
.dropdown-toggle {
right: inherit;
left: 8px;
}
}
/*--------------------------------------------------------------*/
/* !## Social Navigation */
/*--------------------------------------------------------------*/
.social-navigation li {
padding-left: inherit;
padding-right: 5px;
}
/* Icons aren't shown in small screen layouts */
@media screen and (min-width: 881px) {
.social-menu-wrap {
float: left;
}
.social-navigation {
left: 0;
right: inherit;
}
.social-navigation > * {
text-align: left;
}
}
/*--------------------------------------------------------------*/
/* !# Content */
/*--------------------------------------------------------------*/
/*--------------------------------------------------------------*/
/* !## Featured Project */
/*--------------------------------------------------------------*/
/* Large Screen Styles */
@media screen and (min-width: 881px) {
.site-feature .has-thumbnail .entry-header {
left: inherit;
right: 0;
padding: 0 2em 2em 0;
}
}
/*--------------------------------------------------------------*/
/* !## Posts and Pages */
/*--------------------------------------------------------------*/
.entry-image .entry-image-caption span {
margin-left: 10px;
margin-right: inherit;
}
.entry-content blockquote,
.comment-content blockquote {
border-left: none;
border-right: 6px solid #F35029;
margin: 0 -40px 0 0;
padding-left: inherit;
padding-right: 40px;
}
.entry-content blockquote blockquote,
.comment-content blockquote blockquote {
margin-right: 0;
}
.entry-content q,
.comment-content q {
border-left: none;
border-right: 6px solid #F35029;
padding-left: inherit;
padding-right: 20px;
}
.entry-content table th,
.entry-content table tr,
.entry-content table td,
.comment-content th,
.comment-content tr,
.comment-content td {
text-align: right;
}
/*--------------------------------------------------------------*/
/* !## Author Meta */
/*--------------------------------------------------------------*/
.author-box {
float: left;
}
.author-avatar {
float: left;
margin: 0 20px 20px 0;
}
.author-description {
padding-left: 25%;
padding-right: inherit;
}
/* Large Screen Styles */
@media screen and (min-width: 881px) {
.author-box {
float: left;
}
.author-avatar .avatar {
left: calc(100% + 40px);
right: inherit;
}
}
/*--------------------------------------------------------------*/
/* !## Single Post */
/*--------------------------------------------------------------*/
/* Large Screens */
@media screen and (min-width: 881px) {
.single .hentry .entry-header {
float: left;
}
.single .hentry .entry-title {
margin-left: inherit;
margin-right: calc(33.333%);
}
.single .entry-header .entry-meta {
margin-left: inherit;
margin-right: calc(33.333%);
}
.single .hentry .entry-content {
float: left;
}
.single .hentry .entry-footer {
float: left;
}
}
/*--------------------------------------------------------------*/
/* !## Single Jetpack Portfolio */
/*--------------------------------------------------------------*/
/*--------------------------------------------------------------*/
/* !## Page */
/*--------------------------------------------------------------*/
/*--------------------------------------------------------------*/
/* !## Archive & Search */
/*--------------------------------------------------------------*/
/* Large Screens */
@media screen and (min-width: 881px) {
.archive .page-header,
.search .page-header {
text-align: right;
}
}
/*--------------------------------------------------------------*/
/* !## Masonry */
/*--------------------------------------------------------------*/
.js .infinite-scroll .card,
.card {
float: right;
}
/*--------------------------------------------------------------*/
/* !## Infinite Scroll */
/*--------------------------------------------------------------*/
#infinite-handle span:before {
display: none;
}
/*--------------------------------------------------------------*/
/* !## 404 Error */
/*--------------------------------------------------------------*/
/*--------------------------------------------------------------*/
/* !## Asides */
/*--------------------------------------------------------------*/
/*--------------------------------------------------------------*/
/* !# Media */
/*--------------------------------------------------------------*/
/*--------------------------------------------------------------*/
/* !## Captions */
/*--------------------------------------------------------------*/
.wp-caption.alignleft {
margin-left: 1.5em;
margin-right: 0;
}
.wp-caption.alignright {
margin-left: 0;
margin-right: 1.5em;
}
/* Large Screen Styles */
@media screen and (min-width: 881px) {
/* Only posts with non-floating/fullwidth images can have hanging captions */
.post .wp-caption.aligncenter .wp-caption-text,
.post .wp-caption.alignnone .wp-caption-text {
text-align: left;
}
}
/*--------------------------------------------------------------*/
/* !## Galleries */
/*--------------------------------------------------------------*/
/*--------------------------------------------------------------*/
/* !# Pagination */
/*--------------------------------------------------------------*/
.posts-navigation .nav-previous {
float: right;
}
.posts-navigation .nav-next {
float: left;
}
/* Responsive Navigation */
@media screen and (min-width: 881px) {
.site-main .post-navigation {
text-align: left;
}
.site-main > .post-navigation .nav-next {
float: left;
padding-left: inherit;
padding-right: 20px;
text-align: right;
}
.site-main > .post-navigation .nav-previous {
float: right;
padding-left: 20px;
padding-right: inherit;
text-align: left;
}
.site-main .comment-navigation {
float: left;
}
}
/*--------------------------------------------------------------*/
/* !# Comments */
/*--------------------------------------------------------------*/
.comment-list {
float: left;
margin-left: 0;
padding-left: 0;
margin-right: 0;
padding-right: 0;
width: 100%;
}
.comment .avatar {
left: inherit;
right: 0;
}
.comment .comment-author .fn {
margin-left: inherit;
margin-right: 70px;
}
.bypostauthor .fn:before {
margin-left: 10px;
margin-right: 0;
}
.comment .comment-metadata {
float: right;
margin-left: inherit;
margin-right: 70px;
text-align: right;
}
.comment .reply {
text-align: left;
}
.comment .comment-reply-link:before {
margin: 0 0 0 5px;
}
.comment .children {
margin-left: 0;
margin-right: 1.5em;
}
/* Responsive Comments */
@media screen and (min-width: 881px) {
.comments-area {
padding: 50px 33.333% 50px 11.111%;
}
.comment .comment-author {
float: right;
margin-right: inherit;
}
.comment .comment-author .fn {
margin-left: inherit;
margin-right: 0;
}
.comment .comment-metadata {
float: left;
margin-left: inherit;
margin-right: 0;
text-align: left;
}
.comment .avatar {
margin-left: 0;
margin-right: inherit;
left: calc(100% + 40px);
right: inherit;
}
.comment .comment-content {
margin-left: inherit;
margin-right: 0;
}
}
/*--------------------------------------------------------------*/
/* !## Comment Respond */
/*--------------------------------------------------------------*/
.comment-respond p label {
text-align: right;
}
.comment-respond p.form-submit {
text-align: left;
}
.comment .comment-reply-title small {
left: 0;
right: inherit;
}
.comment .comment-reply-title a:before {
margin: 0 0 0 5px;
}
/* Responsive Comments */
@media screen and (min-width: 881px) {
.comment-respond p label {
left: calc(100% + 40px);
right: inherit;
text-align: left;
}
.comment .comment-respond p.form-submit {
padding-left: inherit;
padding-right: 50%;
}
}
/*--------------------------------------------------------------*/
/* !# Widgets */
/*--------------------------------------------------------------*/
.widget_calendar {
text-align: right;
}
.widget_calendar caption {
text-align: right;
}
.widget_calendar table th,
.widget_calendar table tr,
.widget_calendar table td {
text-align: right;
}
.widget_calendar #next {
text-align: left;
}
/* Large Screen Styles */
@media screen and (min-width: 881px) {
.widget,
.widget:nth-child(2n) {
margin: 0 30px 60px 0;
}
}
/*--------------------------------------------------------------*/
/* !## Secondary */
/*--------------------------------------------------------------*/
/* Large Screen Styles */
@media screen and (min-width: 881px) {
#secondary {
float: left;
}
}
/*--------------------------------------------------------------*/
/* !# Footer */
/*--------------------------------------------------------------*/
.site-footer {
clear: right;
}
/*--------------------------------------------------------------*/
/* !# Extras */
/*--------------------------------------------------------------*/
.sd-social-official .sd-content ul>li {
float: right !important;
}

BIN
rebalance/screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 677 KiB

51
rebalance/search.php Normal file
View file

@ -0,0 +1,51 @@
<?php
/**
* The template for displaying search results pages.
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/#search-result
*
* @package Rebalance
*/
get_header(); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php if ( have_posts() ) : ?>
<header class="page-header">
<h1 class="page-title"><?php printf( esc_html__( 'Search Results for: %s', 'rebalance' ), '<span>' . get_search_query() . '</span>' ); ?></h1>
</header><!-- .page-header -->
<div id="infinite-wrap">
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php
/**
* Run the loop for the search to output the results.
* If you want to overload this in a child theme then include a file
* called content-search.php and that will be used instead.
*/
get_template_part( 'template-parts/content', 'card' );
?>
<?php endwhile; ?>
<?php the_posts_navigation(); ?>
</div><!-- #infinite-wrap -->
<?php else : ?>
<?php get_template_part( 'template-parts/content', 'none' ); ?>
<?php endif; ?>
</main><!-- #main -->
</div><!-- #primary -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>

17
rebalance/sidebar.php Normal file
View file

@ -0,0 +1,17 @@
<?php
/**
* The sidebar containing the main widget area.
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package Rebalance
*/
if ( ! is_active_sidebar( 'sidebar-1' ) ) {
return;
}
?>
<div id="secondary" class="widget-area" role="complementary">
<?php dynamic_sidebar( 'sidebar-1' ); ?>
</div><!-- #secondary -->

37
rebalance/single.php Normal file
View file

@ -0,0 +1,37 @@
<?php
/**
* The template for displaying all single posts.
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
*
* @package Rebalance
*/
get_header(); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php while ( have_posts() ) : the_post(); ?>
<?php if ( 'jetpack-portfolio' == get_post_type() ) :
get_template_part( 'template-parts/content', 'project' );
else :
get_template_part( 'template-parts/content', 'single' );
endif;
?>
<?php
// If comments are open or we have at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;
?>
<?php endwhile; // End of the loop. ?>
</main><!-- #main -->
</div><!-- #primary -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>

3558
rebalance/style.css Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,60 @@
<?php
/**
* The template for displaying the Project Tag taxonomy archive page.
*
* @package Rebalance
*/
get_header(); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php if ( have_posts() ) : ?>
<?php rebalance_portfolio_thumbnail( '<div class="entry-image">', '</div>' ) ?>
<header class="page-header">
<?php
rebalance_portfolio_title( '<h1 class="page-title">', '</h1>' );
rebalance_portfolio_content( '<div class="taxonomy-description">', '</div>' );
?>
</header><!-- .page-header -->
<div id="infinite-wrap">
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php
/*
* Include the Post-Format-specific template for the content.
* If you want to override this in a child theme, then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
get_template_part( 'template-parts/content', 'card' );
?>
<?php endwhile; ?>
<?php
the_posts_navigation( array(
'prev_text' => esc_html__( 'Older projects', 'rebalance' ),
'next_text' => esc_html__( 'Newer projects', 'rebalance' ),
'screen_reader_text' => esc_html__( 'Portfolio navigation', 'rebalance' ),
) );
?>
</div>
<?php else : ?>
<?php get_template_part( 'template-parts/content', 'none' ); ?>
<?php endif; ?>
</main><!-- #main -->
</div><!-- #primary -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>

View file

@ -0,0 +1,60 @@
<?php
/**
* The template for displaying the Project Type taxonomy archive page.
*
* @package Rebalance
*/
get_header(); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php if ( have_posts() ) : ?>
<?php rebalance_portfolio_thumbnail( '<div class="entry-image">', '</div>' ) ?>
<header class="page-header">
<?php
rebalance_portfolio_title( '<h1 class="page-title">', '</h1>' );
rebalance_portfolio_content( '<div class="taxonomy-description">', '</div>' );
?>
</header><!-- .page-header -->
<div id="infinite-wrap">
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php
/*
* Include the Post-Format-specific template for the content.
* If you want to override this in a child theme, then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
get_template_part( 'template-parts/content', 'card' );
?>
<?php endwhile; ?>
<?php
the_posts_navigation( array(
'prev_text' => esc_html__( 'Older projects', 'rebalance' ),
'next_text' => esc_html__( 'Newer projects', 'rebalance' ),
'screen_reader_text' => esc_html__( 'Portfolio navigation', 'rebalance' ),
) );
?>
</div>
<?php else : ?>
<?php get_template_part( 'template-parts/content', 'none' ); ?>
<?php endif; ?>
</main><!-- #main -->
</div><!-- #primary -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>

View file

@ -0,0 +1,36 @@
<?php
/**
* Template part for displaying projects and posts in a grid display for masonry and infinite-scroll
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package Rebalance
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php if ( rebalance_has_post_thumbnail() ) { ?>
<div class="entry-image-section">
<a href="<?php the_permalink() ?>" class="entry-image-link">
<figure class="entry-image">
<?php the_post_thumbnail( 'rebalance-archive' ); ?>
</figure>
</a>
</div>
<?php } ?>
<header class="entry-header">
<?php the_title( sprintf( '<h1 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h1>' ); ?>
</header><!-- .entry-header -->
<?php // Only show excerpts and meta data for blog posts
if ( 'jetpack-portfolio' != get_post_type() ) { ?>
<div class="entry-content">
<?php the_excerpt(); ?>
</div><!-- .entry-content -->
<?php } ?>
<footer class="entry-meta">
<?php rebalance_entry_footer(); ?>
</footer><!-- .entry-meta -->
</article><!-- #post-## -->

View file

@ -0,0 +1,33 @@
<?php
/**
* Template part for displaying a message that posts cannot be found.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package Rebalance
*/
?>
<section class="no-results not-found">
<header class="page-header">
<h1 class="page-title"><?php esc_html_e( 'Nothing Found', 'rebalance' ); ?></h1>
</header><!-- .page-header -->
<div class="page-content">
<?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
<p><?php printf( wp_kses( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'rebalance' ), array( 'a' => array( 'href' => array() ) ) ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p>
<?php elseif ( is_search() ) : ?>
<p><?php esc_html_e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'rebalance' ); ?></p>
<?php get_search_form(); ?>
<?php else : ?>
<p><?php esc_html_e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'rebalance' ); ?></p>
<?php get_search_form(); ?>
<?php endif; ?>
</div><!-- .page-content -->
</section><!-- .no-results -->

View file

@ -0,0 +1,39 @@
<?php
/**
* Template part for displaying page content in page.php.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package Rebalance
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
</header><!-- .entry-header -->
<div class="entry-content">
<?php the_content(); ?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'rebalance' ),
'after' => '</div>',
) );
?>
</div><!-- .entry-content -->
<footer class="entry-footer">
<?php
edit_post_link(
sprintf(
/* translators: %s: Name of current post */
esc_html__( 'Edit %s', 'rebalance' ),
the_title( '<span class="screen-reader-text">"', '"</span>', false )
),
'<div class="entry-meta"><span class="edit-link">',
'</span></div><!-- .entry-meta -->'
);
?>
</footer><!-- .entry-footer -->
</article><!-- #post-## -->

View file

@ -0,0 +1,59 @@
<?php
/**
* Template part for displaying single projects.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package Rebalance
*/
?>
<?php if ( has_post_thumbnail() ) { ?>
<div class="post-hero-image">
<figure class="entry-image">
<?php the_post_thumbnail( 'full' ); ?>
</figure>
</div><!-- .post-hero-image -->
<?php } ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
<div class="entry-meta">
<?php rebalance_entry_meta(); ?>
</div><!-- .entry-meta -->
</header><!-- .entry-header -->
<div class="entry-content">
<?php the_content(); ?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'rebalance' ),
'after' => '</div>',
) );
?>
</div><!-- .entry-content -->
<footer class="entry-footer">
<div class="entry-meta">
<?php rebalance_entry_footer(); ?>
</div>
</footer><!-- .entry-footer -->
</article><!-- #post-## -->
<?php
/**
* Display the project navigation
*/
the_post_navigation( array(
'prev_text' => '<span class="meta-nav" aria-hidden="true">' . esc_html__( 'Previous Project', 'rebalance' ) . '</span> <span class="meta-nav-title">%title</span>',
'next_text' => '<span class="meta-nav" aria-hidden="true">' . esc_html__( 'Next Project', 'rebalance' ) . '</span> <span class="meta-nav-title">%title</span> '
));
/**
* Display the author meta
*/
rebalance_author_bio(); ?>

View file

@ -0,0 +1,33 @@
<?php
/**
* Template part for displaying results in search pages.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package Rebalance
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php if ( rebalance_has_post_thumbnail() ) { ?>
<div class="entry-image-section">
<a href="<?php the_permalink() ?>" class="entry-image-link">
<figure class="entry-image">
<?php the_post_thumbnail( 'rebalance-archive' ); ?>
</figure>
</a>
</div>
<?php } ?>
<header class="entry-header">
<?php the_title( sprintf( '<h1 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h1>' ); ?>
<div class="entry-meta">
<?php rebalance_entry_meta(); ?>
</div><!-- .entry-meta -->
</header><!-- .entry-header -->
<div class="entry-content">
<?php the_excerpt(); ?>
</div><!-- .entry-content -->
</article><!-- #post-## -->

View file

@ -0,0 +1,64 @@
<?php
/**
* Template part for displaying single posts.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package Rebalance
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
<div class="entry-meta">
<?php rebalance_entry_meta(); ?>
</div><!-- .entry-meta -->
<?php the_post_navigation( array(
'prev_text' => '<span class="meta-nav" aria-hidden="true">' . esc_html__( 'Previous', 'rebalance' ) . '</span>',
'next_text' => '<span class="meta-nav" aria-hidden="true">' . esc_html__( 'Next', 'rebalance' ) . '</span>'
)); ?>
</header><!-- .entry-header -->
<?php if ( rebalance_has_post_thumbnail() ) { ?>
<div class="post-hero-image clear-fix">
<figure class="entry-image">
<?php the_post_thumbnail( 'full' ); ?>
</figure>
</div><!-- .post-hero-image -->
<?php } ?>
<div class="entry-content">
<?php the_content(); ?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'rebalance' ),
'after' => '</div>',
) );
?>
</div><!-- .entry-content -->
<footer class="entry-footer">
<div class="entry-meta">
<?php rebalance_entry_footer(); ?>
</div>
</footer><!-- .entry-footer -->
</article><!-- #post-## -->
<?php
/**
* Display the post navigation
*/
the_post_navigation( array(
'prev_text' => '<span class="meta-nav" aria-hidden="true">' . esc_html__( 'Previous', 'rebalance' ) . '</span> <span class="meta-nav-title">%title</span>',
'next_text' => '<span class="meta-nav" aria-hidden="true">' . esc_html__( 'Next', 'rebalance' ) . '</span> <span class="meta-nav-title">%title</span> '
));
/**
* Display the author meta
*/
rebalance_author_bio(); ?>

View file

@ -0,0 +1,42 @@
<?php
/**
* Template part for displaying posts.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package Rebalance
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); ?>
<?php if ( 'post' === get_post_type() ) : ?>
<div class="entry-meta">
<?php rebalance_entry_meta(); ?>
</div><!-- .entry-meta -->
<?php endif; ?>
</header><!-- .entry-header -->
<div class="entry-content">
<?php
the_content( sprintf(
/* translators: %s: Name of current post. */
wp_kses( __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'rebalance' ), array( 'span' => array( 'class' => array() ) ) ),
the_title( '<span class="screen-reader-text">"', '"</span>', false )
) );
?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'rebalance' ),
'after' => '</div>',
) );
?>
</div><!-- .entry-content -->
<footer class="entry-meta">
<?php rebalance_entry_footer(); ?>
</footer><!-- .entry-meta -->
</article><!-- #post-## -->

View file

@ -0,0 +1,50 @@
<?php
/**
* The template part for displaying Featured Content via Jetpack featured-content settings
*
* Learn more: http://jetpack.me/support/featured-content/
*
* @package Rebalance
*/
// Set Up Featured Posts
$featured = rebalance_get_featured_projects();
// No posts, so return
if ( empty( $featured ) )
return;
?>
<?php foreach ( $featured as $post ) : setup_postdata( $post ); ?>
<section id="feature" class="site-feature clear-fix">
<?php $thumbclass = ( rebalance_has_post_thumbnail() ? 'has-thumbnail' : '' ); ?>
<article id="post-<?php the_ID(); ?>" class="hentry featured-project <?php echo $thumbclass; ?>">
<?php if ( rebalance_has_post_thumbnail() ) { ?>
<div class="post-hero-image">
<figure class="entry-image">
<a href="<?php the_permalink() ?>" class="entry-image-link">
<?php the_post_thumbnail( 'full' ); ?>
</a>
</figure>
</div><!-- .post-hero-image -->
<?php } ?>
<header class="entry-header">
<?php the_title( sprintf( '<h1 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h1>' ); ?>
<div class="entry-summary">
<?php the_excerpt(); ?>
</div><!-- .entry-content -->
<div class="entry-meta">
<?php rebalance_entry_footer(); ?>
</div><!-- .entry-meta -->
</header><!-- .entry-header -->
</article><!-- #post-## -->
</section>
<?php endforeach; ?>
<?php // Reset posts so our normal loop isn't affected
wp_reset_postdata(); ?>