[resolved] Image not shwon (7 posts)

  1. bmt
    Posted 6 years ago #

    Hi all,
    Just a question about a disappointed thing : I gonna to use a new theme and I met some troubles with using pictures inside an article > they are not shown. I can see them in the writing screen, but nothing in the reading view...
    What is the parameters should I modify to solve this kind of matters?
    > the used theme is Alsandros (http://topwpthemes.com/alsandros-2/)

  2. kdkaushik
    Posted 6 years ago #

    Check whether the link of images are correct when you browse the website.
    [signature moderated Please read the Forum Rules]

  3. bmt
    Posted 6 years ago #

    hi kdkaushik!
    Thanks for your reply. I just solved the problem by replacing the php code of the single.php page. I delete the code:
    <p><?php the_content_rss('', TRUE, '', 240); ?></p>
    And replace it by the code use in the default wordpress theme (with adding the "kubrick" files in the used theme folder):
    <?php the_content('<p>' . __('Read the rest of this entry &raquo;', 'kubrick') . '</p>'); ?>
    It seems to work well...

  4. Michael
    Forum Moderator
    Posted 6 years ago #

    the single.php uses:
    <p><?php the_content_rss('', TRUE, '', 240); ?></p>
    to show the articles.
    if you want the full article, as a quick fix, you could try to replace the whole line with:
    <?php the_content(); ?>

    (Similar in index.php - but that is probably better kept for the design layout)

    PS - well done, i just got distracted and took too long to reply :-(

  5. bmt
    Posted 6 years ago #

    Thanks alchymyth!
    The correction done seems to work without changing the design layout... I don't really know haw it works (especially the "kubrick" files) but it works. What will be the best? Your suggestion or my try?
    If you are an experiment users, just tell me. I'm interested in your opinion ;)

  6. Michael
    Forum Moderator
    Posted 6 years ago #

    your solution is absolutely fine, probably even better - because it gives you the extra line 'read the rest of this entry' if you use the 'more' tag within your article. ;-)

  7. bmt
    Posted 6 years ago #

    Thank you so much for your quick reply.
    Best regards

Topic Closed

This topic has been closed to new replies.

About this Topic