remove unneeded hovertext functions, now comes from attachment
This commit is contained in:
parent
f12185395b
commit
b8d2f8e5ec
@ -99,19 +99,6 @@ function comicpress_list_storyline_categories($args = "") {
|
|||||||
echo $output;
|
echo $output;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Display text when image (comic) is hovered
|
|
||||||
* Text is taken from a custom field named "hovertext"
|
|
||||||
*/
|
|
||||||
function the_hovertext() {
|
|
||||||
echo get_the_hovertext();
|
|
||||||
}
|
|
||||||
|
|
||||||
function get_the_hovertext() {
|
|
||||||
$hovertext = get_post_meta(get_the_ID(), "hovertext", true );
|
|
||||||
return (empty($hovertext)) ? get_the_title() : $hovertext;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Display the comic transcript
|
* Display the comic transcript
|
||||||
* Transcript must be entered into a custom field named "transcript"
|
* Transcript must be entered into a custom field named "transcript"
|
||||||
|
Loading…
Reference in New Issue
Block a user