Do not remember me!
/ / / set title as shortstory

set title as shortstory

hello admin i m reddy i looking help in hack can i set title of post as automatics as short story lot of my authors are not using short story and by that dle script is unable to create keywords and description which is effecting my seo.so can you pls help thanks Added by: in PHP Questions on
try this
- open engine/modules/show.full.php find
		if( $row['keywords'] == '' AND $row['descr'] == '' AND $config['create_metatags'] ) create_keywords( $row['short_story'] . $row['full_story'] );
		else {
			$metatags['keywords'] = $row['keywords'];
			if( $row['descr'] ) $metatags['description'] = $row['descr']; else $metatags['description'] = $row['title'];
		}

Replace with
		if( $row['keywords'] == '' AND $row['descr'] == '' AND $config['create_metatags'] ) create_keywords( $row['title'] . $row['short_story'] . $row['full_story']);
		else {
			$metatags['keywords'] = $row['title'] . $row['keywords'];
			if( $row['descr'] ) $metatags['description'] = $row['descr']; else $metatags['description'] = $row['title'];
		}
Answered by: dlefaq


0

Comments 1

  1. dlefaq
    0
    dlefaq Currently Offline → 26 July 2015 14:55

    try this
    - open engine/modules/show.full.php find
    		if( $row['keywords'] == '' AND $row['descr'] == '' AND $config['create_metatags'] ) create_keywords( $row['short_story'] . $row['full_story'] );
    		else {
    			$metatags['keywords'] = $row['keywords'];
    			if( $row['descr'] ) $metatags['description'] = $row['descr']; else $metatags['description'] = $row['title'];
    		}

    Replace with
    		if( $row['keywords'] == '' AND $row['descr'] == '' AND $config['create_metatags'] ) create_keywords( $row['title'] . $row['short_story'] . $row['full_story']);
    		else {
    			$metatags['keywords'] = $row['title'] . $row['keywords'];
    			if( $row['descr'] ) $metatags['description'] = $row['descr']; else $metatags['description'] = $row['title'];
    		}
     2 |  102

Information

Would you like to leave your comment? Please Login to your account to leave comments. Don't have an account? You can create a free account now.