1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

php code editing needed.. for wordpress theme..

Discussion in 'Hire a Freelancer' started by muscleteen, Sep 14, 2010.

  1. muscleteen

    muscleteen Regular Member

    Joined:
    Oct 28, 2008
    Messages:
    397
    Likes Received:
    861
    Here's my initial post:

    Code:
    http://www.blackhatworld.com/blackhat-seo/blackhat-lounge/235703-need-help-elegantthemes-wordpress-theme.html
    Got no reply in the lounge, maybe can get a better response here.. Please PM me with rates or if more details are needed.
     
  2. aftershock2020

    aftershock2020 Senior Member

    Joined:
    Oct 19, 2007
    Messages:
    981
    Likes Received:
    477
    PM'd you. The answer is pretty simple. You have to find the function that contains and calls the zoom crop effect, default it to 0 and eliminate all of the other if statements and such in the function itself.

    No big deal.
     
    • Thanks Thanks x 1
  3. muscleteen

    muscleteen Regular Member

    Joined:
    Oct 28, 2008
    Messages:
    397
    Likes Received:
    861
    Check your inbox :D

    I don't know about statements and all.. But finally got it to work with your help :)
     
  4. aftershock2020

    aftershock2020 Senior Member

    Joined:
    Oct 19, 2007
    Messages:
    981
    Likes Received:
    477
    That's great. If it is working, then you changed the right one and don't have to worry about the ' if statements ' below it. I always take them out to prevent clashing in the code but if you marked the target function variable to ' 0 ', you shouldn't have to worry about the stuff under it, due to it never being called or activated because of it never changing to the ' 1 ' or higher again.

    It will always default to ' 0 ' now.

    Nice work figuring it out. Glad to be of help when I can.

    Good luck with it.
     
    • Thanks Thanks x 1
  5. kijkij

    kijkij Regular Member

    Joined:
    Apr 9, 2008
    Messages:
    254
    Likes Received:
    110
    Occupation:
    Teacher
    Location:
    Pandora
    Home Page:
    Let me know if you still need help.