mastermillo
Forum Replies Created
-
Forum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] get image into templatedear cheefa,
everything you can do is described above or look in / use the pasted code (link) above your comment.
should be selfexplaining….Forum: Themes and Templates
In reply to: post date and custom post typeThanks mate for the hint!
Actually I did not use theget_the_date
function,as in graphene theme rather they usethe_date or the_time
functions.
I now built a function withecho get_the_date()
and it works for every post type.thanks for your efforts again.
Forum: Themes and Templates
In reply to: post date and custom post typeThanks for your reply!
I use Graphene theme and I tried the standard twentyeleven.
None of them displays the date of custom post types.Further I made a function that displays the post date and added it to an action hook of graphene theme. Also only on normal posts the date is shown.
thanks for support
Forum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] adding tags and custom fieldoff topic ??? I cannot follow. helpers.php should not be edited I guess.
Anyway if it works what you want to do, but if you update the plugin your work might be gone….Forum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] adding tags and custom fieldHi jrWP,
I’d like to try, even it is already for dummies like us ??1. build your own template by saving the fm-summary-multi.php with your individual name and choose it from the dropdown (data summary) in the ADVANCED TAB where you can edit the form you want, i.e. yourdomain.com/wp-admin/admin.php?page=fm-edit-form&sec=advanced&id=1. (that is a better way working with it) – I think you just took the wrong template, as fm-form-default.php just displays the form where you can enter your stuff!!!
2. within the functions.php (to be found in your themes folder or child theme folder -> better make yourself a child theme) you do not need to modify anything.
3. what do you want to do actually? But I think with step 1 it should be solved… ??
success, millo
Forum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] adding tags and custom fieldthanks, got it working
the used postID I can get like this within the template and my code looks like this:$my_custom_field_value_var = fm_summary_get_item_value('nickname'); $my_get_lastID = wp_get_recent_posts('1'); $my_thePostID = $my_get_lastID['0']['ID']; add_post_meta($my_thePostID, 'custom_field_name', $my_custom_field_value_var, true);
Forum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] adding tags and custom fieldok, adding this line in the FormManager template
add_post_meta(901, 'custom_field_name', $custom_field_value, true);
will create the custom field and put the right custom_field_value in that specific field.
But only if the real postID is specified.My question now, how can I retrieve the right postID from the form submission within the template?
I tried several ways like the_ID() or get_post_ID() but all was not working yet.
thanks for any idea, milloForum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] adding tags and custom fieldok I tried it within the template and functions.php neither works.
should not it be like that or did I get sometning wrong?
function my_custom_field($postID) { global $_POST; add_post_meta($postID, 'my_field', 'TESTVALUE that I would like to be filled with a value of a specific nickname' , true); } add_action('fm_form_submission', 'my_custom_field');
thanks millo
Thanks!
as for 1. I did not see and that helps a lot great.as for 2. I will try and I would appreciate if you could include it, which would be much easier for everybody. sent you a donation for that ??
Forum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] adding tags and custom fieldsome hint would be appreciated!
Forum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] get image into templateForum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] Adding image to the postgo to:
image to templateForum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] get image into templateHere is the example how I use it:
– use it before the “loop” will give you only the image
– using it within the “loop” will generate the image and the link to the file
Hope that helps you![Code moderated as per the Forum Rules. Please use the pastebin]
Forum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] get image into templateThank you! This works perfect.
Forum: Fixing WordPress
In reply to: Cannot modify header information – upon uploadHey there,
actually I had the same problem and I knew before that it had to do with permissions. I changed them, obviously… but no result.
I erased the ‘uploads’ folder to let it be created again by WP .. no chance actually. The folder was created and still the uploads where not possible.
Then I changed to another FTP program, I deleted the ‘upload’ folder and then created it again with the ftp and set the permissions again to 777.Here we go… it’s working now. ??
hope that will help