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 » Running WordPress » Installing & running WordPress »

how to remove/hide file path in HEAD section

Old Apr 5, 2010, 08:20 AM
1 posts · Apr 2010
hello everybody, i want to ask a question, in the head section i wrote this:


<link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" media="screen" />
<script src="<?php bloginfo('template_url'); ?>/style/js/somescripts1.js" type="text/javascript" charset="utf-8"></script>
<script src="<?php bloginfo('template_url'); ?>/style/js/somescripts2.js" type="text/javascript" charset="utf-8"></script>
<script src="<?php bloginfo('template_url'); ?>/style/js/somescripts3.js" type="text/javascript" charset="utf-8"></script>

and when we go to the webpage then right click, it will show:

<link rel="stylesheet" type="text/css" href="http://www.example.com/wp-content/themes/exampletheme/exampletheme/style.css" media="screen" />
<script src="http://www.example.com/wp-content/themes/exampletheme/exampletheme/style/js/somescripts1.js" type="text/javascript" charset="utf-8"></script>
<script src="http://www.example.com/wp-content/themes/exampletheme/exampletheme/style/js/somescripts2.js" type="text/javascript" charset="utf-8"></script>
content/themes/exampletheme/exampletheme/style/js/somescripts3.js" type="text/javascript" charset="utf-8"></script>

how to do and what should i do, so when we go to the webpage then right click it will show something like this, and not showing the source file path just the "somescript.js":

<link rel="stylesheet" href="/css/style.css" type="text/css">
<script type="text/javascript" language="javascript" src="/js/somescripts1.js"></script>
<script type="text/javascript" language="javascript" src="/js/somescripts2.js"></script>
<script type="text/javascript" language="javascript" src="/js/somescripts3.js"></script>


<link rel="stylesheet" href="../css/style.css" type="text/css">
<script type="text/javascript" language="javascript" src="../js/somescripts1.js"></script>
<script type="text/javascript" language="javascript" src="../js/somescripts2.js"></script>
<script type="text/javascript" language="javascript" src="../js/somescripts3.js"></script>


can somebody teach me or show me how to do that, any help highly appreciated, And im so sorry if my english not good.

thank you
Old Apr 7, 2010, 08:28 PM
1 posts · Apr 2010
Can anyone answer this please, I also have the same question.
Thank you!
Old Apr 8, 2010, 08:41 AM
juggledad's Avatar
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
see http://forum.bytesforall.com/showthread.php?t=6606
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS all dumped into the <head> of the files. Why? timware Atahualpa 3 Wordpress theme 17 Dec 12, 2010 06:07 PM
My image path can't change please help websitepublisher Header configuration & styling 2 Oct 13, 2009 05:55 AM
[SOLVED] How do I remove or hide the comments box? stevejeffery Forum How-To 2 Jul 1, 2009 01:11 PM
too many /head incidences tekdiver500ft Header configuration & styling 1 Apr 8, 2009 09:48 AM
changing file path name: theme name incorrect tepper Atahualpa 3 Wordpress theme 2 Feb 24, 2009 02:38 PM

All times are GMT -6. The time now is 02:37 AM.

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