- This topic has 8 replies, 2 voices, and was last updated 10 years, 9 months ago by Sakin.
-
AuthorPosts
-
March 17, 2014 at 2:14 am #21506shuttergirlMember
Hi,
I have some printable resources that are image files. I have them inserted into a post via a gallery. When I click on the gallery image, it takes me to the the media/image page. All good so far. But when I view the media/image/attachment, it shows a blank space for the sidebar but no widgets are showing up in it. What can I do to display the widgets in the sidebar for image/media file attachments?
Thanks. 🙂
March 17, 2014 at 2:53 pm #21550SakinKeymaster@shuttergirl: I am but confused so can you explain with your site URL
March 17, 2014 at 4:12 pm #21562shuttergirlMemberartofabeautifullife.com/free-printable-30-day-challenge/30-day-challenge-10000-steps/#main
March 17, 2014 at 7:18 pm #21571shuttergirlMember@Sakin There is no sidebar with widgets to the right, just the blank space of the right sidebar. I would like my widgets to show on this also. Is there a way to do that?
March 17, 2014 at 10:19 pm #21584SakinKeymaster@shuttergirl: Looks like there is issue with the sidebar.php file. Can you replace the code in sidebar.php file with the code in the following file.
https://gist.githubusercontent.com/catchthemes/7e171641112940f05900/raw/4ab95c385025c49e4b5b9bd98e8531c3c99958ed/sidebar.phpMarch 17, 2014 at 10:55 pm #21589shuttergirlMemberHi @Sakin,
I replaced the sidebar.php file in the the theme files, but it is still not showing the widgets in the sidebar.
March 17, 2014 at 11:16 pm #21595SakinKeymaster@shuttergirl: First recheck your sidebar.php file and then to be noted you need to upload the images from that particular post and then create [gallery] shortcode in your post to display the gallery.
If you create image from Media Library and it will not know the page where it was uploaded from. These image will take the Sidebar Layout setup in that particular page.
March 17, 2014 at 11:23 pm #21599shuttergirlMember@sakin, I don’t understand what you mean.
Oh, and actually, that file made the sidebar disappear everywhere. I had to remove it and put the original one back.
March 17, 2014 at 11:32 pm #21600SakinKeymaster@shuttergirl: Ok that’s strange. I think there was problem when you copy it. I have just emailed you. For details reply me there.
-
AuthorPosts
- The topic ‘Display Widgets in Sidebar on Image/Media Page’ is closed to new replies.