WordPress.org

Forums

[resolved] Add code to blog template (4 posts)

  1. Pankas
    Member
    Posted 5 years ago #

    I joined a log community that needs me to add a code to my blog template. I use the WP theme" D'Computers 1.0 by D'". Which php file I need to insert the code to? Is that the page.php?
    By the way, I was told to insert the code to between the open <body> and close <body>tag.

  2. MichaelH
    Member
    Posted 5 years ago #

    You could put that in your theme's index.php but review Template Hierarchy to undestand what template WordPress uses in certain situations.

    Related:
    Stepping Into Template Tags
    Stepping Into Templates
    WordPress Semantics

  3. Pankas
    Member
    Posted 5 years ago #

    Thanks Michaelh,
    Somehow I could not find the open<body> and close<body>.
    BTW, here is the code I need to insert to the blog template, <script type='text/javascript' src='http://track4.mybloglog.com/js/jsserv.php?mblID=2010022705535309'></script>

    It is used to track my blog.

  4. andersw
    Member
    Posted 5 years ago #

    Please don't double-post Pankas, I answered you here: http://wordpress.org/support/topic/370088?replies=2

    [MOD NOTE]If you wish to bring a thread to a moderators attention please tag the thread with the "modlook" tag.

Topic Closed

This topic has been closed to new replies.

About this Topic