Changeset 1272709
- Timestamp:
- 10/25/2015 01:37:25 PM (10 years ago)
- Location:
- aparg-slider
- Files:
-
- 2 edited
-
tags/2.0/functions.php (modified) (2 diffs)
-
trunk/functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
aparg-slider/tags/2.0/functions.php
r1271755 r1272709 646 646 //add_post_meta( '_thumbnail_id', $id, true); 647 647 } 648 echo wp_get_attachment_image_src($id, 'full')[0]; 648 $img = wp_get_attachment_image_src($id, 'full'); 649 echo $img[0]; 649 650 650 651 exit(); … … 671 672 672 673 //add_post_meta( '_thumbnail_id', $id, true); 673 echo wp_get_attachment_image_src($id, 'full')[0]; 674 $img = wp_get_attachment_image_src($id, 'full'); 675 echo $img[0]; 674 676 } 675 677 -
aparg-slider/trunk/functions.php
r1271755 r1272709 646 646 //add_post_meta( '_thumbnail_id', $id, true); 647 647 } 648 echo wp_get_attachment_image_src($id, 'full')[0]; 648 $img = wp_get_attachment_image_src($id, 'full'); 649 echo $img[0]; 649 650 650 651 exit(); … … 671 672 672 673 //add_post_meta( '_thumbnail_id', $id, true); 673 echo wp_get_attachment_image_src($id, 'full')[0]; 674 $img = wp_get_attachment_image_src($id, 'full'); 675 echo $img[0]; 674 676 } 675 677
Note: See TracChangeset
for help on using the changeset viewer.