Privy integration with XStore child and PHP

This topic has 3 replies, 3 voices, and was last updated 5 years, 1 months ago ago by Olga Barlow

  • Avatar: OK
    OK
    Participant
    March 15, 2019 at 19:20

    Hello

    I have a question – I’m trying integrate Privy with WordPress as described here:
    https://help.privy.com/hc/en-us/articles/360008055313-Installing-Privy-on-WordPress-org

    I’m using XStore Child theme, and in child theme only have access to style.css and functions.php

    Do I need to edit main theme (add Privy code in header.php) for that ? What is the best practice ?

    Second question my wordpress currently use php 5.6.4, is it ok to update it to php 7 (I’m on wp 5.1, xstore 5.1.3) ?

    2 Answers
    Avatar: Muhammad Zaki
    Muhammad Zaki
    Support staff
    March 16, 2019 at 15:06

    Hello there,

    Thanks for being our customer. I am afraid we cannot guarantee full compatibility of our theme with third party extensions but our developers that will be on Monday available could check this.

    Please, attach your WP-admin and FTP to test. Thanks.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    March 18, 2019 at 11:04

    Hello,

    1) If you need to add the code to header.php file then copy header.php from the parent theme to child theme folder and make all the changes in child theme header.php file. The same situation with other files (not theme functions!) you want to edit. Read more about child themes and how it works https://developer.wordpress.org/themes/advanced-topics/child-themes/

    2) XStore theme supports PHP 7, so I would recommend you to update XStore to 5.1.6.1, update all the included plugins (https://www.8theme.com/downloads) and then feel free to update PHP to 7.x.

    Regards

  • Viewing 3 results - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.