doppyo
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Custom Fields ProblemWorks flawlessly, thanks a lot, Michael!
Forum: Fixing WordPress
In reply to: wordpress homepagewp-content->themes->yourtheme->index.php
Forum: Fixing WordPress
In reply to: Embedded video just appears as codeHi Tracy,
When you copy/paste your code into your post, be sure to paste it into the HTML tab next to the VISUAL tab. I tried your code and it works just fine.
Forum: Fixing WordPress
In reply to: Read More ProblemThanks for all the support buddha trance. I finally found(absolutely randomly) the way to get all this working. The problem was the function bloginfo(). I tried to do the same with get_bloginfo() and voilà, everything’s working perfectly.
Here’s the code I put in header.php so I don’t have to type this ever again:
<?php global $path; $path = get_bloginfo('template_url'); ?>and the code I put into the_content():
<?php the_content('<img src="'.$path.'/images/readmore_big.gif" class="alignright" />'); ?>Thanks again for helping me out!
Ben.Forum: Fixing WordPress
In reply to: Read More ProblemThanks a lot for the information, I did replace stylesheet_directory with template_directory in my files. I tried :
<?php $path = bloginfo('template_directory'); the_content('<img src="' . $path . '/images/readmore_big.gif" class="alignright">'); ?>But it did not work either, unfortunately. I did try your second suggestion but I fear that I haven’t put it properly into the code. I’m quite only an amateur when it comes to php. Here’s what I did with your second suggestion :
<?php the_content('<img src="<?php include (TEMPLATEPATH . \'/images/readmore_big.gif\'); ?>" class="alignright">'); ?>Didn’t work either, many thanks for your info though. Is it even possible to do what I want to do?