mgsisk / webcomic

Comic publishing power for the web. Turn your WordPress-powered site into a comic publishing platform with Webcomic.
http://wordpress.org/plugins/webcomic
GNU General Public License v2.0
110 stars 29 forks source link

Shortcode to include a specific character description? #365

Closed sailorptah closed 3 years ago

sailorptah commented 3 years ago

Can I modify [webcomic_character_description] (or anything else) to call the description of a specific character, no matter what page I'm using it on?

For example, the description of this character (tag ID "13"), a 3-sentence line of text that appears at the top of their tagged appearances:

https://leifandthorn.com/character/tiernan/

If I'm making an entry for that character on the generic Cast Page, is there a shortcode I can use to just automatically insert their pre-existing description?

mgsisk commented 3 years ago

[webcomic_character_description] can take a term ID and a collection, like:

[webcomic_character_description term="13" collection="1"]

You may need to specify both for it to work, depending on the page.