Support » Fixing WordPress » wp_get_attachment_image_src(863,'large')

  • wp_get_attacmet_image_src is not working with string

    ’863′,’large’ not working
    863,’lage’ working

    I need to replace

    the_author_meta( 's-backgroundimage-1', $author_id );

    to an int. I try but it´s not working.

    <?php $background_image_1 = wp_get_attachment_image_src(863,'large');?>
    <code></code>
    <?php echo $background_image_1[0];?>
  • The topic ‘wp_get_attachment_image_src(863,'large')’ is closed to new replies.