Editing Portfolio Custom Fields in the Backend

Support Forums for LiveMesh Themes & Plugins Forums Enigmatic Theme Support Editing Portfolio Custom Fields in the Backend

This topic is: resolved

This topic contains 8 replies, has 2 voices, and was last updated by Jaygm jaygm 5 years, 12 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1114
    Jaygm
    jaygm
    Member
    Post count: 25

    Hi,

    I am trying to edit portfolio custom fields in the backend but I cannot find where I have to do that. I have change the fields that the visitor sees but I also want to change those that the editor sees (project URL, author, Date, additional notes). How can i do this? I only need to know the file.

    I am also trying to change next and previous but I didn’t find where this is located either.

    Thanks in advance and great theme!!

    #1115
    Livemesh
    livemesh
    Keymaster
    Post count: 1011

    You need to change the /framework/framework.php file at line number 350 to add custom-fields to supported features for custom post type –

            register_post_type('portfolio', array('labels' => $labels,
    
                    'public' => true,
                    ....
                    'menu_position' => 20,
                    'supports' => array('title', 'editor', 'thumbnail', 'comments', 'excerpt', 'custom-fields')
                )
    

    Then the custom fields option should show up on ‘Screen Options’ on the top right of the portfolio edit window.

    And you can change the next and previous code in loop-nav.php file at line number 21.

    #1116
    Livemesh
    livemesh
    Keymaster
    Post count: 1011

    Will make sure the custom field option stays with the next update so that you do not have to repeat it with each update. Thanks

    #1127
    Jaygm
    jaygm
    Member
    Post count: 25

    thanks to you!!

    #1145
    Jaygm
    jaygm
    Member
    Post count: 25

    Ey, Thanks for your support but this wasn’t exactly what I need. I have to edit this info in the backend and I need to replace it with other things…
    Project URL -> Google Maps link
    Author -> other thing
    Client -> geographic coordinates
    project Date -> other thing

    I was wondering if you could possibly help me finding the place where this info is edited.

    Thanks in advance for your patience.
    Jay

    #1148
    Livemesh
    livemesh
    Keymaster
    Post count: 1011

    Hi,

    Please take a look at single-portfolio.php file starting from line no. 50. Get back to me if you need further help. Thanks!

    #1208
    Jaygm
    jaygm
    Member
    Post count: 25

    Ey, at single portfolio I have changed that info for visitors… but I want to change it in the backend as you see here for editors -> http://i40.tinypic.com/1554g07.png how do I change these fields for editors?

    Sorry for not explaining myself correctly from the beggining… And thanks for your patience.

    #1219
    Livemesh
    livemesh
    Keymaster
    Post count: 1011

    No problems. You would just change the file /framework/admin/tinymce/portfolio-admin.php file. Just have a look at the code starting at line number 150. Thanks

    #1223
    Jaygm
    jaygm
    Member
    Post count: 25

    Done. But the file was here: /framework/admin/portfolio-admin.php
    Anyway, thanks!!

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.