Support » Plugin: Ambrosite Next/Previous Post Link Plus » Add link to the whole block rather than just the title?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author ambrosite

    (@ambrosite)

    You could try putting the before and after code inside the link parameter, like this:

    <?php next_post_link_plus( array(
      'link' => '<div class="pagination nextpost"><span class="sectionlabel">Next Post</span> %title <span class="date">%date</span><i class="icon-angle-right"></i></div>',
      'format' => '%link',
      'date_format' => '',
      'tooltip' => '',
      'in_same_cat' => true,
      'num_results' => 1,
      'return' => ''
     ) ); ?>

    Not tested but I think it should work. If it doesn’t, the only other solution would involve hacking the plugin code.

    You, sir, are a gentleman and a scholar! Worked perfectly.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add link to the whole block rather than just the title?’ is closed to new replies.