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
modern cv genarator | |
===================== | |
http://www.careerealism.com/top-resume-trends-2014 | |
another markect place | |
===================== | |
http://www.indeed.com/jobs | |
http://wphired.com/ |
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
https://github.com/WebDevStudios/CMB2/wiki/Field-Types | |
http://metabox.io/(another metabox link) | |
Most important create custom post taxonomy(category support) | |
if ( ! function_exists( 'storyteller_theme_custom_posts_taxonomy' ) ) : | |
function storyteller_theme_custom_posts_taxonomy() { | |
register_taxonomy( |
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' => -1, 'post_type'=> 'posttype', 'orderby' => 'menu_order', 'order' => 'ASC' ); | |
$myposts = get_posts( $args ); | |
foreach( $myposts as $post ) : setup_postdata($post); ?> | |
<?php | |
$job_link= get_post_meta($post->ID, 'job_instructions', true); | |
?> | |
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
//call function.php | |
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) | |
wp_enqueue_script( 'comment-reply' ); | |
//call single.php | |
<?php comments_template( '', true ); ?> | |
// or you see Down single.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 the_post_thumbnail( 'thumbnail', array( 'class' => 'author-photo' ) ); ?> | |
// contact form 7 | |
[contact-form-7 id="234" title="footer contact form"] | |
<label class="incave-contact-label">Name<span>*</span></label> |
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
//This code call,function php | |
function my_add_mce_button() { | |
// check user permissions | |
if ( !current_user_can( 'edit_posts' ) && !current_user_can( 'edit_pages' ) ) { | |
return; | |
} | |
// check if WYSIWYG is enabled | |
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
// call, function php for option tree | |
// option tree | |
include_once('option-tree/theme-options.php'); | |
/** | |
* Required: set 'ot_theme_mode' filter to true. | |
*/ | |
add_filter( 'ot_theme_mode', '__return_true' ); |
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
//custom post register................. | |
<?php | |
function custom_post_register(){ | |
register_post_type('slide', array( | |
'public' => true, | |
'label' => 'slide', | |
'labels' =>array( | |
'name' => 'slides', | |
'singular_name' => 'slide', |
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
// post-excerpt php code | |
<?php if(have_posts()) : ?> | |
<?php while (have_posts()) : the_post(); ?> | |
<article> | |
<div class="post-image"> | |
<div class="post-heading"> | |
<h3><a href="<?php the_permalink();?>"><?php the_title(); ?></a></h3> | |
</div> | |
<?php the_post_thumbnail('post-thumbnail'); ?> |
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
style="background-image: url(\''.$background.'\');" | |
include_once('inc/default-supports.php'); | |
'.do_shortcode ($content).' | |
// for custom post in the shortcode | |
'.get_permalink().' | |
'.get_the_excerpt().' | |
'.get_the_title().' |
NewerOlder