Okay
  Public Ticket #2346418
Add excerpt to portfolio
Closed

Comments

  • federico started the conversation

    Hello, I had  to add the Excerpt to the portfolio list. 
    I managed to add the meta toggle in Elementor and I also added the Excerpt in the theme Bifrost Child: templates > portofolio > type > meta-outside

    I had to change the Neuron plugin code to achieve it. Is there a better way of doing it, without changing the source code of the plugin ? 

  •  675
    Neuron replied

    Hi Federico,

    I am very sorry for the late reply.

    Can you please let me know how you've added it on neuron code? So, we can plan something into the new update and you don't have to worry about the crash.

    You can use the start_injection function

    - https://code.elementor.com/methods/elementor-controls_stack-start_injection/

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  • federico replied

    Yes, I removed the post_type condition in the in widgets / posts / base.php file.

    I've noticing there are plenty of defined settings like this which limit features by post-type, which reduce the flexibility of what can be done. 
    Why don't allow the expert on all post_type ?


    Another one is the sidebar widget Category list, or the Recent post.  They work exclusively with the Post post_type, so I had to create my own widget to have exactly the same feature but allowing to enter the taxonomy name or post_type. 


    I will also need to create my own Elementor Elements and I was trying to extend the Neuron Code Plugin, but I don't know if it is better to create a new plugin instead. 


  •  675
    Neuron replied

    Hi Federico,

    We're working into extending the Neuron Core plugin and make it work with all Custom Post Types, it was our fault that we did not start from the beginning with that, I apologize on that. Usually there are not many people who want to extend the code, but we'll definitely will look forward onto it.

    I would suggest you into creating a new plugin and not extending directly Neuron Core Plugin, because in case any update, you would not lose a thing.

    Please let me know if I can help you with anything similar, I'll be pleased to help.

    You can have a look into this article from Elementor, they explain it on details.

    https://developers.elementor.com/creating-an-extension-for-elementor/

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.