tbbooher / cffc2

crossfitFallschurch repository 2
MIT License
0 stars 0 forks source link

WOD functionality #33

Closed tbbooher closed 8 years ago

tbbooher commented 8 years ago

When I add a featured image for a wod, it doesn't show up on the home page. There should also be a link to all WODs under the daily WOD.

Ok -- to make this more clear, I made a video. This photo should change when I change the featured image. You can see this here: https://www.youtube.com/watch?v=i_9ASomEEqI

Also, the daily title is too plain and there should be a link at the bottom of this section to all posts, which should be listed on a page titled "WODs" (a wod is a workout of the day).

The code here should be loading the featured image:

https://github.com/tbbooher/cffc2/blob/master/front-page.php#L24

I don't know why it is not. It works here:

https://github.com/tbbooher/new_cfa/blob/master/page-home.php#L32

The first troubleshooting I would do would be to check the output of the id and see why the correct post image isn't coming up.

tbbooher commented 8 years ago

first error: get_the_id() provides 10901 not 10845 which is the latest post

tbbooher commented 8 years ago

got it working.