Custom fields in the project details table (project page)

This topic has 8 replies, 2 voices, and was last updated 9 years, 8 months ago ago by Eva Kemp

  • Avatar: devodrome
    devodrome
    Participant
    March 29, 2015 at 18:35

    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

    7 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    March 30, 2015 at 12:16

    Hello,

    Please provide us with a link of a page where you want to add more fields.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: devodrome
    devodrome
    Participant
    March 30, 2015 at 12:45

    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

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    March 30, 2015 at 19:20

    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.

    Avatar: devodrome
    devodrome
    Participant
    March 30, 2015 at 21:34

    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

    Avatar: Eva
    Eva Kemp
    Support staff
    March 31, 2015 at 08:12

    Hello,

    Yes, the lines that you add in the file will also appear in wp-admin panel.

    Regards,
    Eva Kemp.

    Avatar: devodrome
    devodrome
    Participant
    March 31, 2015 at 09:08

    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

    Avatar: Eva
    Eva Kemp
    Support staff
    March 31, 2015 at 13:51

    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.

  • Viewing 8 results - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.