You would need to change the output template.
Take the birthday file from your plugin directory :
https://github.com/ThemeBoy/SportsPress/blob/master/templates/birthdays.php
And move it into :
/wp-content/themes/child-theme/sportspress
You’ll need to change the div in the foreach loop.
Thanks for the response. I understand the moving the file part, but what am I changing in the foreach loop?
Sorry – I should not have said move the file, best to copy the file. 🙂
Each birthday will create a div in order to display the data – see here :
View post on imgur.com
So you will need to move the div outside the foreach loop :
<div class="sp-template sp-template-birthdays sp-template-birthday-gallery sp-template-gallery">
Also, if you only want to loop through 2 of the number of posts ($posts), then you will need to iterate for that so you can use a while loop.
Here’s a good exmaple :
https://stackoverflow.com/questions/24650273/get-all-wordpress-posts-and-display-3-posts-in-a-row
A better idea imo would be to let the grid accommodate for the number of birthdays in a single row. But I wouldn’t be surprised if you run into issues bc there are 700 lines of custom CSS to get through first! Lol.