Forum Replies Created
-
AuthorPosts
-
February 3, 2017 at 11:24 PM in reply to: Date / Datetime field with clone and timestamp wont work #4953
Anh Tran
KeymasterHi,
I've just found that bug and fixed it on Github. Please try the development version on Github. The new version of the plugin will be released soon.
Thanks.
February 2, 2017 at 8:45 PM in reply to: How to display a custom file upload error in a plupload_image field? #4947Anh Tran
KeymasterHi, continuing from the previous topic, we've just updated the plugin on Github with a new parameter
max_file_sizethat limit the file size for file/image upload fields.Please try it and let me know what you think.
Anh Tran
KeymasterNo, the plugin doesn't have that functionality.
January 25, 2017 at 11:26 AM in reply to: How to prevent uploads for plupload_image field type? #4914Anh Tran
KeymasterHi,
We used to allow users to set parameters for plupload, but we removed that part in version 4.9.x to make all the media fields use the same codebase. There were almost no users used that.
I will check on this to see if we can add something back.
Anh Tran
KeymasterDear Zazezi,
I've fixed problem on your website, your theme or one of your plugins tries to wrap excerpt field with
ptag so the Json encode and decode doesn't works properly.I've hard coded fix it on but it better to remove that plugin or theme feature.
Anh Tran
KeymasterHmm, I've checked your dashboard, I'll need FTP info so I can check your environment and plugin conflict if it has.
Anh Tran
Keymaster@Tan: I've forwarded the credentials to you via email. Please check.
Anh Tran
KeymasterDear Zazezi,
Can you please provide website credentials and FTP information so I can login to check. Currently, I can replicate the bug.
Best regards,
Tan
January 20, 2017 at 2:27 PM in reply to: Display custom post custom fields everywhere in frontend #4875Anh Tran
KeymasterGlad that you solved the problem! Feel free to open any topic if you have any trouble.
Anh Tran
KeymasterI've just replied you in that topic. Let's discuss there to keep focused 🙂
January 20, 2017 at 11:06 AM in reply to: Display custom post custom fields everywhere in frontend #4866Anh Tran
KeymasterHi Sergey,
Here is an example of showing related posts:
https://gist.github.com/rilwis/91f42412efc40f7a7d991779cc500d59
Anh Tran
KeymasterHi Sergey,
Yes, that's correct. The helper function returns only raw data of term meta value. It doesn’t return meaningful information for images, file, oembed. To make the oembed renders the video, please use this code:
$meta = get_term_meta(get_queried_object()->term_id, 'rw_tax_video', true ); $meta = RWMB_OEmbed_Field::get_embed( $meta ); echo $meta;For more info, please read this documentation.
January 19, 2017 at 9:36 AM in reply to: How to automatically replace text/url's in wp_postmeta #4846Anh Tran
KeymasterHi,
If you change only the post meta value, then nothing happens. Please try search and replacing only on the column
meta_valuein the tablewp_postmeta.January 19, 2017 at 9:34 AM in reply to: ✅Display custom terms image_advanced on page frontend #4845Anh Tran
KeymasterI got it now. Looks like that's the same problem in the new topic. As I said in that topic, depending on your code, you should get the term ID somehow, and use the function
get_term_metato get the uploaded images.And as the documentation says, the value stored for
image_advancedfield is an array of image IDs. You need to use a helper function likewp_get_attachment_image_url()to get the image URL.Here is a sample code:
Anh Tran
KeymasterHi weseo,
You just need to change this:
array( 'name' => 'Категория для отображения', 'id' => 'CHANGE_THIS_TO_SOMETHING_ELSE', 'type' => 'taxonomy_advanced', 'taxonomy' => 'costumes', 'field_type' => 'select', 'hidden' => array( 'front_cat_type', '!=', 'costume' ) ), -
AuthorPosts