How can we help?

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

Home Forums PokaTheme support Template page: Reviews archive

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
  • #18389
    Peter Verhoeven


    After the update to the newest version, some changes on individual pages (template) are lost. My fault.
    Where can I find the page: Reviews archive ? –> To edit the H1, and add some text before the archive affiliates will be shown.

    Kind Regards,


    Hi Peter,

    First, if you refer to code changes that you did, I suggest not to overwrite the parent theme files, only do code changes in the child theme.

    About the Reviews archive page, this isn’t a specific page, it’s a template, so if you want to make changes to it you should copy archive-affiliates.php to your child theme and make changes there.

    The “Reviews archive” string is translatable, we have a guide for creating/changing translation strings here:

    Peter Verhoeven

    Thank you very much, I found it and backed up the tekst (from Google Cache).
    One last question about this:

    * The arhive template of ‘affiliates’ CPT.
    * This is the template that displays all pages by default.
    * Please note that this is the WordPress construct of pages
    * and that other ‘pages’ on your WordPress site may use a
    * different template.
    * @link
    * @package PokaTheme
    * @since 1.0.0



    What is de best solution to complete overwrite the <head><title>name Re</title> without errors?
    I Think a lot of affiliates should do this.


    Hi again Peter,

    You want to change the <title> element?

    Maybe you could go with a SEO plugin like Yoast, I’m pretty sure if you install it it lets you change the title that shows up there.

    • This reply was modified 5 months, 2 weeks ago by admin.
    Peter Verhoeven

    Hi again,

    I use Yoast indeed for this website.
    There are no categories for the reviews, so there is no page to edit. That’s the reason why I overwrote the archive-affiliates.php page.

    All the reviews are without any category. Because that’s the best hierarchy for me.

    You can find see here:

    Thanks 😉


    You can add this code either in your child theme’s functions.php or if you use a plugin like Code Snippets. Replace “Your Custom Title Here” with your desired title.

    // Function to modify the title for the 'affiliates' post type archive
    function custom_affiliates_archive_title($title) {
        // Check if it's the 'affiliates' post type archive
        if (is_post_type_archive('affiliates')) {
            $title = 'Your Custom Title Here'; // Replace 'Your Custom Title Here' with your desired title
        return $title;
    add_filter('pre_get_document_title', 'custom_affiliates_archive_title', 9999);
    • This reply was modified 5 months, 1 week ago by admin. Reason: Mention child theme
    Peter Verhoeven

    Yes, this is great!
    Updatet in custom code, it works fine.

    I appreciate it very much.
    Thanks a lot.


    Hi Peter!

    We’re here for you anytime! Feel free to reach out whenever you need assistance.

    Peter Verhoeven


    I’m happy with my template, and still see new options.
    But for now I would like to change 3 headers (text in template):
    –> overview
    –> author
    –> Related reviews

    This because I have a Dutch site, and don’t like the English language here.

    Could you tell me which page(s) in the ftp folder I should change?

    Kind regards,


    You can change any of the strings of the theme with the translation files of the theme.

    We have a guide for creating/changing translation files here:

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