Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Installing & running WordPress (http://forum.bytesforall.com/forumdisplay.php?f=6)
-   -   how to remove/hide file path in HEAD section (http://forum.bytesforall.com/showthread.php?t=6608)

plutomilo Apr 5, 2010 07:20 AM

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>

-------------------------------------------------------------------------------------
:confused:#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:)

softdevelopment Apr 7, 2010 07:28 PM

Can anyone answer this please, I also have the same question.
Thank you!

juggledad Apr 8, 2010 07:41 AM

see http://forum.bytesforall.com/showthread.php?t=6606


All times are GMT -6. The time now is 08:00 AM.

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