Forums

[resolved] Header Image Problem - not visible (42 posts)

  1. dewijones67
    Member
    Posted 4 months ago #

    That is brilliant and a lot easier to use.

    The 2nd part allows me to be selective with the links I want on the Menu Bar and in the Side Bars...!

    Thanks again - I may well come back with more questions later...!

    cheers...

  2. dewijones67
    Member
    Posted 4 months ago #

    Hello and sorry for yet another question.....

    The above has worked perfectly....

    I have a whole knew issue now though - when I post content to the site the images / video does not show I am given a warning:

    Server Error - 404 - File or directory not found.The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

    But when I click on edit I can see the text / image / video?

    Any ideas why its not showing?

    thank you..

  3. t31os_
    Member
    Posted 4 months ago #

    Hover over a post title link...

    Look at the URL done in your status bar (or right click > properties).

    Here's a url from one.
    http://www.newporthigh.co.uk/http:moodle.newporthigh.co.uk

  4. dewijones67
    Member
    Posted 4 months ago #

    Nice one - I see where I'm going wrong now...! Once again thank you for your help - you really know your stuff...!

    Cheers

  5. t31os_
    Member
    Posted 4 months ago #

    Sites undertaken quite a few changes since i last saw it, coming along nicely...

    Sometimes a problem just needs a second pair of eyes, glad i could help... ;)

  6. dewijones67
    Member
    Posted 4 months ago #

    Thank you - with your help it certainly is - I'm very pleased - I'm sure the school will be too...!

    Running the risk of outstaying my welcome here - I'm trying to add images to posts but want to view them on the pages themselves - not have to open the post's to view them - is there a way of doing that?

  7. t31os_
    Member
    Posted 4 months ago #

    Can you show me an example of where this problem exists?

    How are you placing images into posts? I don't see any in the posts on the site at the moment..

  8. dewijones67
    Member
    Posted 4 months ago #

    On the front page - if you click on any of the post headings you will be taken to the post itself where you'll see an image and some text.

    I've been loading them using: "Upload/Insert" or the "Insert / Edit Embedded Media" button all have the same result. I'm probably missing something obvious?

    Cheers,
    Dewi

  9. t31os_
    Member
    Posted 4 months ago #

    I can't click any titles to see, they're broken again..

    If you're using the <!--more--> tag though, just make sure the image is before that...

    And check to see you're using the_content() and not the_excerpt() which i think removes images and such...

  10. dewijones67
    Member
    Posted 4 months ago #

    Linked fixed - again...!

    I understand the <!--more--> tag - not to sure I understand what you mean by "the_content()" and "the_excerpt()" although I can see and excerpt section there - I haven't added to it.

    Thanks

  11. t31os_
    Member
    Posted 4 months ago #

    If you're using...
    the_excerpt()
    ..i don't think you'll see images..
    http://codex.wordpress.org/Template_Tags/the_excerpt#Comparison_of_the_excerpt.28.29_vs._the_content.28.29

    Use..
    the_content();

    And combine that with usage of the <!--more--> tag to divide your content..

    I could be wrong but i think it's worth a shot... ;)

    EDIT: Just read your post again...

    In your theme files, you'll have an instance of ..
    <?php the_excerpt(); ?>
    or.
    <?php the_content(); ?>

    If you have...
    <?php the_excerpt(); ?> then that may explain why you can't see images...

    I could be wrong though..

  12. dewijones67
    Member
    Posted 4 months ago #

    Hello - sorry I've been thru the source files the only intance of content() is in the page.php file and is set up as follows:

    <div id="content">
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <div class="post" id="post-<?php the_ID(); ?>">
    <h1 class="title"><?php the_title(); ?></h1>
    <div class="entry">
    <?php the_content('<p class="serif">Read the rest of this page »</p>'); ?>
    <?php wp_link_pages(array('before' => '<p>Pages: ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
    </div>
    </div>
    <?php endwhile; endif; ?>
    <?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>
    </div>
    <!-- end content -->

    <?php include (TEMPLATEPATH . '/_sidebar2.php'); ?>

    <?php get_footer(); ?>

    I can't find any reference to Excerpt in the source? The only ref to it I can find is on the Edit Post page from the dashboard but I've left it blank?

    Cheers,
    Dewi

Reply

You must log in to post.

About this Topic