Support Forums for LiveMesh Themes & Plugins › Forums › Enigmatic Theme Support › Editing Portfolio Custom Fields in the Backend
Tagged: backend, custom fields, portfolio, WP
- This topic has 8 replies, 2 voices, and was last updated 7 years, 6 months ago by
jaygm.
-
AuthorPosts
-
July 11, 2013 at 4:02 pm #1114
jaygm
MemberHi,
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!!
July 12, 2013 at 3:30 am #1115livemesh
KeymasterYou 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.
July 12, 2013 at 3:31 am #1116livemesh
KeymasterWill make sure the custom field option stays with the next update so that you do not have to repeat it with each update. Thanks
July 15, 2013 at 3:07 pm #1127jaygm
Memberthanks to you!!
July 17, 2013 at 9:06 am #1145jaygm
MemberEy, 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 thingI was wondering if you could possibly help me finding the place where this info is edited.
Thanks in advance for your patience.
JayJuly 17, 2013 at 9:34 am #1148livemesh
KeymasterHi,
Please take a look at single-portfolio.php file starting from line no. 50. Get back to me if you need further help. Thanks!
July 22, 2013 at 11:42 am #1208jaygm
MemberEy, 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.
July 23, 2013 at 1:18 pm #1219livemesh
KeymasterNo 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. ThanksJuly 24, 2013 at 8:39 am #1223jaygm
MemberDone. But the file was here: /framework/admin/portfolio-admin.php
Anyway, thanks!! -
AuthorPosts
- You must be logged in to reply to this topic.