What would be the best way to get the alt title out of an featured image from a post?
<img src="/some path" alt=" // Not sure how to" >
is there any shortcut through sage? What would be the best way? Lets assumoe you are in content-single.blade.php
There’s nothing special in Sage to do this; it’s just core WordPress stuff.
A quick Google search returns this StackExchange answer, which should work: https://wordpress.stackexchange.com/a/330599/120925
This topic was automatically closed after 42 days. New replies are no longer allowed.