PATH:
home
/
lab2454c
/
fcxpro.com
/
wp-content
/
themes
/
webon
/
inc
/
blog
<?php if ( ! function_exists( 'webon_get_blog_holder_classes' ) ) { /** * Function that return classes for the main blog holder * * @return string */ function webon_get_blog_holder_classes() { $classes = array(); if ( is_single() ) { $classes[] = 'qodef--single'; } else { $classes[] = 'qodef--list'; } return implode( ' ', apply_filters( 'webon_filter_blog_holder_classes', $classes ) ); } } if ( ! function_exists( 'webon_get_blog_list_excerpt_length' ) ) { /** * Function that return number of characters for excerpt on blog list page * * @return int */ function webon_get_blog_list_excerpt_length() { $length = apply_filters( 'webon_filter_post_excerpt_length', 360 ); return intval( $length ); } } if ( ! function_exists( 'webon_post_has_read_more' ) ) { /** * Function that checks if current post has read more tag set * * @return int position of read more tag text. It will return false if read more tag isn't set */ function webon_post_has_read_more() { global $post; return ! empty( $post ) ? strpos( $post->post_content, '<!--more-->' ) : false; } } if ( ! function_exists( 'webon_return_svg_link' ) ) { function webon_return_svg_link() { $html = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="56px" height="56px" viewBox="0 0 56 56" style="enable-background:new 0 0 56 56;" xml:space="preserve"> <g> <path fill="currentColor" d="M43.02,1.07c5.17,0.28,8.81,2.69,10.8,7.17c2.08,4.68,1.42,9.08-1.93,12.74c-4.27,4.66-8.77,9.11-13.38,13.23 c-2.09,1.87-4.67,2.86-7.45,2.86c-3.05,0-5.99-1.2-8.3-3.38c-1.2-1.13-1.38-2.62-0.45-3.79c0.5-0.63,1.22-0.98,2.03-0.98 c0.64,0,1.28,0.22,1.84,0.64c1.13,0.84,2.68,2,4.8,2l0.05,0l0,0c1.82-0.02,3.42-0.73,4.89-2.18c4.49-4.43,8.13-8.08,11.45-11.48 c1.93-1.97,2.5-4.34,1.64-6.86c-0.81-2.4-2.62-3.91-5.23-4.36c-0.36-0.06-0.72-0.09-1.07-0.09c-1.73,0-3.37,0.75-4.85,2.22 l-0.35,0.34c-1.89,1.88-3.84,3.82-5.72,5.78c-0.38,0.4-0.59,0.43-0.8,0.43c-0.15,0-0.32-0.03-0.54-0.08 c-1.11-0.28-2.25-0.48-3.34-0.66c-0.68-0.11-1.38-0.23-2.05-0.37c-0.1-0.02-0.19-0.05-0.26-0.08c0.69-0.69,1.39-1.39,2.08-2.08 c2.84-2.84,5.77-5.78,8.76-8.54C37.37,1.97,39.71,1.18,43.02,1.07 M43.03,0.07c-3.04,0.1-5.87,0.74-8.05,2.76 c-3.75,3.46-7.32,7.11-10.94,10.72c-0.24,0.24-0.4,0.85-0.26,1.09c0.19,0.31,0.69,0.53,1.1,0.61c1.78,0.36,3.59,0.57,5.34,1.02 c0.29,0.07,0.55,0.11,0.78,0.11c0.57,0,1.03-0.23,1.52-0.74c1.98-2.07,4.01-4.09,6.05-6.11c1.18-1.17,2.54-1.93,4.15-1.93 c0.29,0,0.6,0.03,0.91,0.08c2.16,0.37,3.72,1.54,4.45,3.69c0.76,2.25,0.18,4.22-1.41,5.84c-3.77,3.86-7.59,7.67-11.44,11.46 c-1.14,1.12-2.48,1.87-4.2,1.89c-0.02,0-0.03,0-0.05,0c-1.7,0-2.94-0.85-4.21-1.8c-0.76-0.57-1.61-0.84-2.44-0.84 c-1.08,0-2.1,0.47-2.81,1.36c-1.25,1.58-1.03,3.65,0.55,5.14c2.54,2.4,5.77,3.65,8.99,3.65c2.89,0,5.77-1.01,8.12-3.11 c4.7-4.2,9.19-8.66,13.45-13.3c3.65-3.99,4.31-8.86,2.11-13.82C52.5,2.82,48.39,0.34,43.03,0.07L43.03,0.07z"/> <path fill="currentColor" d="M24.6,19.03c3.33,0.04,5.99,1.03,8.39,3.12c1.3,1.13,1.59,2.83,0.68,3.95c-0.53,0.65-1.22,0.99-2.02,0.99 c-0.69,0-1.4-0.26-2.06-0.75c-1.71-1.27-3.27-1.89-4.77-1.89c-1.76,0-3.47,0.86-5.23,2.62c-1.07,1.07-2.14,2.14-3.21,3.21 c-2.62,2.62-5.33,5.32-7.95,8.03c-1.71,1.77-2.34,4.17-1.68,6.43c0.66,2.26,2.47,3.96,4.85,4.54c0.54,0.13,1.08,0.2,1.6,0.2 c1.66,0,3.17-0.65,4.48-1.94l0.81-0.79c1.87-1.83,3.8-3.72,5.66-5.63c0.39-0.4,0.61-0.43,0.8-0.43c0.16,0,0.36,0.03,0.62,0.11 c1.07,0.31,2.17,0.48,3.23,0.64c0.61,0.09,1.24,0.19,1.84,0.31c0.1,0.02,0.21,0.06,0.34,0.12c-0.03,0.07-0.06,0.13-0.09,0.16 c-1.49,1.53-3.03,3.08-4.51,4.57c-1.48,1.49-2.96,2.97-4.42,4.47c-2.43,2.5-5.6,3.87-8.92,3.87c-5.16,0-9.6-3.2-11.31-8.14 c-1.6-4.63-0.58-8.87,3.06-12.61c4.29-4.41,8.2-8.32,11.97-11.95C18.86,20.21,21.57,19.1,24.6,19.03 M24.59,18.03 c-3.07,0.07-6.1,1.14-8.53,3.48C12,25.43,8.01,29.43,4.07,33.48C0.32,37.35-1,41.96,0.79,47.12c1.95,5.63,7,8.82,12.26,8.82 c3.39,0,6.86-1.32,9.63-4.17c2.96-3.03,5.98-6.01,8.93-9.04c0.33-0.34,0.42-0.9,0.62-1.36c-0.46-0.2-0.91-0.5-1.39-0.59 c-1.66-0.33-3.37-0.47-4.99-0.93c-0.33-0.09-0.62-0.14-0.89-0.14c-0.56,0-1.02,0.22-1.52,0.73c-2.12,2.17-4.29,4.29-6.46,6.41 c-1.1,1.08-2.37,1.65-3.78,1.65c-0.44,0-0.89-0.06-1.36-0.17c-4.31-1.05-5.8-6.09-2.69-9.31c3.67-3.79,7.43-7.49,11.15-11.23 c1.55-1.56,3-2.33,4.52-2.33c1.3,0,2.66,0.57,4.17,1.69c0.85,0.64,1.78,0.95,2.66,0.95c1.06,0,2.07-0.46,2.8-1.36 c1.24-1.53,0.92-3.83-0.8-5.33C31.15,19.21,28.23,18.06,24.59,18.03L24.59,18.03z"/> </g> </svg>'; return $html; } }
[+]
..
[+]
templates
[-] include.php
[edit]
[-] helper.php
[edit]