Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jeffreyr

    (@jeffreyr)

    <?php echo get_stylesheet_directory();?>
    Dit not work. So i tried:
    <?php echo get_stylesheet_directory_uri() ?>

    My images look like this:
    <img src=”<?php echo get_stylesheet_directory_uri() ?>/images/Slice-1.jpg” class=”websiteimages” alt=””>

    It works now 😀

    Still, you recommended importing the images with CSS. What is the reason that this method is better?
    If i know the reason then i want to try importing images with CSS.

    And thank you for your help 🙂

    Thread Starter jeffreyr

    (@jeffreyr)

    Yes i have. I want to use wordpress as a cms and this did not seem to be a problem.

    Here is the setup:
    http://i37.tinypic.com/2ns9qhx.jpg

    I just want to show the content of a wordpress page in my textarea div with the wp loop.(See image above).

    But i can’t figure out why some images are loaded and some aren’t.
    That is strange.

    Can’t page.php contain regular images references in html like?

    <div id="Title">
    <img src="images/Title.jpg" class="websiteimages"   alt="">
    </div>

    This is what one of my div’s looks like.

    Thread Starter jeffreyr

    (@jeffreyr)

    Thank you for you answer. I want to try to edit the Twenty Twelve theme firstly. If that does not work i am going to make a child theme 🙂

    Doe you know where in the style.css of Twenty Twelve is the part that sets the background to a white box with a shadow?

Viewing 3 replies - 1 through 3 (of 3 total)