Tweak wordpress theme back-end management of Portfolio items


I have a theme that let's me add a 'portofolio' of works. I use a set of images that I upload through the admin panel for 'edit portfolio'. Each image I upload corresponds to a different 'project/work' in that portfolio.

You can name each item in the portfolio within the same back-end form

I want to add the image filename, when I upload the image, to be the TITLE of the portfolio item.

Portfolio Demo

1. You can visit the site and go to dashboard -> portfolios -> add new portfolio

2. Here you can add 'works' which are the images

3. I'd like the 'title' of the work to be read from the image filename, add into the field in the metabox the filename as the title.

Login to site and ftp details in attached images :)

-> Here you can see the code. Let me know if you can FTP into the site.

Files you need to look @

- wp-content/themes/bazar/core/yit/[url removed, login to view]

Handles the custom post type

- wp-content/themes/bazar/core/lib/yit/Portfolio_type/Portfolio_type

Code for managing the portfolio for the theme

You will notice in [url removed, login to view] this function:


* Update images via AJAX


* @since 1.0.0


public function update_items() {

$post_id = isset( $_POST['post_id'] ) ? $_POST['post_id'] : false;

// update items in the post

$items = $this->get_setting( 'items', $post_id );

$uploaded_items = $this->_getImages($post_id);

foreach ( $uploaded_items as $item_id => $args ) {

if ( isset( $items[$item_id] ) )

$items[$item_id] = wp_parse_args( $args, $items[$item_id] );


$items[$item_id] = $args;

$items[$item_id]['title'] = "TEST";


$this->update_setting( 'items', $items, $post_id );

echo json_encode( array_keys( $uploaded_items ) );

foreach ( $items as $item => $value ) {

echo $key . 'has the value' . $value;




This is where the images are uploaded in the back-end to the portfolio.

$items[$item_id]['title'] = "TEST";

This line works. I can see in the debugger that the title element is being changed (and I could then replace this with the filename of the image).

$this->update_setting( 'items', $items, $post_id );

This line should update the 'items' data in the post_id to the new $items array (with the newly set title variable).

But somewhere this is overwritten, and when we return to the page, the portfolio items have no titles.

I believe it is in the metabox for the post_type_unlimited.

Please let me know if you can take a look and let me know the fix & cost.

Am sure it's a call to update_post_meta somewhere, for each title in the array of portfolio items

NOTE: Please let me know if you can FTP into the site before we start discussion.


Compétences : PHP, WordPress

en voir plus : event management website wordpress theme, wordpress theme tweak/transfer, wordpress theme tweak, wordpress theme php files, professional portfolio wordpress theme, shutter photography portfolio wordpress theme, wordpress portfolio items category, wordpress theme required files, optimize wordpress theme portfolio, tweak wordpress theme, high end wordpress theme designer, clone wordpress theme php files, using thesis wordpress theme portfolio, wordpress theme portfolio ecommerce, tweak thesis wordpress theme, converting wordpress theme portfolio, wordpress theme psd files, wordpress theme content management

Concernant l'employeur :
( 0 commentaires ) Bangkok, Thailand

Nº du projet : #13089708

26 freelance font une offre moyenne de $46 pour ce travail


Dear Project Owner, I have gone through your post and would like to apply for same. I have got more than 5 years’ experience in developing and designing websites in LAMP environment and would love to join your project Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(44 Commentaires)

Hi, We're a certified Wordpress [url removed, login to view] let us know what are the queries you are facing so that we can review the case and revert you soon. Thanks & Regards, Deb

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(123 Commentaires)

Hi, I have more than 5 years of experience in working on professional websites and blog designs as well as on developments which consist of relevant skills like Wordpress, Joomla, Php, Html, Css, Js, SEO .I also hav Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(89 Commentaires)

Hi Thanks for posting this requirement. We are, India based website design & development company since 5 years effectively deliver and concentrate in high quality design & development. If you're looking for an aw Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(124 Commentaires)

Dear sir/Madam We are result oriented web design & development agency based in India. We are a team of 20+ professionals for IT Services like- Website Designing, Development and maintenance services, logo design, gr Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(85 Commentaires)

I am Wordpress Developer working from 4 years. As you can see in my profile, I have completed many Wordpress projects. Let me help you a hand in Tweaking WordPress theme back-end management of Portfolio items Adil Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(39 Commentaires)
%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(58 Commentaires)

Dear Sir/Mam As I can see from job posting, you are in need of a wordpress expert who can help you with your Wordpress developer project. Well, I am highly interested in applying for this. I have been working on Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(46 Commentaires)
%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(145 Commentaires)

Hi, I am having more than 7 years experience in web development & designing and project management from scratch as well as maintenance using PHP/MySql, PHP Frameworks like codeiginitor, open source CMS like WordPre Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(30 Commentaires)

Hello Sir/Madam This is steve A.(Business Manager) intellect park. Intellect park is new, growing I.T company. we have strength of 10 professionals working in different technology. I would like to show intere Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(12 Commentaires)

Hello, I am a professional web developer, I am efficient in wordpress website development & theme customization. I can create oustanding & unique design responsive website, wordpress theme and plugin. wordpress Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(16 Commentaires)

Hi, Expert here,ready to start immediately. I will always available to discuss project specs.I have reviewed all your requirements and can deliver exactly what you are looking for, 100% guaranteed. I am confident to Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 0 jours
(22 Commentaires)
%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(19 Commentaires)

*****************NO UPFRONT REQUIRED ********************** Hello Dear, I am rose and i am Expert in web development and mobile development . Please take a look on my work and give me one chance to show my talen Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(15 Commentaires)

Hello, I read your project descriptions. You need wordpress theme back-end management of Portfolio items. I have a 7+ years of experience in wordpress and i assures you that i can do this project perfectly. My goal Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(9 Commentaires)

Hello, We have pool of dedicated team consisting of certified developers capable enough to handle your project exactly according to requirements and within said time frame. As per shared project description we fi Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(14 Commentaires)

Hello…..                 I have go through with your requirement carefully and I can start it immediately.I have more then 11 years works experience as Web Developer . I have made more than 50+ Websites to utilize my Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(5 Commentaires)

Helloo sir, I'm talented and highly experienced Web developer and WordPress Expert. Over the last 7 years. I have a wide variety of skills that I am able to provide my clients. And I am seeking opportunities to build Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(9 Commentaires)

Hi,I'm a Senior PHP/Java Developer with 8 years of professional experience. More about my experience You can read in my profile: https://www.freelancer.com/u/stormitzl.html I can do this job for You and many others Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(2 Commentaires)