• I am trying to build a theme from *outside* of the wordpress folder. I hate the theme editor and rather use a shell/insert to get it to work (because I find the theme editor damned annoying–including the “special” wordpress php code which precludes other php code.)

    This just confirms my suspicions more. Since I am calling files to the page.php from outside of the wordpress folder I can no longer get it to work. (Did work before–but then wordpress thought it was smarter.)

    The WYSIWYG says the code is correct, but when I look at the actual page and the HTML it has *changed my code* but keeps the code the same in the WYSIWYG. (Last bit feel like the program/programmers are being arrogant.) I have tried relative paths, I have tried PHP, I have tried writing out the domain, but the stupid program thinks it is smarter than me and *strips out* everything before the filename. I am only trying to call up an image and one stylesheet. I doubt it is a security risk to the entire site.

    Example:

    http://www.example.com/file.jpg–> (in WordPress output) file.jpg (Though the code in the WYSIWYG theme editor stays http://www.example.com/file.jpg–which is just more frustrating.)
    I need the first, not the second. Again, when I’m making the theme.

    Is there a way to trick wordpress into letting me echo the domain name in the final result? A plugin?

    I find this annoying and frustrating. If you hate absolute paths from the same domain, at least let me call files to the theme from relative paths. Also confirms the reason I hate the theme editor and prefer to strip wordpress and create architecture around it.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m not sure I understand what you are trying to do.. As far as I know, WordPress works with themes and these need to be in the themes folder inside your wordPress installation.

    I’m not a fan of the theme editor editor and I never use it. I build my theme using Textmate and just upload it via FTP.

    Thread Starter Rachel Udin

    (@rachel-udin)

    I don’t want it in the wordpress folder. So it shouldn’t be there. Not a fan of the whole theme system in WordPress at all. I rather create my own shell.

    WordPress in general should allow for absolute and relative links from the theme outside of the theme folder–but this doesn’t. Since I use PHP inserts I want the files to stay where they are.

    Because my website uses a shell *around* the wordpress theme. Ya know to go to other nonblog places because wordpress wasn’t meant to handle large websites where people make their own code/links.

    I need a hack around it-or at least wordpress should fix it so I can put the http://www.example.com/file.jpg in my image links. I don’t see how this is an upgrade.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Absolute URLs from Outside WordPress folder (Themes)’ is closed to new replies.