Viewing 11 replies - 1 through 11 (of 11 total)
  • Your function is creating a parse error, meaning that either the code was copied wrong, or you are asking it to do something that is resulting in an error. If you copied the code in the example video precisely (i would check it letter-by-letter five times before saying “yes”), then check to see if there are any spaces or extra lines at the end of your functions.php file. Those matter.

    If you could copy the function that you created out of your functions.php file, that would also greatly help us to diagnose what is wrong with the code. If you just want your site back to working properly, then delete ONLY what you typed into the functions.php file.

    When you save, everything should be back to normal. There are plugins that can give you similar functionality, though I can’t recommend any off the top of my head.

    Thread Starter eidiol ghigliotty

    (@eidiol-ghigliotty)

    Thanks, This is what I wrote: (but with my google add code)

    funtionmyAdSenceCodeFunction(){
    Return’My cadSence Code’;
    }

    this was inserted in the Themes function

    How can I access my dashboard to delete it.
    Thanks for the moral support!!

    WordPress admin -> Appearence-> Edit -> theme functions (functions.php)

    Be very carrful if you modify functions.php, in fact, copy/paste the whole functions.php file into a word document and sabe it–in case you delete the wrong thing and break the site.

    Thread Starter eidiol ghigliotty

    (@eidiol-ghigliotty)

    Is not possible for me to access the page,if I go to tropicalandparadise.com/admin it direct me to forbidden page.
    Do you think is possible to solve this?

    Can I ask you to help me make this work?
    I apologize taking from your time, but i have nobody to help me. I am trying to develop business as an affiliate marketer but is very difficult and now all the work I’ve done is lost. Do you know somebody that help people make a living out of this and is available to help others?

    sorry to much asking
    But what I have to loose? right?

    thanks

    Eidiol

    Ok, the issue is in the functions file of your theme. Did you make any custom modifications to it?

    1). I would access the file via FTP, and download the folder found at wp-content/themes/eStore. This is an important step if you have modified the theme in any way. If you go through the rest of the process without doing this first, you will lose any customization you made.

    2). I’d then delete that folder off the server, and upload the theme file again to the same directory.

    3). After that, I would try to get into my wordpress admin panel at https://www.tropicalandparadise.com/wp-admin/.

    4). Once in, I would suggest going to the Appearence->Themes, and reactivate the Estore theme. That should bring your website back up again. If you made any modifications to the theme, then they’d be saved in the folder that you downloaded. I would be cautious about re-implementing any if they exist, since it’s possible that your changes are what broke your website.

    Note, if you want us to take a crack at fixing the function itself, then please paste the whole function in your response, highlight it, and hit the “code” button that you see above this text area box.

    Thread Starter eidiol ghigliotty

    (@eidiol-ghigliotty)

    Can you help me with this, I am worried to damage anything.
    I can give you access permission.

    i am very sorry about having to ask for this, but I know nobody for this.
    My domain is : https://www.tropicalandparadise.com
    [Credentials redacted]

    I am gladly paying for the service
    This is the code:

    `funtionmyAdSenceCodeFunction(){
    Return’My cadSence Code’;
    }

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Please change your credentials immediately, this is a public forum that can be viewed by anyone including search engines!

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    As payment has been discussed I’m going to have to close this thread. I would encourage you to open a new thread to continue the discussion (without payment references), but it doesn’t look like you can continue and need someone else to do the work for you. In this case I recommend you looking for support from WP Jobs instead: https://jobs.wordpress.net .

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Lost my site trying to add adSense’ is closed to new replies.