Find Jobs
Hire Freelancers

Create a Wordpress Template

$8-15 USD / hour

In Progress
Posted about 10 years ago

$8-15 USD / hour

I have a php form with file upload that passes vars into a page that renders the data into a Wordpress post. The form: <form action="../formrender" method="post" dir="rtl" enctype="multipart/form-data"> <input name="bizname" type="text" /> <input name="adress" type="text" /> <input name="tele" type="text" /> <input name="site" type="text" /> <input name="email" type="text" /> <input name="facebook" type="text" /> <input name="video" type="text" /> <input name="plus" type="text" /> <input name="cat" type="text" /> <input name="tags" type="text" /> <textarea name="about" cols="" rows=""></textarea> <input name="logo" type="file" /> <input name="send" type="submit" value="הוסף עסק לאינדקס"> </form> The form rendering file: <?PHP $bizname=$_POST['bizname']; $adress=$_POST['adress']; $tele=$_POST['tele']; $site=$_POST['site']; $email=$_POST['email']; $facebook=$_POST['facebook']; $video=$_POST['video']; $plus=$_POST['plus']; $filename=$_POST['logo']; $tags=$_POST['tags']; $cat=$_POST['cat']; $about=$_POST['about']; $content= all the vars $$$$$$$$$ $my_post = array( 'post_name' =>$bizname, // The name (slug) for your post 'post_title' => $bizname, 'post_content' => '$content', 'post_status' => 'publish' ); // Insert the post into the database $post_id = wp_insert_post( $my_post ); $wp_filetype = wp_check_filetype(basename($filename), null ); $wp_upload_dir = wp_upload_dir(); $attachment = array( 'guid' => $wp_upload_dir['url'] . '/' . basename( $filename ), 'post_mime_type' => $wp_filetype['type'], 'post_title' => preg_replace( '/\.[^.]+$/', '', basename( $filename ) ), 'post_content' => '', 'post_status' => 'inherit' ); $attach_id = wp_insert_attachment( $attachment, $filename, $post_id ); // you must first include the [login to view URL] file // for the function wp_generate_attachment_metadata() to work require_once( ABSPATH . 'wp-admin/includes/[login to view URL]' ); $attach_data = wp_generate_attachment_metadata( $attach_id, $filename ); wp_update_attachment_metadata( $attach_id, $attach_data ); ?> It only opens a new blank post without content or image or title. need wordpress help pls call via skype - loroze
Project ID: 5535378

About the project

8 proposals
Remote project
Active 10 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
Awarded to:
User Avatar
Dear Sir, We have 7 years experience on Wordpress, HTML, CSS, JavaScript, PHP, MySQL, etc. We have gone through all of the requirements for your project. Very familiar with wordpress, theme customization, plugin development and responsive design (Bootstrap also). We have professional level expertise driven by experience, professional wisdom and enthusiasm; we offer you cost effectiveness, functionality, the uniqueness of design and friendliness flexibility but effective working. We have developed many Wordpress site, you may visit some of them: 01. [login to view URL] 02. [login to view URL] 03. [login to view URL] 04. [login to view URL] 05. [login to view URL] 06. [login to view URL] 07. [login to view URL] 08. [login to view URL] 09. [login to view URL] 10. [login to view URL] 11. [login to view URL] 12. [login to view URL] 13. [login to view URL] 14. [login to view URL] 15. [login to view URL] 16. [login to view URL] 17. [login to view URL] 18. [login to view URL] and so on. However, if you give us a chance to work with you then we think you will find that how much dedicated and skilled people we are. Thanks in advance. Have a nice time. Best regards
$15 USD in 10 days
4.8 (262 reviews)
7.4
7.4
8 freelancers are bidding on average $11 USD/hour for this job
User Avatar
Hello, I am a programmer with 3+ years in progarmming.I can create this wordpress template for you.I understand your requirements in brief. lets discuss more in skype.I would like to discuss more about it in detail. Regards Alisha
$8 USD in 10 days
5.0 (10 reviews)
4.6
4.6

About the client

Flag of ISRAEL
Tel Aviv, Israel
0.0
0
Member since Oct 8, 2012

Client Verification

Other jobs from this client

wp developer nedded
$30-250 USD
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.