Secondary title on Previous/next post navigation
-
This plugin it’s one of the most useful things I’ve found on WordPress and it works perfectly right on my theme.
But (there’s always one but, isn’t it?), I’d like to use it on the previous/next buttons. Right now It appears in this format:
“Previous/Next Post
Post Title”And I’d like it to appear as:
“Previous/Next Post
Post Title
Seconday Title”Is there anyway to add the seconday title there?
Currently the code for that button is the following one:
// Previous/next post navigation. the_post_navigation( array( 'next_text' => '<span class="meta-nav" aria-hidden="true">' . __( 'Next', 'afterlight' ) . '</span> ' . '<span class="screen-reader-text">' . __( 'Next post:', 'afterlight' ) . '</span> ' . '<span class="post-title">%title</span>', 'prev_text' => '<span class="meta-nav" aria-hidden="true">' . __( 'Previous', 'afterlight' ) . '</span> ' . '<span class="screen-reader-text">' . __( 'Previous post:', 'afterlight' ) . '</span> ' . '<span class="post-title">%title</span>', ) );
Many thanks!!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Secondary title on Previous/next post navigation’ is closed to new replies.