WordPress.org

Ready to get started?Download WordPress

Forums

Remove comments against individual photos in a photo gallery in Yoko Theme (2 posts)

  1. ottawaohara
    Member
    Posted 1 year ago #

    Hello,

    I'm trying to found out how to remove or hide the option to Comment on an individual photograph in a Photo Gallery. My site is using the Yoko theme. I have seen this issue dealt with for at least one other theme, but the guidance provide as a work around does not seem to work for my theme. I have comments turned OFF for the pages with photo galleries, but if I select a specific image, then Comments are invited. I do not want this. Here is an example of a page with a photo gallery on the site:
    http://www.ottawaohara.com/ohara-fall-exhibition-2011/

    With many thanks.

  2. paulwpxp
    Font hero
    Posted 1 year ago #

    Copy over this file image.php from yoko theme and paste into your childtheme's folder, if you don't already have one, go make one first.

    Child theme
    http://codex.wordpress.org/Child_Themes

    Remove this line
    http://themes.trac.wordpress.org/browser/yoko/1.0.5/image.php#L87

Topic Closed

This topic has been closed to new replies.

About this Topic