Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterHi,
Beaver Themer already has shortcode to insert post title. See these screenshots:
Anh Tran
KeymasterHi Ale,
There is a nice tutorial showing how to search WordPress by all custom fields. It requires some coding and works for all text fields.
Or you can modify the query like this:
add_action( 'pre_get_posts', function( $query ) { if ( is_admin() || ! $query->is_main_query() ) { return; } $query->set( 'meta_query', [ 'relation' => 'OR', [ 'key' => 'field_id1', 'value' => '"' . get_search_query() . '"', 'compare' => 'LIKE' ], [ 'key' => 'field_id2', 'value' => '"' . get_search_query() . '"', 'compare' => 'LIKE' ], [ 'key' => 'field_id2', 'value' => '"' . get_search_query() . '"', 'compare' => 'LIKE' ] ] ); } );Anh Tran
KeymasterHi,
I've checked again and realized a change in the TinyMCE from WP. I pushed a fixed on Github. Can you please try and let me know how it goes?
August 23, 2018 at 3:09 PM in reply to: ✅Problem with additional custom field in existing meta box #11099Anh Tran
KeymasterI see you're using Include Exclude extension. Can you check if these fields appear on that specific page template?
Anh Tran
KeymasterHi Hazmi,
WP auto saves the state of the editor and applies that to all editors when refresh the page. So if you switch to Text mode in one editor and then refresh the page, all editors will have Text mode active.
Regarding the problem of both Visual and Text mode active, do you see any error is the console? Can you Ctrl-F5 to refresh the page with cache clear?
Anh Tran
KeymasterHi Harrison,
Can you inspect the HTML of the field to see if the button is outputted? And please check the console if there's any error.
Anh Tran
KeymasterHi Jason,
I understand that the validation doesn't work in the frontend. However, in a previous reply, I posted the "fixed" code and explained my change. Did you follow that?
If it still doesn't work, please send me your code. I'll check it again.
Anh Tran
KeymasterAnh Tran
KeymasterHi Michael,
The new version 2.9.0 of the Builder supports bulk editing field options for choice fields. Please update and see the video tutorial here:
Anh Tran
KeymasterHi Jason, let me check it.
Anh Tran
KeymasterHello,
Do you see images displayed when you update the post? Sometimes it takes some seconds to fully load the images.
Anh Tran
KeymasterHi Jason, can you give me the updated code to register meta box to check again? Have you taken a look at my code?
Anh Tran
KeymasterHi FED,
Since 4.15, I've optimized the code for all "choice" field. I removed the
filter_optionsfunction that is not needed. Can you check the source code of thechoicefield and try the latest version on Github?Anh Tran
KeymasterHi, can you just try putting this code into your theme's
functions.phpfile?add_action( 'mb_relationships_init', function() { MB_Relationships_API::register( array( 'id' => 'posts_to_pages', 'from' => 'post', 'to' => 'page', ) ); } );You'll see meta boxes "Connected From" and "Connects To" for posts and pages. It's the most basic usage.
Please try it.
-
AuthorPosts