WordPress.org

Support

Support » Themes and Templates » Why image attachment template is different than single post

Why image attachment template is different than single post

  • 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

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

    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 ?

    thanks…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Why image attachment template is different than single post’ is closed to new replies.
Skip to toolbar