Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Display Transcripts? #336

Closed
DerekPadula opened this issue Jun 14, 2019 · 1 comment
Closed

How to Display Transcripts? #336

DerekPadula opened this issue Jun 14, 2019 · 1 comment

Comments

@DerekPadula
Copy link

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:

            <hr class="divider_bar" />

            <div class="webcomic-transcript">
	            <?php has_webcomic_transcripts(); ?>
            </div>
            
        </div>

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 , 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?

  • Webcomic Version 5.0.6
  • WordPress: Latest version.
  • PHP. Not sure, but everything else about webcomic works.
@DerekPadula
Copy link
Author

Screenshots of the transcription process and setup.

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

@mgsisk mgsisk closed this as completed Jan 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants