wordpress/wp-content/themes/basic/themify/themify-template-tags.php
/**
     * Template tag to display the post title
     *
     * uses themify_parse_args to filter the $args
     */
Template tag to display the post title
uses themify_parse_args to filter the $args
Template tag to display the post title uses themify_parse_args to filter the $args
function themify_post_title($args = array()) {
	global $themify;
	if ($themify->hide_title !== 'yes' || (isset($args['show_title']) && $args['show_title']===true)) {
	    $posfix = !empty($themify->post_module_hook) ? '_module' : '';
	    $html = '';
	    if (!isset($args['unlink'])) {
			$args['unlink'] = isset( $_GET['post_in_lightbox'])?false:(isset($themify->unlink_title) && $themify->unlink_title === 'yes');
	    }
	    if (!isset($args['tag'])) {
		$args['tag'] = themify_post_title_tag();
	    }
	    if (!isset($args['class'])) {
		$args['class'] = 'post-title entry-title';
	    }
	    $args=apply_filters( 'themify_post_title_args', $args );
		ob_start();
        if(!isset($args['no_hook'])){
            themify_before_post_title($posfix); 
        }
		$html .= ob_get_clean();
	    $html .= '<' . $args['tag'];
	    if($args['class']!==''){
		 $html.=' class="' . $args['class'] . '"';
	    }
	    $html.='>';
	    if (isset($args['before_title'])) {
		$html .= $args['before_title'];
	    }
	    if ($args['unlink'] !== true) {
			$link=themify_permalink_attr($args,false);
			$html .= '<a href="' . $link['href'] . '"';
			if($link['cl']!==''){
				$html .= ' class="' . $link['cl'] . '" ';
			}
			if($link['r']!==''){
				$html .= $link['r'];
			}
		$html .= '>';
	    }
	    $html .= isset($args['title'])?$args['title']:the_title('', '', false);
	    if ($args['unlink'] !== true) {
			if($link['l']===true && isset($args['zoom']) && $args['zoom']===true){
				$html.= themify_zoom_icon(false);
			}
			$html .= '</a>';
	    }
	    if (isset($args['after_title'])) {
		$html .= $args['after_title'];
	    }
	    $html .= '</' . $args['tag'] . '>';
	    if (isset($args['before'])) {
		$html = $args['before'] . $html;
	    }
	    if (isset($args['after'])) {
			$html = $html . $args['after'];
	    }
		ob_start();
        if(!isset($args['no_hook'])){
            themify_after_post_title($posfix); 
        }
		$html.=ob_get_clean();
	    $html=apply_filters( 'themify_post_title_html',$html, $args );
	    if (isset($args['echo']) && $args['echo'] !== true) {
		return $html;
	    }
	    echo $html;
	}
    }
function themify_post_title ( $ args = array ( ) ) { global $ themify ; if ( $ themify -> hide_title !== 'yes' || ( isset ( $ args [ 'show_title' ] ) && $ args [ 'show_title' ] === true ) ) { $ posfix = ! empty ( $ themify -> post_module_hook ) ? '_module' : '' ; $ html = '' ; if ( ! isset ( $ args [ 'unlink' ] ) ) { $ args [ 'unlink' ] = isset ( $ _GET [ 'post_in_lightbox' ] ) ? false : ( isset ( $ themify -> unlink_title ) && $ themify -> unlink_title === 'yes' ) ; } if ( ! isset ( $ args [ 'tag' ] ) ) { $ args [ 'tag' ] = themify_post_title_tag ( ) ; } if ( ! isset ( $ args [ 'class' ] ) ) { $ args [ 'class' ] = 'post-title entry-title' ; } $ args = apply_filters ( 'themify_post_title_args' , $ args ) ; ob_start ( ) ; if ( ! isset ( $ args [ 'no_hook' ] ) ) { themify_before_post_title ( $ posfix ) ; } $ html .= ob_get_clean ( ) ; $ html .= '<' . $ args [ 'tag' ] ; if ( $ args [ 'class' ] !== '' ) { $ html .= ' class="' . $ args [ 'class' ] . '"' ; } $ html .= '>' ; if ( isset ( $ args [ 'before_title' ] ) ) { $ html .= $ args [ 'before_title' ] ; } if ( $ args [ 'unlink' ] !== true ) { $ link = themify_permalink_attr ( $ args , false ) ; $ html .= '<a href="' . $ link [ 'href' ] . '"' ; if ( $ link [ 'cl' ] !== '' ) { $ html .= ' class="' . $ link [ 'cl' ] . '" ' ; } if ( $ link [ 'r' ] !== '' ) { $ html .= $ link [ 'r' ] ; } $ html .= '>' ; } $ html .= isset ( $ args [ 'title' ] ) ? $ args [ 'title' ] : the_title ( '' , '' , false ) ; if ( $ args [ 'unlink' ] !== true ) { if ( $ link [ 'l' ] === true && isset ( $ args [ 'zoom' ] ) && $ args [ 'zoom' ] === true ) { $ html .= themify_zoom_icon ( false ) ; } $ html .= '</a>' ; } if ( isset ( $ args [ 'after_title' ] ) ) { $ html .= $ args [ 'after_title' ] ; } $ html .= '</' . $ args [ 'tag' ] . '>' ; if ( isset ( $ args [ 'before' ] ) ) { $ html = $ args [ 'before' ] . $ html ; } if ( isset ( $ args [ 'after' ] ) ) { $ html = $ html . $ args [ 'after' ] ; } ob_start ( ) ; if ( ! isset ( $ args [ 'no_hook' ] ) ) { themify_after_post_title ( $ posfix ) ; } $ html .= ob_get_clean ( ) ; $ html = apply_filters ( 'themify_post_title_html' , $ html , $ args ) ; if ( isset ( $ args [ 'echo' ] ) && $ args [ 'echo' ] !== true ) { return $ html ; } echo $ html ; } }
Template tag to display the post title
 uses themify_parse_args to filter the $args
Template tag to display the post title uses themify_parse_args to filter the $args
// Hook // Hook