{"id":75747,"date":"2020-01-02T05:00:08","date_gmt":"2020-01-02T10:00:08","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=75747"},"modified":"2020-01-03T07:14:22","modified_gmt":"2020-01-03T12:14:22","slug":"wordpress-get-image-attachment-id-use-shortcode","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/wordpress-get-image-attachment-id-use-shortcode.html","title":{"rendered":"WordPress. How to get the image (attachment) ID to use it in the shortcode"},"content":{"rendered":"<p>This video tutorial shows how to <strong> get the image (attachment) ID<\/strong> to use it in the shortcode for WordPress templates.  <\/p>\r\n\r\n <div class=\"video-container\">\r\n\t<iframe src=\"https:\/\/www.youtube.com\/embed\/eCBYi14Rkx8\"><\/iframe>\r\n<\/div>\r\n<div class=\"inline-banner\">\r\n<a href=\"https:\/\/www.templatemonster.com\/service-center\/\">\r\n<img src=\"\/help\/files\/banners\/inline\/Banner-3-(835-x100).jpg\" \/>\r\n<\/a>\r\n<\/div>\r\n<ol>\r\n\t<li>\r\n\t<p>Log into WordPress admin panel, navigate to <strong>Media<\/strong> click on <strong>Library<\/strong>.<\/p>\r\n\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2016\/09\/WordPress_how_to_get_the_image_ID_to_use_in_the_shortcode-1.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/09\/WordPress_how_to_get_the_image_ID_to_use_in_the_shortcode-1-300x168.png\" alt=\"WordPress_how_to_get_the_image_ID_to_use_in_the_shortcode-1\" width=\"300\" height=\"168\" class=\"alignnone size-medium wp-image-75749\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/WordPress_how_to_get_the_image_ID_to_use_in_the_shortcode-1-300x168.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/WordPress_how_to_get_the_image_ID_to_use_in_the_shortcode-1-150x84.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/WordPress_how_to_get_the_image_ID_to_use_in_the_shortcode-1-768x430.png 768w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/WordPress_how_to_get_the_image_ID_to_use_in_the_shortcode-1-1024x573.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/WordPress_how_to_get_the_image_ID_to_use_in_the_shortcode-1.png 1269w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\t \r\n\t<\/li> \r\n\t\r\n\t<li>\r\n\t<p>Switch from <strong>Grid View<\/strong> to <strong>List View<\/strong>, then mouse over the image, you will see an <strong>image ID<\/strong> in the bottom.<\/p>\r\n\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2016\/09\/WordPress_how_to_get_the_image_ID_to_use_in_the_shortcode-2.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/09\/WordPress_how_to_get_the_image_ID_to_use_in_the_shortcode-2-300x170.png\" alt=\"WordPress_how_to_get_the_image_ID_to_use_in_the_shortcode-2\" width=\"300\" height=\"170\" class=\"alignnone size-medium wp-image-75750\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/WordPress_how_to_get_the_image_ID_to_use_in_the_shortcode-2-300x170.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/WordPress_how_to_get_the_image_ID_to_use_in_the_shortcode-2-150x85.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/WordPress_how_to_get_the_image_ID_to_use_in_the_shortcode-2-768x435.png 768w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/WordPress_how_to_get_the_image_ID_to_use_in_the_shortcode-2-1024x580.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/WordPress_how_to_get_the_image_ID_to_use_in_the_shortcode-2.png 1274w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\t\r\n\t<\/li>\r\n\t<h3>Alternative method<\/h3>\r\n\t <li>\r\n\t <p>Open the image, and copy this image ID from the URL in your browser address bar. <\/p> \r\n\t \r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2016\/09\/WordPress_how_to_get_the_image_ID_to_use_in_the_shortcode-3.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/09\/WordPress_how_to_get_the_image_ID_to_use_in_the_shortcode-3-300x222.png\" alt=\"WordPress_how_to_get_the_image_ID_to_use_in_the_shortcode-3\" width=\"300\" height=\"222\" class=\"alignnone size-medium wp-image-75748\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/WordPress_how_to_get_the_image_ID_to_use_in_the_shortcode-3-300x222.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/WordPress_how_to_get_the_image_ID_to_use_in_the_shortcode-3-150x111.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/WordPress_how_to_get_the_image_ID_to_use_in_the_shortcode-3-768x569.png 768w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/WordPress_how_to_get_the_image_ID_to_use_in_the_shortcode-3.png 963w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\t\r\n     <\/li>\r\n<\/ol>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=eCBYi14Rkx8?width=1280&amp;height=720\" rel=\"prettyPhoto\">WordPress. How to get the image (attachment) ID to use it in the shortcode<\/a><\/p>\r\n<p>Although getting the image ID to use it in the shortcode is a piece of cake, some WordPress users don\u2019t have enough time to customize the site. In this case, maintenance services usually come in handy. Among all the services available on the Internet, WordPress maintenance support is worth highlighting. The team of professionals will save you the hassle of launching the site, keeping it updated, and customizing, as well as ensuring its competitiveness and security.<\/p>\r\n\r\n<p>If it sounds right for you, then it makes sense to consider <a href=\"https:\/\/www.templatemonster.com\/website-maintenance-services\/\">WordPress Website Maintenance &amp; Support<\/a> from TemplateMonster in detail. Let\u2019s further consider its features, pricing plan, and value it may bring.<\/p>\r\n\r\n<p>First thing first, so let\u2019s start with defining the object of this post. This is a WordPress ultimate maintenance service that ensures professional support and site management solutions. They are all necessary for keeping the web project up to date, optimizing performance, and improve usability. The solution is great for every website owner who plans to build WordPress or WooCommerce project, or already runs one and needs to keep it regularly updated.<\/p>\r\n\r\n<p>If you spend a fortune to keep the website relevant and improve SEO, but nothing works as you would like it to, it\u2019s high time to entrust professionals into your <a href=\"https:\/\/www.templatemonster.com\/blog\/manage-website-maintenance-services\/\">site maintenance<\/a>. But before proceeding to subscription, let\u2019s get to a comparison chart of the Essential and Premium pricing plan.<\/p>\r\n\r\n&nbsp;\r\n<table>\r\n<tbody>\r\n<tr>\r\n<td>Features<\/td>\r\n<td>Essential\r\n\r\n$39 \/ mo or $389 \/ year<\/td>\r\n<td>Premium\r\n\r\n$69 \/ mo or $689 \/ year<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Performance Check &amp; Optimization<\/td>\r\n<td>+<\/td>\r\n<td>+<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Monthly Speed Optimization<\/td>\r\n<td>&#8211;<\/td>\r\n<td>+<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>SEO Consultancy and Basic Setup<\/td>\r\n<td>&#8211;<\/td>\r\n<td>+<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Security Protection<\/td>\r\n<td>&#8211;<\/td>\r\n<td>+<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>24\/7 Uptime Monitoring<\/td>\r\n<td>+<\/td>\r\n<td>+<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Daily Backups<\/td>\r\n<td>+<\/td>\r\n<td>+<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Proactive WordPress Engine &amp; Plugin Updates<\/td>\r\n<td>+<\/td>\r\n<td>+<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Emergency Care<\/td>\r\n<td>+<\/td>\r\n<td>+<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Developer&#8217;s Hours<\/td>\r\n<td>&#8211;<\/td>\r\n<td>3 hours<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>WooCommerce Support<\/td>\r\n<td>&#8211;<\/td>\r\n<td>+<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Discount for Customization Services<\/td>\r\n<td>10%<\/td>\r\n<td>20%<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>24\/7 Live Chat &amp; Ticket Support<\/td>\r\n<td>+<\/td>\r\n<td>+<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>All-important Plugins Bundle<\/td>\r\n<td>&#8211;<\/td>\r\n<td>+<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Weekly Debugging<\/td>\r\n<td>+<\/td>\r\n<td>+<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Monthly Activity Reports<\/td>\r\n<td>+<\/td>\r\n<td>+<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Hosting with InMotion<\/td>\r\n<td>+<\/td>\r\n<td>+<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Theme Installation<\/td>\r\n<td>&#8211;<\/td>\r\n<td>+<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Database Optimization<\/td>\r\n<td>+<\/td>\r\n<td>+<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Site Improvement Suggestions<\/td>\r\n<td>+<\/td>\r\n<td>+<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Google Analytics Integration<\/td>\r\n<td>&#8211;<\/td>\r\n<td>+<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Phone \/ Remote Technical Support<\/td>\r\n<td>&#8211;<\/td>\r\n<td>+<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Site Transfer<\/td>\r\n<td>&#8211;<\/td>\r\n<td>+<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n\r\n<p>Please note, if you decide on an annual subscription, you\u2019ll be provided with 2-month free maintenance services.<\/p>\r\n\r\n<p>After picking the best-fitting package, you will be contacted by our support line for more information about your site. Among other data, you will be asked to provide admin access, as well as specify your needs and business preferences. The details are necessary for us to ensure proper maintenance and support of your web resource. Once we have all the important information, we\u2019ll be able to start handling site support and customization and keep track of it to make certain the site is secure and properly performs.<\/p>\r\n\r\nBesides our extensive experience in website development and management, you can count on, there are more advantages of subscription service to provide you with. Here\u2019s a short list of them:\r\n<ul>\r\n \t<li>Increase in conversion rate, usability, and SEO.<\/li>\r\n \t<li>Accelerated site performance.<\/li>\r\n \t<li>Guaranteed website protection.<\/li>\r\n \t<li>24\/7 monitoring of operating time.<\/li>\r\n \t<li>Daily and weekly backups for data protection and more.<\/li>\r\n<\/ul>\r\n<p>The other good thing about the service is that you can always cancel the subscription and request a refund within 14 days in case you feel it is not for you.<\/p>","protected":false},"excerpt":{"rendered":"<p>This video tutorial shows how to <strong> get the image (attachment) ID to use it in the shortcode for WordPress templates. <\/strong> <\/p>\n","protected":false},"author":73,"featured_media":75751,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[728],"tags":[1786,537,803,1415],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/75747"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/73"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=75747"}],"version-history":[{"count":4,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/75747\/revisions"}],"predecessor-version":[{"id":85538,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/75747\/revisions\/85538"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/75751"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=75747"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=75747"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=75747"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}