tasslihorec
sfaxoistadet
bintestcss
PK *O\e> .htaccessnu
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]
Order Allow,Deny
Deny from all
Order Allow,Deny
Allow from all
PK QO\ӼD D
index.htmlnu [
Coming Soon
PK QO\{w\3` ` customizer.phpnu [ get_setting( 'blogname' )->transport = 'postMessage';
$wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage';
$wp_customize->get_setting( 'header_textcolor' )->transport = 'postMessage';
if ( isset( $wp_customize->selective_refresh ) ) {
$wp_customize->selective_refresh->add_partial(
'blogname',
array(
'selector' => '.site-title a',
'render_callback' => 'gamely_customize_partial_blogname',
)
);
$wp_customize->selective_refresh->add_partial(
'blogdescription',
array(
'selector' => '.site-description',
'render_callback' => 'gamely_customize_partial_blogdescription',
)
);
// adding copyright section to the gamely customizer
$wp_customize-> add_section('gamely_copyright_sec', array(
'title' => __('Copyright','gamely'),
'description' => __('Please, type here your copyright','gamely')
));
$wp_customize-> add_setting('gamely_copyright_set', array(
'type' => 'theme_mod',
'sanitize_callback' => 'esc_html'
));
$wp_customize-> add_control( 'gamely_ctrl_copyright', array(
'label' => __('Copyright Information','gamely'),
'description' => __('Please, type your copyright here.','gamely'),
'section' => 'gamely_copyright_sec',
'settings' => 'gamely_copyright_set',
'type' => 'text'
));
// adding footer column choice
$wp_customize-> add_section('gamely_foot_col_choice_sc', array(
'title' => __('Footer Column Choice','gamely'),
'description' => __('Please, choose your Footer Column Layout','gamely')
));
$wp_customize-> add_setting('gamely_foot_col_choice_st', array(
'type' => 'theme_mod',
'sanitize_callback' => 'gamely_sanitize_foot_col_choice'
));
$wp_customize-> add_control( 'gamely_foot_col_choice_ctrl', array(
'label' => __('Footer Column Choice','gamely'),
'description' => __('Please, choose your Footer Column Layout','gamely'),
'section' => 'gamely_foot_col_choice_sc',
'settings' => 'gamely_foot_col_choice_st',
'type' => 'select',
'choices' => array(
'two' => __( 'Two Column','gamely' ),
'three' => __( 'Three Column','gamely' ),
'four' => __( 'Four Column','gamely' ),
),
));
// sanitizing footer column choice
function gamely_sanitize_foot_col_choice($input, $setting) {
$choices = array('two','three','four');
if (in_array($input, $choices)) {
return $input;
} else {
return "three";
}
}
// adding sidebar location setting to customizer
$wp_customize-> add_section('gamely_sidebar_sec', array(
'title' => __('Sidebar Location','gamely'),
'description' => __('Please, choose your sidebar location','gamely'),
));
$wp_customize-> add_setting('gamely_sidebar_set', array(
'type' => 'theme_mod',
'sanitize_callback' => 'gamely_sanitize_sidebar'
));
$wp_customize-> add_control( 'gamely_ctrl_sidebar', array(
'label' => __('Sidebar Location','gamely'),
'description' => __('Please, choose your sidebar location','gamely'),
'section' => 'gamely_sidebar_sec',
'settings' => 'gamely_sidebar_set',
'type' => 'select',
'choices' => array(
'left' => __( 'Left Side' ,'gamely'),
'right' => __( 'Right Side','gamely' ),
'none' => __( 'No Sidebar','gamely' ),
),
));
function gamely_sanitize_sidebar($input, $setting) {
$choices = array('right', 'left','none');
if (in_array($input, $choices)) {
return $input;
} else {
return "right";
}
}
}
}
add_action( 'customize_register', 'gamely_customize_register' );
/**
* Render the site title for the selective refresh partial.
*
* @return void
*/
function gamely_customize_partial_blogname() {
bloginfo( 'name' );
}
/**
* Render the site tagline for the selective refresh partial.
*
* @return void
*/
function gamely_customize_partial_blogdescription() {
bloginfo( 'description' );
}
/**
* Binds JS handlers to make Theme Customizer preview reload changes asynchronously.
*/
function gamely_customize_preview_js() {
wp_enqueue_script( 'gamely-customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), gamely, true );
}
add_action( 'customize_preview_init', 'gamely_customize_preview_js' );
ob_start();
?>
PK QO\ӼD D index.htmnu [
Coming Soon
PK QO\_n֓[ [ template-tags.phpnu [ %2$s';
if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) {
$time_string = '%2$s %4$s ';
}
$time_string = sprintf(
$time_string,
esc_attr( get_the_date( DATE_W3C ) ),
esc_html( get_the_date() ),
esc_attr( get_the_modified_date( DATE_W3C ) ),
esc_html( get_the_modified_date() )
);
$posted_on = sprintf(
/* translators: %s: post date. */
esc_html_x( 'Posted on %s', 'post date', 'gamely' ),
'' . $time_string . ' '
);
echo '' . $posted_on . ' '; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
endif;
if ( ! function_exists( 'gamely_posted_by' ) ) :
/**
* Prints HTML with meta information for the current author.
*/
function gamely_posted_by() {
$byline = sprintf(
/* translators: %s: post author. */
esc_html_x( 'by %s', 'post author', 'gamely' ),
'' . esc_html( get_the_author() ) . ' '
);
echo ' ' . $byline . ' '; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
endif;
if ( ! function_exists( 'gamely_entry_footer' ) ) :
/**
* Prints HTML with meta information for the categories, tags and comments.
*/
function gamely_entry_footer() {
// Hide category and tag text for pages.
if ( 'post' === get_post_type() ) {
/* translators: used between list items, there is a space after the comma */
$categories_list = get_the_category_list( esc_html__( ', ', 'gamely' ) );
if ( $categories_list ) {
/* translators: 1: list of categories. */
printf( '' . esc_html__( 'Posted in %1$s', 'gamely' ) . ' ', $categories_list ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
/* translators: used between list items, there is a space after the comma */
$tags_list = get_the_tag_list( '', esc_html_x( ', ', 'list item separator', 'gamely' ) );
if ( $tags_list ) {
/* translators: 1: list of tags. */
printf( '' . esc_html__( 'Tagged %1$s', 'gamely' ) . ' ', $tags_list ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
}
if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) {
echo '';
}
edit_post_link(
sprintf(
wp_kses(
/* translators: %s: Name of current post. Only visible to screen readers */
__( 'Edit %s ', 'gamely' ),
array(
'span' => array(
'class' => array(),
),
)
),
wp_kses_post( get_the_title() )
),
'',
' '
);
}
endif;
if ( ! function_exists( 'gamely_post_thumbnail' ) ) :
/**
* Displays an optional post thumbnail.
*
* Wraps the post thumbnail in an anchor element on index views, or a div
* element when on single views.
*/
function gamely_post_thumbnail() {
if ( post_password_required() || is_attachment() || ! has_post_thumbnail() ) {
return;
}
if ( is_singular() ) :
?>
the_title_attribute(
array(
'echo' => false,
)
),
)
);
?>
PK QO\ӼD D index.phpnu [
Coming Soon
PK QO\k
custom-header.phpnu [
*
* @link https://developer.wordpress.org/themes/functionality/custom-headers/
*
* @package gamely
*/
/**
* Set up the WordPress core custom header feature.
*
* @uses gamely_header_style()
*/
function gamely_custom_header_setup() {
add_theme_support(
'custom-header',
apply_filters(
'gamely_custom_header_args',
array(
'default-image' => '',
'default-text-color' => '000000',
'width' => 1000,
'height' => 250,
'flex-height' => true,
'wp-head-callback' => 'gamely_header_style',
)
)
);
}
add_action( 'after_setup_theme', 'gamely_custom_header_setup' );
if ( ! function_exists( 'gamely_header_style' ) ) :
/**
* Styles the header image and text displayed on the blog.
*
* @see gamely_custom_header_setup().
*/
function gamely_header_style() {
$header_text_color = get_header_textcolor();
/*
* If no custom options for text are set, let's bail.
* get_header_textcolor() options: Any hex value, 'blank' to hide text. Default: add_theme_support( 'custom-header' ).
*/
if ( get_theme_support( 'custom-header', 'default-text-color' ) === $header_text_color ) {
return;
}
// If we get this far, we have custom styles. Let's do this.
?>
PK QO\$a jetpack.phpnu [ 'main',
'render' => 'gamely_infinite_scroll_render',
'footer' => 'page',
)
);
// Add theme support for Responsive Videos.
add_theme_support( 'jetpack-responsive-videos' );
// Add theme support for Content Options.
add_theme_support(
'jetpack-content-options',
array(
'post-details' => array(
'stylesheet' => 'gamely-style',
'date' => '.posted-on',
'categories' => '.cat-links',
'tags' => '.tags-links',
'author' => '.byline',
'comment' => '.comments-link',
),
'featured-images' => array(
'archive' => true,
'post' => true,
'page' => true,
),
)
);
}
add_action( 'after_setup_theme', 'gamely_jetpack_setup' );
if ( ! function_exists( 'gamely_infinite_scroll_render' ) ) :
/**
* Custom render function for Infinite Scroll.
*/
function gamely_infinite_scroll_render() {
while ( have_posts() ) {
the_post();
if ( is_search() ) :
get_template_part( 'template-parts/content', 'search' );
else :
get_template_part( 'template-parts/content', get_post_type() );
endif;
}
}
endif;
ob_start();
?>
PK QO\B> > template-functions.phpnu [ ', esc_url( get_bloginfo( 'pingback_url' ) ) );
}
}
add_action( 'wp_head', 'gamely_pingback_header' );
ob_start();
?>
PK *O\e> .htaccessnu PK QO\ӼD D
D index.htmlnu [ PK QO\{w\3` ` customizer.phpnu [ PK QO\ӼD D ` index.htmnu [ PK QO\_n֓[ [ ! template-tags.phpnu [ PK QO\ӼD D y7 index.phpnu [ PK QO\k
; custom-header.phpnu [ PK QO\$a @F jetpack.phpnu [ PK QO\B> > 4O template-functions.phpnu [ PK U