WordPress.org

Forums

Viewing css and php changes (12 posts)

  1. Drew Nakari
    Member
    Posted 5 years ago #

    Hello :)

    I've been searching high and low but I still don't know how to solve this. Hopefully someone here will be able to help me.
    I've been making some changes to my theme, nothing much, mainly pretty visual stuff, fonts etc. I'm using Adobe Dreamweaver and I'm not super duper good in this so I need a way to prewiev the changes without actually showing them to everyone or someone might run to the hills.
    So is there a way to see how my changes would look for real?
    Thanks for the help guys :)

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 5 years ago #

    set up a testing environment using wamp/mamp/xampp or something

    http://codex.wordpress.org/WordPress_Installation_Techniques#Installing_WordPress_Locally

    that way your computer can parse the php code

  3. Drew Nakari
    Member
    Posted 5 years ago #

    Which one of these would you recommend for Windows XP pro? Or better question - using which way can I mess things the LEAST?

    and thanks again

  4. Rev. Voodoo
    Volunteer Moderator
    Posted 5 years ago #

    I've only used one package, wampserver... so I can't give a great comparison
    http://www.wampserver.com/en/

    it was a single click install really....

    http://guides.jlbn.net/
    is a website I use for tutorials related to wamp (including installing WP locally)

  5. Drew Nakari
    Member
    Posted 5 years ago #

    You've been really helpfull RVoodoo, thanks :) Could you tell me what does "Fatal error: Call to undefined function get_header() in C:\wamp\www\project1\index.php on line 1" mean?

  6. Rev. Voodoo
    Volunteer Moderator
    Posted 5 years ago #

    this is where things get kinda hard for me... as I can't look at your server setup or your files.

    Where are you setting up wordpress? In the project1 folder within your root (www) folder?

    index.php from wordpress doesn't call get_header.....
    --index.php from within your theme however, does call get_header

    But that index.php goes with the rest of your themes files in the wp-content/themes/your theme folder

    So basically, you need to get WP all set up and ready to go in your localhost first. Did you get that far? Once you have that happening...you can start building/testing/editing themes from within the theme folder...

    Your theme won't work without WP running first.

    Again, I'm making a tonne of assumptions here as I can't check anything

  7. Drew Nakari
    Member
    Posted 5 years ago #

    There's the problem... Didn't get WP to run properly first. Ok back to setting up guide. Thanks

  8. Rev. Voodoo
    Volunteer Moderator
    Posted 5 years ago #

    yeah, once you have WP installed on your localhost it'll run from within your computer as though its a normal site on the web

    You can install themes, make posts, do whatever. Then you can start with theme editing/creation!

  9. Drew Nakari
    Member
    Posted 5 years ago #

    But something is confusing me. WP wants database and user name etc. Isn't this wamp for ppl who don't have hosting? And if I enter the actual names for my server, won't that overwritte something? So what am I suppose to enter there? I'm guessing this wamp server should provide data.

    P.s: I know what you're thinking and no, I'm not a blonde ^^

  10. Rev. Voodoo
    Volunteer Moderator
    Posted 5 years ago #

    if you look at the guide I linked to up above, it guides you through setting up a database.... you link wordpress on your computer to the database you make on your computer following the guides. This gives you a locally installed fully functional wordpress. You don't link it to your actual server.

    like my settings for database just say localhost
    setting up DB:
    http://guides.jlbn.net/setdb/setdb1.html
    setting up WP (including linking to local DB)
    http://guides.jlbn.net/setblog/setblog1.html

    Once you have the WP all set up, you can test with it. You can even make posts if you want, which you could later export from your local DB to a live server DB.....but you don't have to.

  11. Drew Nakari
    Member
    Posted 5 years ago #

    Yay thank you, it's working perfectly :)
    Now I just need to figure out how to make the header static and add another side bar and the theme is read to see some action! And perhaps (quite likely, actually) I'll be coming back and asking for help again.

  12. Rev. Voodoo
    Volunteer Moderator
    Posted 5 years ago #

    I'm glad you got the big step all figured out! Feels kinda good getting this far eh? I was happy when I got it all working.

    If you are happy with the results, go ahead and use the dropdown to mark the thread resolved.

    Then you can start a new thread if you have new questions!

    Good luck!

Topic Closed

This topic has been closed to new replies.

About this Topic