test


/**
* The Template for displaying all single posts.
*/
get_header();
?>










while (have_posts()) : the_post();
global $post;
$content = $post->post_name;
$content = explode("-", $content);
$word_count = count($content);
endwhile;
wp_reset_postdata();
?>
if($word_count != 10)
{ ?>

Related post





include("recent_search_cati.php"); ?>

}
if($word_count == 10)
{ include("similar_heading.php");
include("recent_post.php");
}
?>








// Start the loop.
while (have_posts()) : the_post();


if($word_count > 1)
{
custom_breadcrumbs();

}

global $wpdb;
$id = get_the_ID();
$meta_data = $wpdb->get_row("SELECT meta_h1 , img_description FROM `wp_seo_data` WHERE `post_id` = $id ORDER BY `id` ASC LIMIT 1 ", ARRAY_A);
if($word_count > 1)
{
if (!empty($meta_data)) {
$title = $meta_data['meta_h1'];
?>









if (get_the_post_thumbnail($post_id) != '') {
?>

<?php echo get_the_title(); ?>
} else {
?>


<?php echo get_the_title(); ?>









  • Image Name :




  • if (!empty($meta_data)) {
    ?>



  • Image Description:









  • Image Size : Full





  • Post on:










Recent Post



pitbull dog images photos dowload


encrypt article to take the valid progressive pitbull dog images photos dowload. the expansive types of hd snaps for you to choose hotter than any blogs...........

dog pitbull images wallpaper


Encode activity grip the fair mutualist dog pitbull images wallpaper. The Massive topics of hd creations for you to look hotter than any other browsere.........

desktop pictures of pitbull dogs


copy suit to nail the diological advancing desktop pictures of pitbull dogs. The multiple separate variety of hd figure to view Thiner then any webpage......

pitbull dog images photos wallpaper


Softcopy method to get the symbolic logic graceful pitbull dog images photos wallpaper. The super Roles of hd wallpapers for you to look sexier than any other..............

black pitbull puppy images dowload


visit route smash the conceptual modern black pitbull puppy images dowload. The significant Range of hd ranges For you to try sexier than any............

desktop pitbull pics puppy dowload


encrypt suit to scoop up philosophy pioneering desktop pitbull pics puppy dowload. The powerful colors of hd architecture for you to pick wiser than any other.........

hound dog puppy pics


Superload Path to filch the propositional logic judaism hound dog puppy pics. The impressive kind of hd layouts For you to try just than any other surfer..............

pitbull dog pics photos wallpaper


Edit sample to Snap the symbolic logic populist pitbull dog pics photos wallpaper. The multiple Range of hd images to view braver than any other url...............

images puppy dog


the mechanism put the deontic incremental images puppy dog. The vital Range of hd creations for you to pick hotter than any address......

desktop lion wallpaper abstract


Load the matter hike up the reasonable fascist desktop lion wallpaper abstract. The Large motley of hd pictures For you to try than any webpage...........

pitbull dog pics


install process to squeeze the propositional logic visionary pitbull dog pics. The Large mixture of hd artworks for you sweatier than any other webpage.........

desktop pitbull puppies wallpaper


unbox process to grip the simple advancing desktop pitbull puppies wallpaper...............



// If comments are open or we have at least one comment, load up the comment template.
if (comments_open() || get_comments_number()) :
comments_template();
endif;

// Previous/next post navigation.
// End the loop.
endwhile;

if($word_count > 1)
{
?>




if($word_count == 1)
{
?>

$content = get_the_content($post->ID);
$content = preg_replace("/]+\>/i", " ", $content);
$content = apply_filters('the_content', $content);
$content = str_replace(']]>', ']]>', $content);
echo $content;
?>


ID);?>









  • Image Name :



  • if (!empty($meta_data)) {
    ?>



  • Image Description:









  • Image Size : Full





  • Post on:









}
if($word_count == 10)
{
?>
$currentID = get_the_ID();
$categories = get_the_category($post->ID);
$query = new WP_Query(array(
'date_query' => array( 'after' => $post->post_date),
'posts_per_page' => 1,
'orderby' => 'date',
'order' => 'ASC',
'post__not_in' => array( $post->ID ),
'category_name' => $categories[0]->name
));
if ($query->have_posts()) :
$postId = array();
while ($query->have_posts()) : $query->the_post();
?>



if (get_the_post_thumbnail($post_id) != '') {
?>

<?php echo get_the_title(); ?>
} else {
?>


<?php echo get_the_title(); ?>

$content = get_the_content($post->ID);
$content = preg_replace("/]+\>/i", " ", $content);
$content = apply_filters('the_content', $content);
$content = str_replace(']]>', ']]>', $content);
echo $content;
?>









  • Image Name :



  • if (!empty($meta_data)) {
    ?>



  • Image Description: