Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1348955

    Hi,

    I have a customization that breaks when I try to update to the newer versions of Enfold. I suspect this is because I have a file av-helper-masonry.php in my child theme that nowadays seems to be class-avia-masonry.php

    #1349333

    Hey Zest,

    Thank you for the inquiry.

    In the class-avia-masonry.php file, you should see this same code around line 640. You can place the modification after this block of code starting from line 691.

    if( strpos( $this->config['caption_elements'], 'excerpt' ) !== false && ! empty( $content ) )
    					{
    						$markup = avia_markup_helper( array( 'context' => 'entry_content', 'echo' => false, 'id' => $entry['ID'], 'custom_markup' => $this->config['custom_markup'] ) );
    						$items .=	"
    <div class='av-masonry-entry-content entry-content' {$markup}>{$content}</div>
    ";
    					}
    

    Best regards,
    Ismael

    #1349758

    Thank you, thank you, thank you 😀

    #1349791

    Hi,
    Glad Ismael could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Masonry av-helper-masonry.php => class-avia-masonry.php migration’ is closed to new replies.