Show alt text for shortcode in post preview
-
Hi
First: amazing plugin! π
Now, I have one thing that I’d like to do but have not been able to figure out how: I would like to display some alt text for the shortcode when a post is previewed on the front page of my blog. I.e. at the moment only regular content of the post is displayed in the preview/excerpt of a post and the spot for the table that is loaded by the shortcode when the post is opened is left blank. Now, in my case I have a title like “See the results:” that is followed by a table. However, in the preview/excerpt directly after “See the results:” the text of the line below starts, which looks confusing.
Is there a way to add an alt text to the short code that would display in the preview/excerpt? I.e. “See the results: Table is loading”. And when the user opens the page, the actual table is displayed.
Thanks in advance!
Best regards,
Michael
The topic ‘Show alt text for shortcode in post preview’ is closed to new replies.