WordPress.org

Ready to get started?Download WordPress

Forums

Attachment ID Number in title of the Page (1 post)

  1. narale
    Member
    Posted 2 years ago #

    Hi,

    I would like to print the attachment ID number in the <title> tags of the page.

    <?php echo wp_get_attachment_image( $post->ID, 'large' ); ?>

    Tried using template tags, but they dont work.

    Thanx,
    Narale

Topic Closed

This topic has been closed to new replies.

About this Topic