Viewing 3 replies - 1 through 3 (of 3 total)
  • Why don’t you delete completely the function content?

    Thread Starter nyckidd

    (@nyckidd)

    well am setting the character limit using the function in that code they have stripped the images and i am not a php guru s i just wanna know how to edit the code and atleast show the first image in the post plus the limited content text

    try to delete this two lines…

    $output = preg_replace('/<img[^>]+./','', $theContent);
    $output = preg_replace( '/<blockquote>.*<\/blockquote>/', '', $output );
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘show images in content – edit functions.php’ is closed to new replies.