How can we help?

If you are looking for support for our PokaTheme, this is the place!

Home Forums Child Themes support Can't seem to find review page. It doesn't exist anywhere.

Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #5629
    Man Sh
    Participant

    Can't find the review page

    On this page called Review Archive all the reviews come out randomly and I cannot find it to edit it because it simply doesn’t exist as a page under “Pages” or “Posts”.

    Please advise.

    I tried creating the same page with the same slug in order to override it, however it didn’t work out.

    #5631
    admin
    Keymaster

    Hi!

    I believe you are using CasinoAce with Poka Review Plugin.
    In Theme Options in the tab “Poka Review Integration” you’ll find an option called “Enable review archive templates”. If you disable it you’ll no longer have archives for the reviews.

    #5633
    Man Sh
    Participant

    Hey, no
    I’m using Forex Options theme
    Can’t seem to find the same settings you’re implying to.

    • This reply was modified 4 years, 7 months ago by Man Sh.
    #5668
    Man Sh
    Participant

    Bump. The case is still pending
    Please help,
    Kind Regards

    #5680
    admin
    Keymaster

    Hi Man,

    In ForexOptions there is no such option in Theme options.
    The only way to change this is to add this snippet to your child theme functions.php:

    add_filter( 'register_post_type_args', 'change_slug_affiliates_cpt', 10, 2 );
    function change_slug_affiliates_cpt( $args, $post_type ) {
    
        if ( $post_type == 'affiliates') {
            $args['has_archive'] = false;
        }
    
        return $args;
    }
    #5687
    Man Sh
    Participant

    Hey, Keymaster

    Added it and unofrtunately nothing happened 🙁

    The reviews under website.com/review aren’t sorted in any way and the buttons such as “Review” and “Apply now!” appear as they were in the demo version, before me changing them, which is the reason I would like to change that page or simply drop it

    • This reply was modified 4 years, 7 months ago by Man Sh.
    #5722
    admin
    Keymaster

    Hi!

    With the above snippet you remove the archive completely from the reviews. After adding the snippet to functions.php try refreshing your site permalinks.
    After that the website.com/review should redirect to homepage and you’ll be able to create a custom page with this URL.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.