customize-header.js 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. window.wp = window.wp || {};
  2. window.wp.customize = window.wp.customize || { get: function(){} };
  3. window._wpCustomizeHeader = {};
  4. window._wpCustomizeHeader.uploads = {
  5. 'cropped-abstract_00601126.jpg': {
  6. 'attachment_id': 1,
  7. 'url': 'http://dev.local/2013/11/cropped-abstract_00601126.jpg',
  8. 'thumbnail_url': 'http://dev.local/2013/11/cropped-abstract_00601126.jpg',
  9. 'width': 1600,
  10. 'height': 230,
  11. 'timestamp': 1385045565
  12. },
  13. 'cropped-cropped-miniature-golden-retriever-puppies-for-sale01127.jpg': {
  14. 'attachment_id': 2,
  15. 'url': 'http://dev.local/2013/11/cropped-cropped-miniature-golden-retriever-puppies-for-sale01127.jpg',
  16. 'thumbnail_url': 'http://dev.local/2013/11/cropped-cropped-miniature-golden-retriever-puppies-for-sale01127.jpg',
  17. 'width': 1600,
  18. 'height': 230,
  19. 'timestamp': 1385045566
  20. },
  21. 'cropped-tumblr_m20paq9cjn1qbkdcro1_5003.png': {
  22. 'attachment_id': 3,
  23. 'url': 'http://dev.local/2013/11/cropped-tumblr_m20paq9cjn1qbkdcro1_5003.png',
  24. 'thumbnail_url': 'http://dev.local/2013/11/cropped-tumblr_m20paq9cjn1qbkdcro1_5003.png',
  25. 'width': 1600,
  26. 'height': 230,
  27. 'timestamp': 1385045567
  28. }
  29. };
  30. window._wpCustomizeHeader.defaults = {
  31. 'circle': {
  32. 'url': 'https://dev.local/wp-content/themes/pub/twentythirteen/images/headers/circle.png',
  33. 'thumbnail_url': 'https://dev.local/wp-content/themes/pub/twentythirteen/images/headers/circle-thumbnail.png',
  34. 'description': 'Circle'
  35. },
  36. 'diamond': {
  37. 'url': 'https://dev.local/wp-content/themes/pub/twentythirteen/images/headers/diamond.png',
  38. 'thumbnail_url': 'https://dev.local/wp-content/themes/pub/twentythirteen/images/headers/diamond-thumbnail.png',
  39. 'description': 'Diamond'
  40. },
  41. 'star': {
  42. 'url': 'https://dev.local/wp-content/themes/pub/twentythirteen/images/headers/star.png',
  43. 'thumbnail_url': 'https://dev.local/wp-content/themes/pub/twentythirteen/images/headers/star-thumbnail.png',
  44. 'description': 'Star'
  45. }
  46. };