Images show in Home page, but not Single Posts (5 posts)

  1. activ_x
    Posted 7 years ago #

    Hi folks, I need your assistance here, so please, thinking caps on...

    The images on the home page of my blog http://www.hottest-toys-for-christmas.com show fine but those in single posts dont!

    Here's a link to a single post : http://www.hottest-toys-for-christmas.com/category/nightmare-before-christmas-toys/

    The single post appears to have a link in parenthesis that point to a post in which the images show (to view associated entry please click here)

    When you click on the links at the top of the page (which is a category list, the links default to /category/single post but, on clicking on the link (to view associated entry please click here), the page is domain/single post.

    Question, how do I make the category links point directly to "domain/single post" which appears to show images, instead of "domain/category/single post" which does not show images?

    Your assistance and advice would be greatly appreciated.

  2. Joshuwar
    Posted 7 years ago #

    Those aren't single posts- they're category pages. You've created a category for each toy, and list_categories doesn't create links through to each of the actual posts you've made, but to an archive of all of the posts in that category.

    If you want a list of posts, you might start by having a look at query_posts.

    Good luck!

  3. I suspect Joshuwar is correct with your links pointing to a "category" page. This "category" page is displaying "the_excerpt" of the post.

    This can be corrected by changing the method of displaying the posts to using "the_content" which does display the entire post including images.

    You may need to create true category pages to accomplish this, as some themes will simply use the archive.php file as a catch-all for displaying categories.

    This page may help you with sorting out the categories: http://codex.wordpress.org/Category_Templates

  4. activ_x
    Posted 7 years ago #

    Joshuwar and cais, thank you so much, sorry for the delayed response.. blame it on work and travel.

    The link you provided cais is awesome.. I'm not a coder or programmer, and everything I do is mostly thru trial and error, (it's worked great so far).

    I will check both your links guys and see how it pans out.

    If no luck, can I rely upon you to assist with the actual code?

    Thank you once again.

  5. I hope you are able to sort out the issues on your own; personally, I find it to be quite satisfying when I solve a code issue that initially eludes me.

    ... but, if you are still having difficulties, please feel free to follow my profile link to my home website where you will find additional contact details.

    Good Luck and clear code!

Topic Closed

This topic has been closed to new replies.

About this Topic