Why image attachment template is different than single post (3 posts)

  1. gopalpatel18
    Posted 2 years ago #

    Dear friends,

    I have some problem in my image attachment page, when i open single post it's as it is, but when i click on image it opens attachment page but template changes. means sidebar goes off (it's by default i know, but i don't want to remove sidebars). and background also goes

    can any one knows how to solve this problem.

    snapshot link of both single and attachment post is given below.
    single post : Image
    attachment :Image

  2. ronangelo
    Posted 2 years ago #

    That really depends on the theme you are using. You can create your own attachment template if you want. Or you can just use a lightbox plugin to show full images.

  3. gopalpatel18
    Posted 2 years ago #

    thanks dear,

    but i want to show image on single post template with sidebar as it is.

    I tried to put image.php code to single.php (theme Costa), but failed.

    can you give me proper solution ?


Topic Closed

This topic has been closed to new replies.

About this Topic