This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App; | |
class Locale | |
{ | |
/** | |
* Cached copy of the configured supported locales | |
* | |
* @var string |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* Theme Name: Handmade's Tale | |
* Description: Custom theme for Handmade's Tale website | |
* Version: 1.0.0 | |
* Author: Mohammad Ashour | |
* Author URI: http://www.ashour.ca | |
* | |
* License: MIT | |
* License URI: http://opensource.org/licenses/mit-license.php | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php get_template_part('header'); ?> | |
<main role="main" aria-label="Content"> | |
<!-- section --> | |
<section> | |
<!-- Content will go here --> | |
</section> | |
<!-- /section --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html <?php language_attributes(); ?>> | |
<head> | |
<meta charset="<?php bloginfo('charset'); ?>"> | |
<title> | |
<?php wp_title(''); ?> | |
<?php if (wp_title('', false)) { | |
echo ' | '; | |
} ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> | |
<!-- article --> | |
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> | |
<!-- post thumbnail --> | |
<?php if (has_post_thumbnail()) : ?> | |
<a | |
href="<?php the_permalink(); ?>" | |
title="<?php the_title_attribute(); ?>" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php printf( | |
_n('%d post', '%d posts', hmt_published_post_count(), 'handmadestale'), | |
hmt_published_post_count() | |
); ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#: index.php:12 | |
#, php-format | |
msgid "%d post" | |
msgid_plural "%d posts" | |
msgstr[0] "" | |
msgstr[1] "" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100 >= 3 " | |
"&& n%100<=10 ? 3 : n%100 >= 11 && n%100<=99 ? 4 : 5;\n" |
OlderNewer