Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

[SOLVED] Please Help, I can't find the code:


  #1  
Old Dec 3, 2009, 07:24 PM
itbloke's Avatar
itbloke
 
14 posts · Sep 2009
Primrose Hill, London
Send a message via MSN to itbloke Send a message via Yahoo to itbloke Send a message via Skype™ to itbloke
Unhappy [SOLVED] Please Help, I can't find the code:

Hi, I really hope someone can help me, I was attempting to get google analytics and used the google analytics plugin to add the code however it did not work, however what it did do was add " />" /> " /> term above the title, which considering my site is three word press blogs rolled in to one makes it look pretty silly when you go to one of the other blogs which does not have it, take a look for yourself, http://www.itbloke.net, however try as I might I can't find the where the code for this is stored so I can edit it out, I would be ever so grateful if any of you chaps or chappettes out there could let me know, as I am really fed up with my site looking silly

Kind Regards and Best Wishes ~ Ashe, IT Bloke - London...........

Last edited by itbloke; Dec 3, 2009 at 09:14 PM.
  #2  
Old Dec 4, 2009, 05:12 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
did you try removing the plugin?
What version of Atahualpa and WP?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Dec 4, 2009, 08:11 AM
itbloke's Avatar
itbloke
 
14 posts · Sep 2009
Primrose Hill, London
Send a message via MSN to itbloke Send a message via Yahoo to itbloke Send a message via Skype™ to itbloke
Hi, I am using Atahualpa 3.4.1 and Word Press, 2.8.6, I have deactivated the plugins, but that is not the problems the plugins are designed to add the Google analytics code to my word press installation and have done so, deleting them will not remove this code, you can see it at the top of my site and even see the added code when you view, the source code for my page: http://www.itbloke.net however when I come to edit the themes files I cannot find the code it looks like:

<!-- Easy Verification -->
<meta name="verify-v1" content="<meta name="google-site-verification" content="yHmkpOhS2UNlE9o8mBdV9siIjWr9K9VvIXStOOxUd 8Q" />" /><meta name="google-site-verification" content="<meta name="google-site-verification" content="yHmkpOhS2UNlE9o8mBdV9siIjWr9K9VvIXStOOxUd 8Q" />" /><meta name="y_key" content="" /><!-- End Easy Verification -->
<meta name="google-site-verification" content="<meta name="google-site-verification" content="yHmkpOhS2UNlE9o8mBdV9siIjWr9K9VvIXStOOxUd 8Q" />" />
<style type="text/css">img.nothumb{border:0;}</style>

I can even the see the errors but cannot find out which file it is stored in, it is crazy all I want to do it delete a few simple line of code and I can't do it.

Anyway your reply is much appreciated I hope that, this information will give you a better idea of what my problem actually is, a simple exercise in code removal, or so I thought. LOL

Kind Regards and Best Wishes, ~ Ashe, IT Bloke - London......l.
  #4  
Old Dec 4, 2009, 09:07 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Without looking deeper, I'd guess that the plugin stored some data in the wp-options table and that is where the code is. You should be able to switch to the default theme and if it is not Athahualpa related, then the problem will persist.

What is odd is if the plugin is disabled, tehn it should not be executing any code that would read it's options .

Try my first suggestion - swap to the default theme and see if the problem exists.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Dec 4, 2009, 09:14 AM
itbloke's Avatar
itbloke
 
14 posts · Sep 2009
Primrose Hill, London
Send a message via MSN to itbloke Send a message via Yahoo to itbloke Send a message via Skype™ to itbloke
Have already swapped to the default theme and the problem, still persists, as anyone would expect it to as the code is in plain view, the plugin inserted the code somewhere a little bit deeper, it is crazy that you can see the code when you view the source code http://www.itbloke.net and then can't find it any where else,

<!-- Easy Verification -->
<meta name="verify-v1" content="<meta name="google-site-verification" content="yHmkpOhS2UNlE9o8mBdV9siIjWr9K9VvIXStOOxUd 8Q" />" /><meta name="google-site-verification" content="<meta name="google-site-verification" content="yHmkpOhS2UNlE9o8mBdV9siIjWr9K9VvIXStOOxUd 8Q" />" /><meta name="y_key" content="" /><!-- End Easy Verification -->
<meta name="google-site-verification" content="<meta name="google-site-verification" content="yHmkpOhS2UNlE9o8mBdV9siIjWr9K9VvIXStOOxUd 8Q" />" />
<style type="text/css">img.nothumb{border:0;}</style>

Kind Regards Ashe ~ IT Bloke - London.......
  #6  
Old Dec 4, 2009, 09:41 AM
electron sponge's Avatar
electron sponge
 
11 posts · Nov 2009
Try removing the plugin entirely, and inserting the Google Analytics code manually into Atahualpa Theme Options -> Add HTML/CSS Inserts -> HTML Inserts: Body Bottom. Paste the javascript code that Google advises you to use in there. The code should look something like this (BUT NOT EXACTLY THIS, you need your own code from Google):
Code:
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-xxxxxxxx-x");
pageTracker._trackPageview();
} catch(err) {}</script>
If removing the plugin doesn't get rid of the extraneous characters being displayed, you're going to have to figure out which file the plugin modified and replace it with the standard file from a fresh copy of Wordpress, barring that you'll at least have to replace the particular section of code it modified.

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Where do I find the code for the Post title? JakeThePeg Post-Kicker, -Byline & -Footer 1 Sep 13, 2009 05:26 AM
3.33 > 3.4 It can't find CSS OzBOz New Versions, & Updating 27 Jul 15, 2009 10:45 AM
how do i find whatversion i have installed wilcuneo Atahualpa 3 Wordpress theme 1 May 26, 2009 03:51 PM
Where to find all the threads I started Jerry Forum How-To 2 Apr 11, 2009 11:19 PM
Can't find Theme to edit it feastfresh Atahualpa 3 Wordpress theme 0 Mar 9, 2009 07:52 PM


All times are GMT -6. The time now is 04:40 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.