GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Wordpress question. (https://gfy.com/showthread.php?t=626317)

Cory W 06-26-2006 03:28 PM

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.

viki 06-26-2006 03:30 PM

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

JD 06-26-2006 03:33 PM

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

Cory W 06-26-2006 03:34 PM

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>

Cory W 06-26-2006 03:35 PM

And I am hoping this will give me more detailed stats across ALL BLOG pages that I create.

Aric 06-26-2006 03:37 PM

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>


viki 06-26-2006 03:37 PM

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

JD 06-26-2006 03:37 PM

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

viki 06-26-2006 03:38 PM

Quote:

Originally Posted by Aric
put it after the closing </title> tag, not before it :)

heh, you beat me to it.

JD 06-26-2006 03:39 PM

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 :1orglaugh

Cory W 06-26-2006 03:40 PM

Thanks Aric, Viki, Sperminator.

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

It is working beautifully now :)

Cory W 06-26-2006 03:42 PM

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/

Cory W 06-26-2006 03:44 PM

Scratch my last post, it is working to perfection.

Thanks Everyone!


All times are GMT -7. The time now is 07:36 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123