Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #981941

    Hello,

    In previous versions of Enfold I had applied the indicated change on a next post to put a shortcode in the excerpt (currency converter) and it worked fine.
    ——————–
    You need to modify /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/portfolio.php – open the file and replace

    $ output. =! empty ($ excerpt)? “<div class = ‘grid-entry-excerpt entry-content'” .avia_markup_helper (array (‘context’ => ‘entry_content’, ‘echo’ => false)). “>”. $ excerpt. “</ div > “: ”;

    with

    $ output. =! empty ($ excerpt)? “<div class = ‘grid-entry-excerpt entry-content'” .avia_markup_helper (array (‘context’ => ‘entry_content’, ‘echo’ => false)). “>”. do_shortcode ($ excerpt). ” </ div> “: ”;
    ——————–

    But now in the latest version of Enfold, I do not find this code to change it. What must be done now?

    Thank you Enfold

    #981966

    Rikard, Ismael? Nobody can help me?

    #982066

    I have the same problem

    #982080

    SOLVED:
    /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/portfolio/portfolio.php
    Change line 652
    $output .= !empty($excerpt) ? “<div class=’grid-entry-excerpt entry-content’ “.avia_markup_helper(array(‘context’=>’entry_content’,’echo’=>false, ‘id’=>$the_id, ‘custom_markup’=>$custom_markup)).”>”.$excerpt.”</div>” : ”;
    in
    $output .= !empty($excerpt) ? “<div class=’grid-entry-excerpt entry-content’ “.avia_markup_helper(array(‘context’=>’entry_content’,’echo’=>false, ‘id’=>$the_id, ‘custom_markup’=>$custom_markup)).”>”.do_shortcode($excerpt).”</div>” : ”;

    #982332

    Hi manurimini,

    Great, glad you found a solution and thanks for sharing. Did you try that out @kohlidays_kohsamui?

    Best regards,
    Rikard

    #982420

    Thanks a lot Manurimini. It’s works like a charm. Perfect. Thanks Rikard. Have both a great day.

    #982636

    Hi,

    Great, glad you got it working. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #1089179

    Hello, I tryng to make the same, Need to read shortcode in the excerpt.. But I cannot find this:
    $ output. =! Empty ($ excerpt)? “<Div class = ‘grid-entry-excerpt entry-content'” .avia_markup_helper (array (‘context’ => ‘entry_content’, ‘echo’ => false, ‘id’ => $ the_id, ‘custom_markup’ => $ custom_markup)). “>”. $ excerpt. “</ div>”: “;

    Help me please

    #1089658

    Hi Sachasilvestri,

    You should find it in wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/portfolio/portfolio.php (line 657 in Enfold 4.5.5).
    Hope this helps.

    Best regards,
    Nikko

    #1091137

    Hi Nikko!!
    Thanks for your reply!
    unfortunately no… the shortcodes does not work in excerpts … pherhaps something wrong or maybe I did not understand how I have to do …
    I am interested in being able to put diversified excerpts for the same articles shown in more galleries and in more pages (they are pages that replace archive pages), so I need to be able to do more excerpts or to add a custom field to add content under the previews.
    For this reason, if is possible make readable the shortcodes in the excerpt, I could use it to diversify ….
    in my Portfolio.php file there is this code .. but it still doesn’t work:

    $output .= !empty($excerpt) ? “<div class=’grid-entry-excerpt entry-content’ “.avia_markup_helper(array(‘context’=>’entry_content’,’echo’=>false, ‘id’=>$the_id, ‘custom_markup’=>$custom_markup)).”>”.do_shortcode($excerpt).”</div>” : ”;
    $output .= !empty($title) || !empty($excerpt) ? “</div>” : ”;
    $output .= ‘<footer class=”entry-footer”></footer>’;
    $output .= “</article>”;
    $output .= “</div>”;
    }
    I hope in a prompt reply
    Sincerly,
    Sacha

    #1091379

    Hi Sacha,

    Can you give a sample content you added for your excerpt? so we can have more context.

    Best regards,
    Nikko

    #1091385

    Yess sure, I whrite in private

    #1092342

    Sorry Nikko, or someone…
    There are no reply for this issue?
    Sincerly
    Sacha

Viewing 13 posts - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.