I want to check if excerpt is not empty, then echo the excerpt link, if not the echo permalink, like this:
if(the_excerpt()!='') echo the_excerpt(); else echo get_permalink()
but how can I check if the excerpt field is empty without using the content when empty?
Any help will be appreciated.