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: Twenty Fifteen | |
Theme URI: https://wordpress.org/themes/twentyfifteen | |
Author: the WordPress team | |
Author URI: https://wordpress.org/ | |
Description: Our 2015 default theme is clean, blog-focused, and designed for clarity. Twenty Fifteen's simple, straightforward typography is readable on a wide variety of screen sizes, and suitable for multiple languages. We designed it using a mobile-first approach, meaning your content takes center-stage, regardless of whether your visitors arrive by smartphone, tablet, laptop, or desktop computer. | |
Version: 1.0 | |
License: GNU General Public License v2 or later | |
License URI: http://www.gnu.org/licenses/gpl-2.0.html | |
Tags: black, blue, gray, pink, purple, white, yellow, dark, light, two-columns, left-sidebar, fixed-layout, responsive-layout, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready |
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 language_attributes(); ?> is going to lang="en" | |
<?php bloginfo(''charset); ?> is going to utf-8 | |
<?php wp_title('|',true,'right'); ?> is going to utf-8 | |
<?php echo get_template_directory_uri(); ?> is to access template directory | |
<?php bloginfo('stylesheet_url'); ?> is replace this main style which is stay in root directory http="you must put hear that code" |
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
function slider_custom_post(){ | |
register_post_type('slider',array( | |
'public'=>true, | |
'label'=>'slider', | |
'labels'=>array( | |
'name'=>'slider', | |
'singular_name'=>'slide', | |
'add_new'=>'add a new slide', | |
), | |
'supports'=>array( |
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 | |
add_theme_support( 'post-formats', array( 'aside', 'gallery', 'link', 'image', 'quote', 'status', 'video', 'audio', 'chat') ); | |
add_theme_support( 'custom-background'); | |
add_theme_support( 'custom-header' ); | |
add_theme_support( 'automatic-feed-links' ); | |
add_theme_support( 'html5', array( 'comment-list', 'comment-form', 'search-form', 'gallery', 'caption' ) ); | |
add_theme_support( 'title-tag' ); | |
?> |
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 | |
global $post; | |
$args = array( 'posts_per_page' => 10, 'post_type'=> 'put_hear_your_post_type_neme' ); | |
$myposts = get_posts( $args ); | |
foreach( $myposts as $post ) : setup_postdata($post); ?> | |
<?php | |
$job_link= get_post_meta($post->ID, 'put_hear_custom_fields_variable', true); | |
?> |
NewerOlder