WordPress.org

Ready to get started?Download WordPress

Forums

Removing EXIF data from Cakifo (2 posts)

  1. JMCrooks
    Member
    Posted 1 year ago #

    Hi I am helping an artist friend build a site and at this point he has dozens of photos uploaded and placed. I have searched on how to remove the exif data but the fixs I have found don't line up with the Cakifo theme (ie the theme uses different terms in CSS) and I can't for the life of me find it. Any help would be great as I really don't want to run every photo through Photoshop and re-upload.

    Thanks

  2. Jesper Johansen (jayjdk)
    Member
    Posted 1 year ago #

    Hello,

    I recommend you create a child theme and put this in the functions.php:

    Try to put this in a child theme functions.php:

    <?php
    /* Do theme setup on the 'after_setup_theme' hook. 11 runs after parent theme, 9 runs before */
    add_action( 'after_setup_theme', 'cakifo_child_theme_setup', 11 );
    
    /**
     * Theme setup function.
     */
    function cakifo_child_theme_setup() {
    	/* Get action/filter hook prefix */
    	$prefix = hybrid_get_prefix();
    
    	add_action( "{$prefix}_image_info", '__return_false' );
    }
    ?>

    I hope that helps you. If you have any more questions, I recommend you sign-up for support on Theme Hybrid.

    - Jesper

Topic Closed

This topic has been closed to new replies.

About this Topic