Forum Replies Created
-
AuthorPosts
-
Yasmine
ParticipantYou're right. And I guess it doesn't matter if the default then updates. I can echo that value instead
Yasmine
ParticipantHi Long - just wondering if you know of a workaround for this. The suggestion to troubleshoot did not work!
Many thanks,
YasmineYasmine
ParticipantIs there any way to either:
1. Have a bare-boned WYSIWYG (no toolbar too) AND word limit. Without showing html tags in the editor.
OR
2. A textarea that respects new lines without using html ??
white-space => pre-wrapYasmine
ParticipantSorry - and another update.
tiny_mce=>falseis not the answer, as it adds all of the html tags - which is what I want to avoid...Yasmine
ParticipantFollow up question:
tiny_mce=> false did the job I needed. However, now all my word limits don't work...limit=> 200
limit_type=> wordHow do I fix this?
Yasmine
ParticipantEasy - I will do that thankyou!
Yasmine
ParticipantOr is there a way I can change the save process for a taxonomy. When you submit the form it would be great if it could:
1. check do new taxonomies already exists
2. If no, then add
3. If yes, then replace tag with existing taxonomy instead of adding newDo you have any idea how I could achieve this???
Yasmine
ParticipantNope I tested with
taxonomyand the exact same issue. I think this could also be sorted if you could save the taxonomy before submit. So you only receive an error for that taxonomy rather than filling out the entire form - and then all your work being lostYasmine
ParticipantI think I have worked out that if a taxonomy already exists and I "add new" another taxonomy of the exact same name then it breaks.. Could this because I am using taxonomy_advanced, not taxonomy ?
Thank you for escalating to the dev team!
Yasmine
ParticipantThank you - this is exactly what I needed.
Just to clarify this application is possible - if I create shortcodes, can I ensure every group value is displayed together.
For example if I have a group with sub-fields for a word and its definition, and I want to make one long list (like a glossary). One user can contribute up to 5 words, but the list will include all the words of multiple users.
If I use a loop with using the shortcode, will it 1. Always match the subgroup values together? and 2. Can I use to display every value in custom order -eg take all those words from every user and reorder on one page - to achieve something like:
A Word 2 Definition 2 (from user 2) B Word 8 Definition 8 (from user 4) C word 3 Definition 3 (from user 2) D word 1 Definition 1 (from user 1) E word 4 Definition 4 (from user 3) F word 5 Definition 5 (from user 4)Yasmine
ParticipantGreat thanks - this was not possible for the frontend, but I changed the slugs and
orderbyslug, and it's all fixed. ThanksYasmine
ParticipantHi yes, that works - as does adding <p> tags. But I don't want the user to need to do this. Is there any way for it without adding html into the box?
Or must it be a WYSIWYG for this functionality? If it needs to be a WYSIWYG, then is there a way to make WYSIWYG look like a basic textarea? (Removing its tabs and buttons?)
Yasmine
ParticipantFatal error: Uncaught Error: Cannot use object of type WP_Error as array in /home/customer/www/acume.org/public_html/wp-content/plugins/meta-box/inc/fields/taxonomy.php:219 Stack trace: #0 /home/customer/www/acume.org/public_html/wp-content/plugins/meta-box/inc/fields/taxonomy.php(180): RWMB_Taxonomy_Field::add_term(Array) #1 /home/customer/www/acume.org/public_html/wp-content/plugins/meta-box/inc/field.php(580): RWMB_Taxonomy_Field::value(Array, false, 28099, Array) #2 /home/customer/www/acume.org/public_html/wp-content/plugins/meta-box/inc/field.php(249): RWMB_Field::call(Array, 'value', '', false, 28099) #3 /home/customer/www/acume.org/public_html/wp-content/plugins/meta-box/inc/meta-box.php(307): RWMB_Field::process_value('', 28099, Array) #4 [internal function]: RW_Meta_Box->save_field(Array) #5 /home/customer/www/acume.org/public_html/wp-content/plugins/meta-box/inc/meta-box.php(290): array_map(Array, Array) #6 /home/customer/www/acume.org/public_html/wp-includes/class-wp-hook.php(309): RW_Meta_Box->save_post(28099) in /home/customer/www/acume.org/public_html/wp-content/plugins/meta-box/inc/fields/taxonomy.php on line 219I just don't understand what causes it. Could it be saving the file name incorrectly? As I notice that when it saves, it saves as "no-title" and my slug is formed by the title. Therefore if it somehow saves as a "no-title" then it could be trying to use the same slug? If this is the case, how do I ensure that the slug always saves differently?
Yasmine
ParticipantAlthough one more related question...
I have one that has 3 of the same letter followed by a number...
SDG 1 -
SDG 2 -
etc...But (even with order => ASC) it shows:
SDG 1 -
SDG 10 -
SDG 11 -
etc..
SDG 2 -
SDG 3 -How do I fix this one?
Yasmine
ParticipantOk I worked it out. I was putting oder => DESC into custom settings and not query args. You can close this
-
AuthorPosts