This topic has 8 replies, 2 voices, and was last updated 9 years, 8 months ago ago by Eva Kemp
Hello,
How could I add more fields (custom fields) besides the already existing fields in Custom Settings / Item Information?
My goal is to get more fields (information) displayed in the PROJECT DETAILS table from the project page. Is there any way to do that?
Thanks,
Victor
Hello,
Please provide us with a link of a page where you want to add more fields.
Thank you.
Regards,
Eva Kemp.
Hello Eva,
Here is the project page (check the private content). Please note that the link is just for demo purposes, so I would need instructions that I could apply on the final website.
I would like to be able to add more (custom) fields to the PROJECT DETAILS table besides the standard ones (Client and Copyright).
You could also check on that demo link the Portfolio related issues I reported on the other topic (https://www.8theme.com/topic/portoflio-page-linksbreadcrumbs/).
Thanks,
Victor
Hello,
You can add more fields editing the file wp-content/themes/idstore/single-etheme_portfolio.php (line 115 and below). Just copy the code as it’s created for “Client” and “Copyright” details and add it below these lines.
Regards,
Eva Kemp.
Hello Eva,
I do not just want adding some static text there, but to have more custom fields to the project in the admin section.
Would simply adding a few lines of code there (similar to “Client”) make the new field available in the admin section?
Thanks,
Victor
Hello,
Yes, the lines that you add in the file will also appear in wp-admin panel.
Regards,
Eva Kemp.
Eva,
Did you try that? It does not work if I follow your instructions because you gave me just half of the solution.
In order to make the custom fields available in the admin panel, I have to also do the following changes to the idstore/code/portfolio.php file:
– add the custom fields in the array “$product_defaults” (below the line 297)
– add their corresponding labels and input fields after the line 276 (following the model of the existing fields).
Am I right?
Victor
Hello,
Yes, you’re.
Sorry, my fault. There are a lot of work and I might have missed some information.
Please take my apologies.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up