If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

Featured templates

WordPress. How to get the image (attachment) ID to use it in the shortcode

This video tutorial shows how to get the image (attachment) ID to use it in the shortcode for WordPress templates.

  1. Log into WordPress admin panel, navigate to Media click on Library.

    WordPress_how_to_get_the_image_ID_to_use_in_the_shortcode-1

  2. Switch from Grid View to List View, then mouse over the image, you will see an image ID in the bottom.

    WordPress_how_to_get_the_image_ID_to_use_in_the_shortcode-2

  3. Alternative method

  4. Open the image, and copy this image ID from the URL in your browser address bar.

    WordPress_how_to_get_the_image_ID_to_use_in_the_shortcode-3

Feel free to check the detailed video tutorial below:

WordPress. How to get the image (attachment) ID to use it in the shortcode