Okay
  Public Ticket #2240645
Portfolio Page with Elementor
Closed

Comments

  •  2
    MaxMalte started the conversation

    Hello,

    I'm trying to add a new portfolio site but elementor says that "the_content" function is missing. Is there a way to fix this? I need asap a new portfolio site and would love to work with Elementor.

    WPBakery just doesn't deliver the functions i need for a new page. Especially the masonry media grid responsiveness isn't great. I tried to disable the masonry stacking on mobile device but i can't seem to fix it.

    Edit:
    Second question; is there a way to add content under a preset portfolio page? I have a columned portfolio page and want to more content under the portfolio pictures.

    Second Edit:
    A solution for the problem above would be to introduce the possibility to assign display sites portfolio categories. Is there a way to do that?



    Best regards,
    Max

  •  510
    Arlind replied

    Hi Max,

    To create a custom Portfolio page and arrange content as you want it is required to use WPBakery since we support Portfolio Items in WPBakery Editor. Unfortunately there is no way for Elementor to manage that page except moving the "the_content" function under or above the portfolio items. 

    For this, you need to create a page with Portfolio Page template and then edit with Elementor. Normally, the_content is called after page title but we can move that below or above the portfolio items, I just need to login to your site and apply the code, you have to tell me where to put the Elementor content.

    I hope this works for you.

    Kind regards,
    Arlind


      Documentation        Follow on Envato         Like on Facebook

  •   MaxMalte replied privately
  •   MaxMalte replied privately
  •  510
    Arlind replied

    Hi Max,

    I have modified "tpls/portfolio-single-2.php" and moved "the_content" below portfolio gallery:

    medium
    (view large image)

    So now when you edit the page with Elementor it displays after the content added by our theme:

    https://d.pr/v/TwnBYf

    Does this work for you?

    As for "assign display pages portfolio categories" what do you really mean here because I am unable to figure out what this exactly means.

    Kind regards,
    Arlind


      Documentation        Follow on Envato         Like on Facebook

  •   MaxMalte replied privately
  •  510
    Arlind replied

    Hi Max,

    Do you mean categories to have thumbnails such as clicking the portfolio category to show the thumbnail assigned to the category?

    I am sorry if I understand you wrong but I was unable to figure out exactly what you mean.

    Kind regards,
    Arlind


      Documentation        Follow on Envato         Like on Facebook

  •   MaxMalte replied privately
  •  510
    Arlind replied

    Hi Max,

    Thank you for your wishes, I wish you also a great year for you, hopefully you had a wonderful holiday break.

    I have added this code in functions.php of Child Theme:

    // Portfolio tags for pages
    function add_portfolio_tags_to_pages() {
        register_taxonomy_for_object_type(
            'portfolio_tag',
            'page'
        );
    }
    add_action( 'init', 'add_portfolio_tags_to_pages', 100 );
    
    And the portfolio tags are applied to Pages as well:

    medium
    (view large image)

    Does this works for you?

    Kind regards,
    Arlind


      Documentation        Follow on Envato         Like on Facebook

  •  2
    MaxMalte replied

    Sorry for the late response. 

    Evertything is fine now. Thank you very much.
    And another question is on the way: Is it possible to implement the laborator portfolio to the elementor page builder? I really love your portfolio design.

    With best regards,

  •  510
    Arlind replied

    Hi MaxMalte,

    I am glad that the code worked for you.

    Regarding to your other question it is great idea and I have added to our todo list to implement this feature and try my best to bring this in the end of January 2020.

    Kind regards,
    Arlind


      Documentation        Follow on Envato         Like on Facebook

  •  2
    MaxMalte replied

    Hey Arlind,

    Awesome. Then i see the ticket as closed and wish you a nice week.

    With best regards