mic3000
Forum Replies Created
-
hi Niall Doherty,
i have the same problem…any solution?
Thanks in advance!Forum: Fixing WordPress
In reply to: add_image_sizeThanks for your reply!
But if i need one proportional image with the exact dimensions?
e.g. if i insert one image 1280 x 1024 and i need
image 1. 980 x 300 (cropped)
image 2. 245 x 75 i need this proportional from the image 1 dimensions, because if i use add_image_size( ‘my-thumb’, 245); the height is 196px and not 75px!Forum: Fixing WordPress
In reply to: How to display multiple $meta_boxes into separate tablesAnd How Can i save post data?
Thanks in advance!Forum: Fixing WordPress
In reply to: Add custom field dynamicallyOk with var_dump
array 0 => array 'name' => string 'First Name:' (length=11) 'id' => string 'my_custom_meta_student_first_name' (length=33) 'type' => string 'text' (length=4) 'std' => string '' (length=0) 1 => array 'name' => string 'Last Name:' (length=10) 'id' => string 'my_custom_meta_student_last_name' (length=32) 'type' => string 'text' (length=4) 'std' => string '' (length=0) 2 => array 'name' => string 'Phone:' (length=5) 'id' => string 'my_custom_meta_student_phone' (length=28) 'type' => string 'text' (length=4) 'std' => string '' (length=0) array 0 => array 'name' => string 'First Name:' (length=11) 'id' => string 'my_custom_meta_student_first_name' (length=33) 'type' => string 'text' (length=4) 'std' => string '' (length=0) 1 => array 'name' => string 'Last Name:' (length=10) 'id' => string 'my_custom_meta_student_last_name' (length=32) 'type' => string 'text' (length=4) 'std' => string '' (length=0) 2 => array 'name' => string 'Phone:' (length=5) 'id' => string 'my_custom_meta_student_phone' (length=28) 'type' => string 'text' (length=4) 'std' => string '' (length=0)
Forum: Fixing WordPress
In reply to: Add custom field dynamicallyif i put this on the line right before foreach ($this->meta_box_students_fields…i dont see nothing!
Forum: Fixing WordPress
In reply to: Add custom field dynamicallywell, i see db, wordpress put data into db correctly, but only the first values.
If i try to add another values, wordpress save only the first line, then only the first student.
Forum: Fixing WordPress
In reply to: Add custom field dynamicallyI meant inside at metabox
Forum: Fixing WordPress
In reply to: Add custom field dynamicallyOK.
How can i display this saved data?Forum: Fixing WordPress
In reply to: Add custom field dynamicallyif i put foreach ($this->meta_box_students_fields[] as $field) { // save each option, i have this error
Fatal error: Cannot use [] for reading…
And if i use foreach ($this->meta_box_students_fields as $field) { // save each option, i dont see any changes.
Anyway im not able to display any saved data in this table, then i dont know what was saved!
I thought i need a loop into my table…
Thx again!
Forum: Fixing WordPress
In reply to: Add custom field dynamicallySorry for bad code, im not a good coder!
Forum: Fixing WordPress
In reply to: Add custom field dynamicallyHi i have made a screenshot for explain my situation.
image
With add student button i append with jquery any row in my table, but when i update my post wordpress save only the first student.Thanks!
Forum: Fixing WordPress
In reply to: get_terms not working in theme options panelI’m sorry, I know that discussion is dated, but I would like to know how you solved the problem. I’m in the same situation!
Forum: Fixing WordPress
In reply to: Custom Post Type Replace the_content() in loopIt is the right way?