0

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
Contributors
1
Reply
8
Views
4 Years
Discussion Span
Last Post by pixelsoul
0

If you theme has an attachment.php then it is using this file to display the image, which in that case you would need to edit this file to your liking. If you don't have an attachment.php then the theme is most likely using index.php which is the default. You can always add attachment.php to the theme if it doesn't exist and then your attachments will open in this file.

Here is a link to information that explains the hierarchy of Wordpress themes
http://codex.wordpress.org/Using_Image_and_File_Attachments#How_Image_and_File_Attachments_Work_in_WordPress_2.0_Posts

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.