Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » Running WordPress » Installing & running WordPress »

how to remove/hide file path in HEAD section


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Apr 5, 2010, 07:20 AM
plutomilo
 
1 posts · Apr 2010
Help how to remove/hide file path in HEAD section

hello everybody, i want to ask a question, in the head section i wrote this:

#Default
-----------

<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>

-------------------------------------------------------------------------------------
#Question:
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>

or

<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>

#End
------

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
  #2  
Old Apr 7, 2010, 07:28 PM
softdevelopment
 
1 posts · Apr 2010
Can anyone answer this please, I also have the same question.
Thank you!
  #3  
Old Apr 8, 2010, 07:41 AM
juggledad's Avatar
juggledad
 
21,965 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
see http://forum.bytesforall.com/showthread.php?t=6606
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support

Bookmarks

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 05:07 PM
My image path can't change please help websitepublisher Header configuration & styling 2 Oct 13, 2009 04:55 AM
[SOLVED] How do I remove or hide the comments box? stevejeffery Forum How-To 2 Jul 1, 2009 12:11 PM
too many /head incidences tekdiver500ft Header configuration & styling 1 Apr 8, 2009 08:48 AM
changing file path name: theme name incorrect tepper Atahualpa 3 Wordpress theme 2 Feb 24, 2009 01:38 PM


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


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