Bug #5175
closedshort code no longer working
0%
Description
This is concerning the ESA website: http://gcenglish.commons.gc.cuny.edu/
The ESA website runs a child-theme with several custom taxonomies. Two of the custom taxonomies are Student Profiles and Alumni Profiles. Until now, we used a version of the code for the Display Posts plugin, pasted directly into the functions.php file in the child theme, to create alphabetized lists of these profiles. This short code no longer seems to work.
The code came from this plugin: https://wordpress.org/plugins/display-posts-shortcode/
Since it was pasted directly into the functions.php file, it should not be because of a change in the plugin on the Commons side. Perhaps something is preventing this from working? I know it's not the best to paste like that and this will likely teach me not to do that in the future. So if we can't figure out what's wrong, maybe just adding that plugin will do it. It's been updated significantly since the child theme was created.
The short code is not working on these pages:
http://gcenglish.commons.gc.cuny.edu/profiles/student-profiles/
http://gcenglish.commons.gc.cuny.edu/profiles/alumni-profiles/
I know the profiles are still live, however, as links to them work:
http://gcenglish.commons.gc.cuny.edu/profile/hebert-paul/