Don’t get_the_permalink()

get_the_permalink() does not exist. Use get_permalink().

Note to self: Debug my own site like I would debug any other site.

I have used that function an uncountable amount of times, but got confused anyway because of having get_the_title() on my brain.

This tip was brought to you by the half hour of my life that I will never get back.

2 thoughts on “Don’t get_the_permalink()”

Leave a Comment