We are using Vantage Premium for our real estate website. Now that I am properly naming the photos with the property address for SEO and it is working, can I edit the design of the Attachment Page that comes up. Can I “quick edit” to enable comments?
Attachment Pages
This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.
Hi Tom
When using quick edit if you do not see the option to enable comments, please click on screen options at the top and check the box to enable comments. This should do it. If the option does not appear please check Settings->Discussion and check that the option to allow user to make comments on posts is enabled.
Let us know how you get on
Magus
yes, I can quick edit and disable comments, but what about the attachment page when someone double clicks on the photo? If they clicked on what I have as a thumbnail, they will get a view of the full size photo on an attachment page. Any way to edit the generic attachment page that is created?
Hi Guys
Attachment pages display comments by default. If you’re browsing the vantage theme folder, the attachment template is called image.php. There you’ll find on line 59:
Are you looking to disable comments on the attachment page?
(Linking to the attachment page is optional)
Yes we are looking to disable comments
The comment field on the attachment page unfortunately doesn’t respond to any WordPress settings. Something we’ll need to look into.
You could hide the comment fields by inserting the following under Appearance > Custom CSS:
To remove the comments without the CSS hide you’d need to use a child theme. Below is a starter child theme. You’d need to install and activate the child theme and then copy (not cut) image.php from the parent vantage folder into the child vantage folder and comment out or remove line 59.
https://siteorigin.com/wp-content/uploads/2015/03/vantage-child-starter.zip