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.


Taidot: PHP, WordPress

Näytä lisää: 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

Tietoa työnantajasta:
( 0 arvostelua ) Bangkok, Thailand

Projektin tunnus: #13089708

26 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


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 Lisää

$29 USD 2 päivässä
(44 arvostelua)

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

$100 USD 1 päivässä
(123 arvostelua)

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 Lisää

$50 USD 1 päivässä
(89 arvostelua)

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 Lisää

$100 USD 1 päivässä
(124 arvostelua)

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 Lisää

$30 USD 1 päivässä
(85 arvostelua)

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 Lisää

$25 USD 1 päivässä
(39 arvostelua)
$25 USD 1 päivässä
(58 arvostelua)

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 Lisää

$50 USD 2 päivässä
(46 arvostelua)
$55 USD 1 päivässä
(145 arvostelua)

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 Lisää

$25 USD 1 päivässä
(30 arvostelua)

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 Lisää

$30 USD 2 päivässä
(12 arvostelua)

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 Lisää

$25 USD 1 päivässä
(16 arvostelua)

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 Lisää

$250 USD 0 päivässä
(22 arvostelua)
$28 USD 1 päivässä
(19 arvostelua)

*****************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 Lisää

$55 USD 2 päivässä
(15 arvostelua)

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 Lisää

$40 USD 1 päivässä
(9 arvostelua)

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 Lisää

$25 USD 1 päivässä
(14 arvostelua)

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 Lisää

$25 USD 1 päivässä
(5 arvostelua)

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 Lisää

$25 USD 1 päivässä
(9 arvostelua)

Hi,I'm a Senior PHP/Java Developer with 8 years of professional experience. More about my experience You can read in my profile: I can do this job for You and many others Lisää

$45 USD 2 päivässä
(2 arvostelua)