Support

Account

Home Forums Front-end Issues Something wrong… Reply To: Something wrong…

  • nothing…

    i show u the complete part of code.. i would to replace the part in bold (&content) with 3 custom field i’ve insert for a portfolio item..

    //title and excerpt
    if($this->atts[‘caption_elements’] != ‘none’ || !empty($text_add))
    {
    $items .= “<figcaption class=’av-inner-masonry-content site-background’><div class=’av-inner-masonry-content-pos’><div class=’avia-arrow’></div>”.$text_before;

    if(strpos($this->atts[‘caption_elements’], ‘title’) !== false){
    $items .= “<h3 class=’av-masonry-entry-title entry-title’>{$the_title}</h3>”;
    }

    if(strpos($this->atts[‘caption_elements’], ‘excerpt’) !== false && !empty($content)){
    $items .= “<div class=’av-masonry-entry-content entry-content’>{$content}</div>”;
    }

    $items .= $text_after.”</div></figcaption>”;
    }
    $items .= “</figure>”;
    $items .= “</{$html_tags[1]}><!–end av-masonry entry–>”;
    }

    thx!