Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 06-26-2006, 03:28 PM   #1
Cory W
Deeply shallow
 
Cory W's Avatar
 
Join Date: Jan 2004
Location: Hollywood, Ca.
Posts: 9,133
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
Cory W is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-26-2006, 03:30 PM   #2
viki
Confirmed User
 
viki's Avatar
 
Join Date: Jan 2005
Posts: 2,640
Can you show the code and/or where this is happening?
__________________

viki [at] realsexcash [dot] com
228 263 454
viki is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-26-2006, 03:33 PM   #3
JD
Too lazy to set a custom title
 
Industry Role:
Join Date: Sep 2003
Posts: 22,651
definately need to see the code you're trying to include
JD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-26-2006, 03:34 PM   #4
Cory W
Deeply shallow
 
Cory W's Avatar
 
Join Date: Jan 2004
Location: Hollywood, Ca.
Posts: 9,133
Quote:
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
Cory W is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-26-2006, 03:35 PM   #5
Cory W
Deeply shallow
 
Cory W's Avatar
 
Join Date: Jan 2004
Location: Hollywood, Ca.
Posts: 9,133
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
Cory W is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-26-2006, 03:37 PM   #6
Aric
Confirmed User
 
Aric's Avatar
 
Industry Role:
Join Date: Sep 2002
Posts: 1,209
Quote:
<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>
__________________
Awesome cloud hosting by DigitalOcean

Last edited by Aric; 06-26-2006 at 03:38 PM..
Aric is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-26-2006, 03:37 PM   #7
viki
Confirmed User
 
viki's Avatar
 
Join Date: Jan 2005
Posts: 2,640
You put in the code before the closing title tag - put it after.
__________________

viki [at] realsexcash [dot] com
228 263 454
viki is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-26-2006, 03:37 PM   #8
JD
Too lazy to set a custom title
 
Industry Role:
Join Date: Sep 2003
Posts: 22,651
Quote:
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
JD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-26-2006, 03:38 PM   #9
viki
Confirmed User
 
viki's Avatar
 
Join Date: Jan 2005
Posts: 2,640
Quote:
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
viki is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-26-2006, 03:39 PM   #10
JD
Too lazy to set a custom title
 
Industry Role:
Join Date: Sep 2003
Posts: 22,651
Quote:
Originally Posted by viki
You put in the code before the closing title tag - put it after.
NICE! I didn't even see that
JD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-26-2006, 03:40 PM   #11
Cory W
Deeply shallow
 
Cory W's Avatar
 
Join Date: Jan 2004
Location: Hollywood, Ca.
Posts: 9,133
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
Cory W is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-26-2006, 03:42 PM   #12
Cory W
Deeply shallow
 
Cory W's Avatar
 
Join Date: Jan 2004
Location: Hollywood, Ca.
Posts: 9,133
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
Cory W is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-26-2006, 03:44 PM   #13
Cory W
Deeply shallow
 
Cory W's Avatar
 
Join Date: Jan 2004
Location: Hollywood, Ca.
Posts: 9,133
Scratch my last post, it is working to perfection.

Thanks Everyone!
__________________
ICQ: 292310358
Offering writing and content services (mainstream).
Marketing for L3 Payments
Cory W is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.