Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi,
Please share your site credentials via this contact form https://metabox.io/contact/. I will help you to check the issue.
May 25, 2021 at 10:49 AM in reply to: ✅SQL syntax error near '`mbr_order` ASC, mbr_id DESC ASC' #28399Long Nguyen
ModeratorHi Stefan,
It was an issue of reciprocal option when using the term object. I've escalated it to the development team to fix it in the next update.
Long Nguyen
ModeratorHi,
It looks like the View settings box is broken. Please follow the step Debugging Information here https://support.metabox.io/topic/how-to-create-a-new-topic/ to troubleshoot this issue.
After it works, you can set the Type: Archive, Location: TaxonomyName (Composer) Archive, specific for a term: All and use this code for all terms of composer.
{% set args = { post_type: ['product', 'event'], tax_query: [ { taxonomy: 'composer', field: 'slug', terms: term.slug } ] } %} {% set my_posts = mb.get_posts( args ) %} ...Long Nguyen
ModeratorHi Kevin,
Thank you for getting in touch.
The template "page-account.php" provides the code to check if the user logged in or not. You can create the page with Oxygen Builder and use the component "Code Block" to add the PHP code as the template. See my screenshot https://share.getcloudapp.com/9Zudvyp5
Long Nguyen
ModeratorHi,
All field type file to upload files has the setting
'multiple' => true. That means the values saved in multiple rows in the database so it is possible that the builder plugin does not support showing files. Please contact the plugin support to ask for help in this case.Long Nguyen
ModeratorHi,
If you want to display the text in lowercase, simply use the CSS code
div.b { text-transform: lowercase; }Get more details here https://www.w3schools.com/cssref/pr_text_text-transform.asp
May 23, 2021 at 4:04 PM in reply to: ✅Re-indexing loses data of custom fields in the FacetWP index #28381Long Nguyen
ModeratorHi,
Thank you for reaching out.
I'm using FacetWP v3.8.0.1 but do not see any issue after clicking "Re-index", all field values show on the filter as well. Please use the field ID under section Custom Fields instead of section Meta Box in the Data Source input. Screenshot https://share.getcloudapp.com/ApuzKvwY
Long Nguyen
ModeratorHi Joseph,
You need to move the tag
<ul>outside from the loop, only<li>tags will be repeated.<ul style="list-style: none;"> {% for item in post.puppy_photos %} <li style="display: inline;"> <a href="{{ item.large.url }}" > <img src="{{ item.thumbnail.url }}" width="{{ item.thumbnail.width }}" height="{{ item.thumbnail.height }}" alt="{{ item.thumbnail.alt }}"> </a> </li> {% endfor %} </ul>On the frontend, the code rendered like this https://share.getcloudapp.com/rRujp58D
Long Nguyen
ModeratorHi,
You can add your own HTML tags when showing the list posts relationship without the default
<ul><li>, such as{% for post in relationships.posts_to_pages.from %} <div class="block-relationship"> {{ post.title }} </div> {% endfor %}Long Nguyen
ModeratorHi Jon,
The
Postswidget of Elementor does not support showing the custom fields in the posts list. Please try to use this plugin https://wordpress.org/plugins/ele-custom-skin/, it will help you design listing posts and custom fields of posts.Long Nguyen
ModeratorHi Chris,
You can set the Type: Archive, Location: TaxonomyName (Composer) Archive, specific for a term (johann-sebastian-bach). Screenshot https://share.getcloudapp.com/eDuyWymJ
May 22, 2021 at 12:29 PM in reply to: ✅is there anyway to add shortcodes inside Custom Fields #28371Long Nguyen
ModeratorHi,
Yes, you can use the field type WYSIWYG to add the shortcode to the field content, like the Classic Editor.
Long Nguyen
ModeratorHi Alan,
If you use the function
get_posts(), it will return post objects, we can call it a custom query. A post object does not support to access the field ID as a property of it.You can get the post info via the post ID in a custom query by using the WordPress functions or our helper function rwmb_meta(). For example, featured image, use the function get_the_post_thumbnail().
Refer to this topic https://support.metabox.io/topic/mb-view-by-shortcode/
Long Nguyen
ModeratorHi,
You can just paste the shortcode to the View, like the WYSIWYG field type or Classic Editor.
Long Nguyen
ModeratorHi Julian,
If you want to use the custom settings in the Builder, please use the dot notation to apply the
js_optionssettings. See my screenshot https://share.getcloudapp.com/rRuG88GD -
AuthorPosts