I am having the exact same problem as EngineRoomWeb regarding /betheme-child/includes/content-portfolio.php. I understand your comment about the complexities of modifying theme shortcodes in the child theme--that makes sense -- but is it related to content-portfolio.php? I want to be able to add some additional values to the content-portfolio.php page.
@vickeryhill Yes, this is exactly the same situation. If you will check the link to codex wordpress we sent above, you will realize that child theme works only with 2 files: style.css and functions.php file and all changes need to be done inside those files only.
@fredperes We are sorry but what you ask for requires files customization what in reference to Item Support Policy is not allowed. So if you want to modify files and don't know how, you should contact with your web developer.
@fredperes Yes, it is possible and it can be done exactly the way we explained above. However, if it does not work on your end, it means you did something wrong. Please understand that we can not do any exceptions and offer files customization. And this is what you exactly ask for.
Ok, understood. Your support don't want that we customize some files. I managed using shortcodes.I like the theme a lot, but unfortunately it's clear that we have to stay locked of the options.
@fredperes Please understand that we can not customize your theme files and then be responsible for these customization. Such kind of support is not included into license and for all customization only website developer need to be always responsible. It's obvious that we can not do that because after that for example 5000 other people would ask for other customization and as you understand, we won't be able to handle it on our end. It's just impossible.
I'm with fredperes here. We want to customize files and know how to do it, but we could use some help from you to make it as easy as using the "require_once" example, which does not work with most files (same error with mfn_opts_get()), and this could be solved if the parent-theme functions.php was better prepared for function overriding.
Hope something can be done for this in the near future. We really love your theme, but theme extension/customization is really important for a lot of us as customers.
@capo_saric We have no idea what you ask for now exactly because everything about including files into child theme has been explained above and this is the only proper method to overwrite files. Theme functions, has been also properly prepared and can be overwritten inside functions.php so you must be missing something if you have a problems with functions overwriting.
We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.
Cookies are small text files that can be used by websites to make a user's experience more efficient.
The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.
This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.
You can at any time change or withdraw your consent from the Cookie Declaration on our website.
Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.
Please state your consent ID and date when you contact us regarding your consent.
Comments
we don't know what you do exactly but if you try to upload this file into child theme, it won't work because child theme does not allow to upload own files. More information about this you can read on http://forum.muffingroup.com/betheme/discussion/3128/theme-shortcodes-php-doesn-t-work-in-betheme-child and also you should check wordpress documentation https://codex.wordpress.org/Child_Themes
Thanks!
1. Copy include-portfolio.php to child theme directory /includes
http://pasteboard.co/e6HxIf0z.png
2. Edit child theme functions.php and add below line: http://pasteboard.co/mKPlN5o9w.png
This line is required because of the existence of functions in the include file.
Fatal error: Call to undefined function mfn_opts_get() in wp-content/themes/betheme-child/functions/theme-shortcodes.php on line 5260
Thanks for understanding!