Forums

Photos not showing on home page (8 posts)

  1. B1gft
    Member
    Posted 5 months ago #

    Hi,
    my photos in my posts are not showing on the home page. I have even tried it with the photos first on the post, but only the writing shows.
    I have switched themes, but it is still happening.
    Any help would be great,
    Thanks

  2. nataliebroomfield
    Member
    Posted 5 months ago #

    Hi wonder if yo can help me, I a very vry new to this, I woukld I am trying to download a theme, but I dont undertand wjhat it means to connect to the webserver? can you help me please

  3. mattyza
    Member
    Posted 5 months ago #

    Hi B1gft,

    Do you have a link to the Wordpress installation where the photographs aren't displaying? If not, is it possible to view a screenshot of the error or a snippet of the theme and CSS code for the content area of your theme?

    :)

  4. B1gft
    Member
    Posted 5 months ago #

    Natalie Open up a new qustion in this forum for your problem. You will get a quicker answer.

  5. B1gft
    Member
    Posted 5 months ago #

    Hi Mattyza,
    I am not to sure what you are asking.
    Are you looking for a link to the site, which is http://www.salesd.com (its a work in progress)
    I can copy and paste any code and show it here, if you want, but please tell me what code excactly,
    Thanks in advance,

  6. mattyza
    Member
    Posted 5 months ago #

    Hi B1gft,
    Regarding the images not displaying on the homepage, I've taken a look at your front page and believe I may have the reason why the images aren't displaying.

    For each post that you have displayed on the homepage, you are displaying the post excerpt. When displaying the post excerpt, I believe that all XHTML tags are stripped from this. This would include images.

    Two possible solutions to this would be to install a custom excerpt plugin. This would give you more control over the excerpt. The alternative would be to replace the <?php the_excerpt(); ?> tag with <?php the_content('Continue Reading'); ?>. This will display all the text of the post leading up to a <!--more--> tag on the post (there's a button for this on the Wordpress rich text editor... you can also type it in "HTML" mode on the editor) and will create a "read more" link below this. This will allow for the inclusion of images in the front page area.

    I hope this helps. :)

  7. B1gft
    Member
    Posted 5 months ago #

    Thanks mattyza,
    I will try your suggestions and hopefully i will get results.
    Thanks again

  8. B1gft
    Member
    Posted 3 weeks ago #

    Hi,
    I have just got around to working on this problem.

    Can you please tell me on what file do I go to to replace
    the <?php the_excerpt(); ?> tag with <?php the_content('Continue Reading');

    Thanks for your help

Reply

You must log in to post.

About this Topic