Find Jobs
Hire Freelancers

Tweak wordpress theme back-end management of Portfolio items

$10-30 USD

Closed
Posted about 7 years ago

$10-30 USD

Paid on delivery
Hi, 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/[login to view URL] 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 [login to view URL] 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] ); else $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; } die(); } 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. Thanks.
Project ID: 13089708

About the project

24 proposals
Remote project
Active 7 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
24 freelancers are bidding on average $47 USD for this job
User Avatar
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 have more than 2 years experience in Computer Security, Web security and virus removal. I can work under any work pressure or rigid deadlines. I look forward to being hired by you Thank's Rinkul
$50 USD in 1 day
4.8 (110 reviews)
6.9
6.9
User Avatar
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 Jalal Wordpress Developer
$25 USD in 1 day
5.0 (49 reviews)
5.7
5.7
User Avatar
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 interest in your project. I have gone through the requirement you provided in message. I believe we are enough capable to deliver your project. Thanks
$30 USD in 2 days
5.0 (12 reviews)
4.6
4.6
User Avatar
I am a custom PHP plus WordPress expert having an experience of 3 years. I can help you achieve this task as i have done similar tasks before and can do this work real quick for you and within no time. Kindly respond to my request so we can talk further. Awaiting for your positive reply. Thanks!!
$10 USD in 0 day
5.0 (25 reviews)
4.6
4.6
User Avatar
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 find ourselves fit for project work, as we have developed several projects with approx. similar features and functionalities. Looking forward for small conversation to discuss your complete scope of work and suggest/recommend you complete solution. Thanks
$25 USD in 1 day
3.9 (15 reviews)
3.9
3.9
User Avatar
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. Regards tw.
$45 USD in 2 days
5.0 (2 reviews)
1.7
1.7
User Avatar
I have a vast experience of working on wordpress website and could able to fix this issue in less time. Do hire me and you wont regret :)
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of THAILAND
Bangkok, Thailand
0.0
0
Member since Jan 27, 2017

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.