Pages:' (string). The html or text to prepend to * each bookmarks. * 'after' - Default is '
' . __( 'Pages:' ), 'after' => '
> element before content. * * @since 2.0.0 * @uses apply_filters() Calls 'prepend_attachment' hook on HTML content. * * @param string $content * @return string */ function prepend_attachment($content) { $post = get_post(); if ( empty($post->post_type) || $post->post_type != 'attachment' ) return $content; $p = '
'; // show the medium sized image representation of the attachment if available, and link to the raw file $p .= wp_get_attachment_link(0, 'medium', false); $p .= '
' . __("This post is password protected. To view it please enter your password below:") . '
' . __("Password:") . '
" . __( 'JavaScript must be enabled to use this feature.' ) . "