• Resolved mariagrazia16

    (@mariagrazia16)


    HI! Love the plugin, but wanted to create a page with all the reviews like a post page but not sure how to do that without getting the Archive word in the title. How can I add a menu item and have the page list all the reviews on that page without the archive word?? OR do I have to add each review as its own page? THANK YOU!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter mariagrazia16

    (@mariagrazia16)

    I hope I make sense

    Plugin Author Chetan Chauhan

    (@chetanchauhan)

    Hi @mariagrazia16, just place the following code in your theme functions.php file and all of your reviews will be accessible at domain.com/reviewswithout archive word in the title.

    
    add_filter( 'get_the_archive_title', 'your_prefix_review_archive_title' );
    function your_prefix_review_archive_title( $title ) {
    	if ( is_post_type_archive( 'review' ) ) {
    		return post_type_archive_title( '', false );
    	}
    
    	return $title;
    }

    Just let me know if you need any other help with the plugin. Also, I would really appreciate if you could leave your feedback here.

    Thanks
    Chetan

    Thread Starter mariagrazia16

    (@mariagrazia16)

    THANK YOU SOOOO MUCH!!! Love the plugin! It’s awesome! Can’t wait to add more reviews to my new website using it!!

    Tried this but it doesn’t work. It still shows the Archives title.

    • This reply was modified 7 years, 8 months ago by mitkoxvx.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Reviews Post Type Archive Menu’ is closed to new replies.