diff --git a/class-post-public.php b/class-post-public.php
index a22b559..c349db4 100644
--- a/class-post-public.php
+++ b/class-post-public.php
@@ -111,6 +111,7 @@ class Babble_Post_Public extends Babble_Plugin {
 		$this->add_filter( 'post_link', 'post_type_link', null, 3 );
 		$this->add_filter( 'post_type_archive_link', null, null, 2 );
 		$this->add_filter( 'post_type_link', null, null, 3 );
+		$this->add_filter( 'get_sample_permalink', null, null, 5 );
 		$this->add_filter( 'single_template' );
 		$this->add_filter( 'the_posts', null, null, 2 );
 		
@@ -773,6 +774,11 @@ class Babble_Post_Public extends Babble_Plugin {
 		return user_trailingslashit( $post_link );
 	}
 
+	function get_sample_permalink( $permalink, $title, $name, $id, $post ) {
+		$permalink[ 0 ] = $this->post_type_link( $permalink[ 0 ], $post, $leavename );
+		return $permalink;
+	}
+	
 	/**
 	 * Hooks the WP page_link filter to ensure correct virtual language directory prefix, etc.
 	 *
