I think i made a post a while back but i never got it solved but anyway...
When I'm linking to an image it's not starting from the theme directory where i would do /images/image.jpg. It used to do this but im not sure. Now im having to do /wp-content/themes/themename/images/image.jpg. This is really a pain, It could be my theme because i made it myself. I'll post the header because maybe theres something wrong with it.
Question
classicdisastr
I think i made a post a while back but i never got it solved but anyway...
When I'm linking to an image it's not starting from the theme directory where i would do /images/image.jpg. It used to do this but im not sure. Now im having to do /wp-content/themes/themename/images/image.jpg. This is really a pain, It could be my theme because i made it myself. I'll post the header because maybe theres something wrong with it.
Thanks (:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head profile="http://gmpg.org/xfn/11"> <title><?php bloginfo('name'); ?><?php wp_title(); ?></title> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please --> <style type="text/css" media="screen"> @import url(../rainbowsheep/style.css); </style> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" /> <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <meta name="msvalidate.01" content="91E2F00FBC74CB572E10663FED575CF1" /> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js"></script> <?php wp_get_archives('type=monthly&format=link'); ?> <?php //comments_popup_script(); // off by default ?> <?php wp_head(); ?> </head> <body> <div id="container"> <div id="wrapper">Link to comment
https://www.neowin.net/forum/topic/790000-wordpress-linking/Share on other sites
5 answers to this question
Recommended Posts