Bug #5175


short code no longer working

Added by Paul Hebert about 8 years ago. Updated about 8 years ago.

Priority name:
Category name:
WordPress (misc)
Target version:
Start date:
Due date:
% Done:


Estimated time:
Deployment actions:


This is concerning the ESA website:

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:

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:

I know the profiles are still live, however, as links to them work:

Actions #1

Updated by Matt Gold about 8 years ago

  • Status changed from New to Assigned
  • Assignee set to Boone Gorges
Actions #2

Updated by Boone Gorges about 8 years ago

  • Category name set to WordPress (misc)
  • Status changed from Assigned to Resolved
  • Target version set to Not tracked

Hi Paul -

Thanks for the detailed report.

After some debugging, it looks like the problem was that you'd entered two spaces after the shortcode name in the editor: [display-post attributes] instead of [display-post attributes]. And it looks like some change in WordPress 4.4 caused this additional character not to be recognized properly. It looks like this is a reported bug in WP 4.4: I'm going to poke around to see if I can help fix the bug in WordPress, but in the meantime I've fixed your problem by removing the extra space character in on the student-profiles and alumni-profiles pages.

Actions #3

Updated by Paul Hebert about 8 years ago



Also available in: Atom PDF