Okay
  Public Ticket #2484404
Custom fields and child use
Closed

Comments

  • Simon started the conversation

    I'm building a website for school projects. I want to use the portfolio for each project. Two questions:

    1) When I add .php files to the child theme (on the exact same path), this seems not to work. When i do so in the parent thema (eg. in the page-header template) it does work. What am i overlooking?

    2) I made custom fields (for 'school name', 'school city',...) and want them to be display below the portfolio tiles (inserted throught the visual builder). When I write my lines in the template-portfolio.php ( > work-meta) there seems nothing to happen. I suppose i'm not finding the right orginal source file...

    3) How do I change the language of the 'all' in the portfolio filters.

    I notice some stuff switched locations in the theme since i used it before, so any help would be welcome. thanks!

  •  1,089
    ThemeNectar replied

    Hey Simon,

    1. For the files in nectar/helpers, you'll need to override specific functions within the file instead of the entire file. For example, you can copy the function "nectar_page_header" into a child theme functions.php file for overriding.

    2. The output file that controls the markup for that element is located at wp-content/plugins/salient-portfolio/includes/frontend/shortcode.php

    3. That can be translated via a .po file. The string is located in the "salient-portfolio" text domain. Take a look at the documentation here in regards: http://themenectar.com/docs/salient/translations/#translating

    Cheers