WordPress.org

Ready to get started?Download WordPress

Forums

What file to add code (7 posts)

  1. EllenF
    Member
    Posted 6 years ago #

    I am new to Word Press and somewhat new to HTML coding. I am trying to add some code to Garden 1.0 theme. I can't find the file for the body of the theme. I'm looking for the file that contains this tag:
    </body> tag
    When I had my blog at blogspot, I easily found it there.
    Can someone kindly point me to the correct file? Thanks

  2. moshu
    Member
    Posted 6 years ago #

    Most likely header.php.

    Many themes follow this basic architecture when it comes about putting together the different template files.

  3. EllenF
    Member
    Posted 6 years ago #

    Thank You Moshu, I'll check that out!!!! I'm constantly learning now.

  4. EllenF
    Member
    Posted 6 years ago #

    I'm back again...I found the <body> tag in the header file but can't locate the </body>. I've looked everywhere even in the footer file. I know it must be some hwere. Any suggestions? Thanks!

  5. boober
    Member
    Posted 6 years ago #

    are you SURE its not in the footer? thats where it should be.

  6. EllenF
    Member
    Posted 6 years ago #

    I just looked in the footer and it's definitely not there. After learning how this works, that's where I thought it would be. But it's not. I was going to copy and paste what's there to show you but it would be 4 full pages and I don't see but very few tags - none of what I'm looking for. Unless there is some abbrev that I'm not catching....

  7. moshu
    Member
    Posted 6 years ago #

    OK, never use that kind of themes downloaded from obscure, shitty places (sorry)! They are using a lot of garbage code to fool you to display their hidden advertising links.
    Ditch that theme now! (Or find domebody that would clean it up)

Topic Closed

This topic has been closed to new replies.

About this Topic