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


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

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 05:59 PM.


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