Automated News Post 1

[raw]

// A $( document ).ready() block.
jQuery( document ).ready(function() {

jQuery.getJSON(“https://agsci.source.colostate.edu/wp-json/wp/v2/posts?filter%5bcategory_name%5d=headlines”, function(json) {
var imgList = ‘‘;
var jsonLink = ‘‘;
jQuery(‘#content’).html(imgList + “
” + json[0].title.rendered + “


“);
var wrapContent = jQuery(‘#wrap’).html();
jQuery(‘#wrap’).html(jsonLink + wrapContent + ‘
‘);

jQuery(‘#slider’).html(json[0].excerpt.rendered);
});
});

a:hover {
text-decoration: none !important;
}

#wrap {
padding: 10px;
}

[/raw]

Contact CSU Equal Opportunity Privacy Statement Disclaimer

2018 Colorado State Universtiy, Fort Collins, Colorado 80523 USA