Support » Plugin: WP Glossary » Request for backlink from /glossary/single_word/

Viewing 1 replies (of 1 total)
  • Plugin Author TCBarrett


    Hi jchris

    Not sure how to do this nicely as an option/setting in the plugin.

    You can achieve it yourself either by writing your own single-glossary.php template file, or with a filter.

    add_filter( 'the_content', 'tcb_wpg_backlink' );
    function tcb_wpg_backlink( $content ){
      global $post;
      if( is_single() && $post->post_type == 'glossary' ):
        $content .= '<br><a href="javascript:javascript:history.go(-1)">¬ęBack</a>';
      return $content;
Viewing 1 replies (of 1 total)
  • The topic ‘Request for backlink from /glossary/single_word/’ is closed to new replies.