GlobalChange
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Caption on Featured imageSo I am still trying to figure this out. It’s really important to give people credit for their art even if it’s under CC domain. I would like to ensure that I sight sources on the pics on my site. I tried the above suggestions but to no avail. I posted the code that I have above in a paste bin. Can someone drop the code in. Thanks.
Forum: Fixing WordPress
In reply to: Caption on Featured imageHere is the original Featured.php code on pastebin
And here is the original function.php code on pastebin
can someone tell me whats wrong? or input the code where its supposed to go?
Thank you and much gratitude!!Forum: Fixing WordPress
In reply to: Caption on Featured imageYep I did it an nothing happened. Strange. At least it did not change anything ??
Forum: Fixing WordPress
In reply to: Caption on Featured imagefunction get_post_thumbnail_caption() { if ( $thumb = get_post_thumbnail_id() ) return get_post( $thumb )->post_excerpt;
Then you can just do something along the lines of:
if ( has_post_thumbnail() ) { the_post_thumbnail( 'medium' ); echo wpautop( get_post_thumbnail_caption() ); }
This is what support has provided. Now where do I put this? Below is what I have in my feature.php
————————————————————————————————[excessive code moderated – please use the pastebin for any code longer than 10 lines]
Forum: Fixing WordPress
In reply to: Caption on Featured imageSubmitted at ticket for this. maybe they can add to next version.
Forum: Fixing WordPress
In reply to: Caption on Featured imageUg Ok thanks. Maybe they will update it in a future release! Do you know How I can reach out to the developers?
Forum: Fixing WordPress
In reply to: Caption on Featured imageThanks Jonas,
Yeah these are great. I tried looking through all these before. Not even sure which one makes sense. Or where to look in my own template editor. Is it under Feature.php? I now these are basic questions but that’s why I am here.