Status
Not open for further replies.

F A S T E R

Active Member
352
2011
119
6,745
This is my header.php code sample not scripts added.I want to know about this


Code:
<head>
</head>

<body <?php body_class(); ?>>
    <?php abc_before_page(); ?>
        <?php
            abc_before_begin_wrapper();
        ?>
        <div id="wrapper" class="fix">
        <?php
            abc_after_begin_wrapper();
        ?>
            <div id="container" class="fix">
                <?php
                    abc_after_begin_container();
?>
1.inside the body tags?

2. right before the end BODY tags
 
6 comments
This is my header.php code sample not scripts added.I want to know about this


Code:
<head>
</head>

<body <?php body_class(); ?>>
    <?php abc_before_page(); ?>
        <?php
            abc_before_begin_wrapper();
        ?>
        <div id="wrapper" class="fix">
        <?php
            abc_after_begin_wrapper();
        ?>
            <div id="container" class="fix">
                <?php
                    abc_after_begin_container();
?>
1.inside the body tags?

2. right before the end BODY tags

Code:
<head>
</head>
<body <?php body_class(); ?>>
[COLOR="Red"]<!--inside the body tags-->[/COLOR]
    <?php abc_before_page(); ?>
        <?php
            abc_before_begin_wrapper();
        ?>
        <div id="wrapper" class="fix">
        <?php
            abc_after_begin_wrapper();
        ?>
            <div id="container" class="fix">
                <?php
                    abc_after_begin_container();

[COLOR="Red"]<!--right before the end BODY tags-->[/COLOR]
</body>
?>

1.inside the body tags? (Put the content or code anywhere inside <body> tags)

2. right before the end BODY tags (Put the content or code Just before the end of Body tags </body>)
 
Last edited:
last thing inside the body tags = right before the end BODY tags | is that same?

footer.php

abc_document_footer();
wp_footer(); ?>
last thing inside the body tags
</body>
</html>
 
last thing inside the body tags = right before the end BODY tags | is that same?

Nope, it isn't.
Inside the body tags means you can put the code or content after <body> and before </body> tags.
Right Before the end of </body> tags means put the content or code just before the end of </body> tags.

---------- Post added at 03:34 PM ---------- Previous post was at 03:31 PM ----------

footer.php

abc_document_footer();
wp_footer(); ?>
last thing inside the body tags
</body>
</html>

Its just before the END body tags.
 
Status
Not open for further replies.
Back
Top