[Resolved] Add link to the whole block rather than just the title?
Just wondering if there’s a way to move the link from the title to before the containing div in the ‘before’ element so that the whole div is wrapped in the a rather than just the title.
<?php next_post_link_plus( array( 'format' => '<span class="sectionlabel">Next Post</span> %link <span class="date">%date</span><i class="icon-angle-right"></i>', 'date_format' => '', 'tooltip' => '', 'in_same_cat' => true, 'before' => '<div class="pagination nextpost">', 'after' => '</div>', 'num_results' => 1, 'return' => '' ) ); ?>
See http://richmoran.wpengine.com/in-the-workplace-a-special-day-at-the-office/ for the output.
Many thanks for this very cool plugin.
- The topic ‘[Resolved] Add link to the whole block rather than just the title?’ is closed to new replies.