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

How to Display Transcripts? #336

Closed DerekPadula closed 2 years ago

DerekPadula commented 5 years ago

I'm unable to make a transcript appear on the page. The comic and navigation appear, but not the transcript.

I've spent three days trying to make this work, including taking a course on Lynda.com on plugin development so I can read the source code for this plugin and understand how the transcriptions work. But I still don't get what I'm doing wrong. I'm sure it's my lack of PHP abilities at fault. Can you please help?

Example: https://thedaoofdragonball.com/dbna/dragon-ball-new-age-1-31/

This is the last page of a comic that has 31 pages thus far.

I added a transcript in Spanish via WordPress. I connected the transcript to this specific page and media. And I added the code to my child theme template for the comics.

Here is the code that displays the comic and the navigation, with the transcript code at the bottom:


I've tried every other function in the list of possible functions related to transcriptions, such as get_webcomic_transcripts, and none of them work. I tried <?php get_webcomic_transcripts( array $args = [] ) : array ?>, but it threw an error on the site.

If it matters, the value ID of the transcript is "1" because it's the first one I've done.

Is this a bug, or am I doing something wrong? And if so, what is it?

DerekPadula commented 5 years ago

Screenshots of the transcription process and setup.

Screenshot (524) Screenshot (525) Screenshot (526) Screenshot (527) Screenshot (528)