Wordpress question.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Cory W
    Deeply shallow
    • Jan 2004
    • 9133

    #1

    Wordpress question.

    I just got some new server stats software.

    I have to install a line of code across any page I want to view stats on.

    Copy and paste the following code between the <head> tags (but after
    the <title> tag) on any page of your site that you would like the software to
    keep an eye on:


    Logically, it seems to make since that I open up the WP template, go into the header.php file and add the code in. However, 2 things:

    1) It doesn't show stats.
    2) It displays the src code in the header.

    Anyone have any advice?

    I am hoping I can place the code in one WP file and get covered on them all.

    Thanks in Advance,

    Cory.
    ICQ: 292310358
    Offering writing and content services (mainstream).
    Marketing for L3 Payments
  • viki
    Confirmed User
    • Jan 2005
    • 2640

    #2
    Can you show the code and/or where this is happening?

    viki [at] realsexcash [dot] com
    228 263 454

    Comment

    • JD
      Too lazy to set a custom title
      • Sep 2003
      • 22651

      #3
      definately need to see the code you're trying to include

      Comment

      • Cory W
        Deeply shallow
        • Jan 2004
        • 9133

        #4
        Originally posted by viki
        Can you show the code and/or where this is happening?
        This is the software code:
        <script src="/mint/?js" type="text/javascript"></script>

        I am going into wordpress admin and opening the header.php file and adding it here:


        <html>
        <head profile="http://gmpg.org/xfn/11">
        <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

        <title><?php bloginfo('name'); ?><?php wp_title(); ?>

        <script src="/mint/?js" type="text/javascript"></script>


        </title>
        ICQ: 292310358
        Offering writing and content services (mainstream).
        Marketing for L3 Payments

        Comment

        • Cory W
          Deeply shallow
          • Jan 2004
          • 9133

          #5
          And I am hoping this will give me more detailed stats across ALL BLOG pages that I create.
          ICQ: 292310358
          Offering writing and content services (mainstream).
          Marketing for L3 Payments

          Comment

          • Aric
            Confirmed User
            • Sep 2002
            • 1209

            #6
            <title><?php bloginfo('name'); ?><?php wp_title(); ?>

            <script src="/mint/?js" type="text/javascript"></script>


            </title>
            put it after the closing </title> tag, not before it

            like so:
            Code:
            <title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
            <script src="/mint/?js" type="text/javascript"></script>
            Last edited by Aric; 06-26-2006, 02:38 PM.
            Awesome cloud hosting by DigitalOcean

            Comment

            • viki
              Confirmed User
              • Jan 2005
              • 2640

              #7
              You put in the code before the closing title tag - put it after.

              viki [at] realsexcash [dot] com
              228 263 454

              Comment

              • JD
                Too lazy to set a custom title
                • Sep 2003
                • 22651

                #8
                Originally posted by WEG Cory
                This is the software code:
                <script src="/mint/?js" type="text/javascript"></script>

                I am going into wordpress admin and opening the header.php file and adding it here:


                <html>
                <head profile="http://gmpg.org/xfn/11">
                <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

                <title><?php bloginfo('name'); ?><?php wp_title(); ?>

                <script src="/mint/?js" type="text/javascript"></script>


                </title>

                just checked a WP blog I'm running mint on and that's exactly what it's supposed to look like. Check your error logs for anything weird. and check the mint settings too see if there's anything out of place

                Comment

                • viki
                  Confirmed User
                  • Jan 2005
                  • 2640

                  #9
                  Originally posted by Aric
                  put it after the closing </title> tag, not before it
                  heh, you beat me to it.

                  viki [at] realsexcash [dot] com
                  228 263 454

                  Comment

                  • JD
                    Too lazy to set a custom title
                    • Sep 2003
                    • 22651

                    #10
                    Originally posted by viki
                    You put in the code before the closing title tag - put it after.
                    NICE! I didn't even see that

                    Comment

                    • Cory W
                      Deeply shallow
                      • Jan 2004
                      • 9133

                      #11
                      Thanks Aric, Viki, Sperminator.

                      I bow my head in shame. I read that so very literal haha

                      It is working beautifully now
                      ICQ: 292310358
                      Offering writing and content services (mainstream).
                      Marketing for L3 Payments

                      Comment

                      • Cory W
                        Deeply shallow
                        • Jan 2004
                        • 9133

                        #12
                        Actually, I may have one more question.

                        It doesn't seem to be monitoring "pages"

                        I create pages, for example, my fuckherright.com page.

                        http://www.midgetarmy.com/pornstar-fuck-her-right/
                        ICQ: 292310358
                        Offering writing and content services (mainstream).
                        Marketing for L3 Payments

                        Comment

                        • Cory W
                          Deeply shallow
                          • Jan 2004
                          • 9133

                          #13
                          Scratch my last post, it is working to perfection.

                          Thanks Everyone!
                          ICQ: 292310358
                          Offering writing and content services (mainstream).
                          Marketing for L3 Payments

                          Comment

                          Working...