Show More Links
Parks & Destinations
What's New
Special Offers
'; var contentMobile = '
'; var media = ['https://cdn1.parksmedia.wdprapps.disney.com/media/disneyparks_v0100/media/blog-magic-memories/BLOG_Learn_and_Create_SITE_GRPHC_v4_jm.jpg','https://cdn1.parksmedia.wdprapps.disney.com/media/disneyparks_v0100/media/blog-magic-memories/BLOG_Fun_and_Play_SITE_GRPHC_v4_jm.jpg','https://cdn1.parksmedia.wdprapps.disney.com/media/disneyparks_v0100/media/blog-magic-memories/BLOG_Care_and_Community_SITE_GRPHC_v4_jm.jpg']; var title = ['Learn
&
Create','Fun
&
Play','Care
&
Community']; var links = ['https://disneyparks.disney.go.com/blog/topics/magic-moments-learn-and-create/','https://disneyparks.disney.go.com/blog/topics/magic-moments-fun-and-play/','https://disneyparks.disney.go.com/blog/topics/magic-moments-care-and-community/']; var $parent = jQuery('.magazine-article-listing.header-topic-list .container .row > div'); var $parentMobile = jQuery('.topic-filter-wrap .topic-filter-header'); var count = 0; var copyMobile = '
'; $parent.each(function(){ var copy = content.replace('{{link}}', links[count]); copy = copy.replace('{{media}}', media[count]); var tmpMobile = contentMobile.replace('{{link}}', links[count]); tmpMobile = tmpMobile.replace('{{title}}', title[count]); copyMobile += tmpMobile; jQuery(this).append(copy); count++; }); jQuery($parentMobile.append(copyMobile+'
')); }