New Landing How can we help? Atelier Post image and author

Viewing 3 posts - 16 through 18 (of 18 total)
  • Posted in: Atelier
  • #279646
    David Martin – Support
    Moderator
    Post count: 20834

    Can you add your FTP details?

    Thanks.

    #281072
    sbnuman
    Member
    Post count: 34
    This reply has been marked as private.
    #281667
    David Martin – Support
    Moderator
    Post count: 20834

    Great, thanks.

    I have now implemented this change for you. Please check your older posts. My initial tests look positive.

    My Actions:

    1) I enabled your child theme. Inside the child functions.php file I added this function: http://pastie.org/private/re8meixt0uov0eigeu6ww.

    2) In the main parent theme, I had to change this file as I could not overwrite this within a child theme: /themes/atelier/swift-framework/layout/single-post.php

    Changed this:

    `$fw_media_display = sf_get_post_meta( $post->ID, ‘sf_fw_media_display’, true );
    $media_type = sf_get_post_meta( $post->ID, ‘sf_media_type’, true );`

    To this:

        $fw_media_display = sf_get_post_meta( $post->ID, 'sf_fw_media_display', true );
        $media_type       = sf_get_post_meta( $post->ID, 'sf_media_type', true );
        if ( $fw_media_display == "" ) {
        	$fw_media_display = "standard";
        }

    As I could not overwrite no.2 within a child theme, if you update the theme, please add in the above as detailed.

    Thanks,
    David.

Viewing 3 posts - 16 through 18 (of 18 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register