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

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

    Here’s a link to a single post : https://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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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!

    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: https://codex.www.ads-software.com/Category_Templates

    Thread Starter activ_x

    (@activ_x)

    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.

    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!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Images show in Home page, but not Single Posts’ is closed to new replies.