Two problems with Zara Theme

Discussion in 'Zara Blog WordPress Theme' started by zaludo, Jul 12, 2015.

  1. zaludo

    zaludo New Member

    Joined:
    Jul 7, 2015
    Messages:
    1
    Likes Received:
    0
    Dear Support,

    I love the theme but i have two problems:

    - I changed something in "popular_post_widget.php" file, uploaded it and now i got the following text on the website: ' Parse error: syntax error, unexpected 'add_action' (T_STRING) in /home/stylist/public_html/wp-content/themes/zara/includes/widgets/popular_post_widget.php on line 1'

    I have tried everything, uploaded a backup etc. But i am getting the same error. Can you please help me with this?

    - Next: if above problem is solved everything works great only the navigation in mobile menu is not visible on mobile devices.

    Please help me out with this.

    Thanks.
    Z.
     
  2. Sobhagya

    Sobhagya Guest

    Joined:
    May 29, 2015
    Messages:
    414
    Likes Received:
    6
    Hello,

    Greetings from InkThemes,

    There is no issue in the theme.
    Actually, sometimes when you upload theme folder in the server, the server makes the code of some php files in one line which causes the syntax error.

    You can check it at your end.

    Now, what you have to do is to just extract the theme folder in your desktop and open the syntax error creating PHP file in notepad or other editor and copy the code of that file and paste it in the same PHP file of theme folder uploaded in server with the same style of coding.

    Do it for all php file creating syntax error.

    It will resolve your issue :)
     

Share This Page