add comicpress style
This commit is contained in:
parent
83dbaebd0c
commit
d7877a46af
|
@ -1074,7 +1074,7 @@ class WhatDidTheySayAdmin {
|
||||||
* Show the Manage Transcriptions meta box.
|
* Show the Manage Transcriptions meta box.
|
||||||
*/
|
*/
|
||||||
function manage_transcriptions_meta_box() {
|
function manage_transcriptions_meta_box() {
|
||||||
global $post;
|
global $post, $wpdb;
|
||||||
|
|
||||||
$options = get_option('what-did-they-say-options');
|
$options = get_option('what-did-they-say-options');
|
||||||
|
|
||||||
|
|
|
@ -5,8 +5,6 @@
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="wdts-transcript">
|
<?php echo end(apply_filters('the_media_transcript', implode("\n", $sample_transcript), '')) ?>
|
||||||
<?php echo do_shortcode(implode("\n", $sample_transcript)) ?>
|
|
||||||
</div>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
|
@ -182,7 +182,7 @@ function transcripts_display($language_format = null, $show_transcripts_string =
|
||||||
* If you're allowing users to submit transcripts to the post transcript queue, use this tag in your Loop.
|
* If you're allowing users to submit transcripts to the post transcript queue, use this tag in your Loop.
|
||||||
*/
|
*/
|
||||||
function the_media_transcript_queue_editor() {
|
function the_media_transcript_queue_editor() {
|
||||||
global $post;
|
global $post, $wpdb;
|
||||||
|
|
||||||
if (current_user_can('submit_transcriptions')) {
|
if (current_user_can('submit_transcriptions')) {
|
||||||
$queued_transcript_object = new WDTSQueuedTranscript($post->ID);
|
$queued_transcript_object = new WDTSQueuedTranscript($post->ID);
|
||||||
|
|
Loading…
Reference in New Issue