There may be a plugin that can do this, but otherwise it will require a child theme and writing bit of code.
Thread Starter
muyf6d
(@muyf6d)
Ok, I’ve had a search around, and installed a couple of plug ins but none of theme seem to be doing much, and when I look it up on the forums for those plug ins all the suggestions require me to edit something on the header php or the child theme, neither of which I really know how to do!
Would you be able to walk me through what I’d need to do?
It would be too complicated to share all the steps here. I went ahead and made a child theme for you instead that can add the link.
All you have to do is activate it on your site and a “return to post” link will be added after the image on the attachment pages like this: http://pics.competethemes.com/image/3q2C023o2C2i. This will work as long as the image is “attached” to a Post.
Here are the steps for activating the child theme:
- Click here to download the child theme
- Visit your site’s dashboard
- Go to the Appearance menu
- Click on the “Add New” button at the top of the page
- Click on the “Upload Theme” button at the top of the page
- Click on the “Choose File” button
- Select the tracks-child.zip file you downloaded from the link above
- Click “Install Now”
- Once the page reloads, click the blue “activate” link
If you’re using a custom menu, you will need to re-select its location from the Menus page. Besides that it should be good to go.
Thread Starter
muyf6d
(@muyf6d)
Ahh! This worked (I have the button) but ALL my custom settings have gone!
Thanks though! I’ll just re-do the customisations. I just thought I’d let you know that it does that, in case anyone else asks of the same thing 🙂
Thanks lots!
R x
Thread Starter
muyf6d
(@muyf6d)
One other thing…
Since I installed the child theme (don’t know if it’s related)… on each posts the ‘categories’ keeps appearing on the left side of the page, on top of the left-most gallery thumbnail (I used CSS code to adjust the padding on the white blog area). I used another CSS code from the snippets collection, to ‘keep post categories at the bottom’ but this doesn’t seem to work… ?
Thanks again in advance!
R xx
Sorry about that!
Could you share a link to a post with the categories showing on the left? I’ll just need to check it out and then I can provide a fix.
Thread Starter
muyf6d
(@muyf6d)
Hi,
Thanks! I’ve sorted it! It turns out I just copied and pasted the css code from the snippet collection incorrectly, I missed out a tag or something.
Thanks!
Ah okay, glad it works now 🙂