Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #204087

    Hi,

    I’d like to use the ALE to edit the portfolio preview section that shows up in the Ajax Portfolio.
    It will make editing a lot easier and make it possible to use templates instead of having to do everything all over again using shortcodes.

    OR

    Is it possible to use portfolio item’s content instead of the preview section?

    Thanks!

    #204114

    Hi Adame!

    No, this isn’t possible. The ajax portfolio view by its nature must be limited in design.

    Regards,
    Devin

    #204136

    Thanks.
    UPDATED

    Just in case anybody wants to use the Ajax Portfolio BUT feels that they don’t need a portfolio preview section coz they’ll replicate the same content … and take advantage of the ALE (I use it for the accordion + a specific layout template) here’s a little hack for ya :

    File : config-templatebuilder/avia-shortcodes/portfolio.php
    Line : 550

    replace this line ~

    $content = str_replace(‘]]>’, ‘]]>’, apply_filters(‘the_content’, $params[‘text’] )); unset($params[‘text’]);
    ______________________________________

    $content = str_replace(‘]]>’, ‘]]>’, apply_filters(‘the_content’, $entry->post_content )); unset($params[‘text’]);

    This will allow you to use entry’s content instead of the portfolio preview.

    Cheers.

    • This reply was modified 10 years, 10 months ago by Adame. Reason: Updating
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Use Advanced Layout Editor in portfolio's preview section’ is closed to new replies.