Forum Replies Created
-
AuthorPosts
-
[email protected]
ParticipantHi Long,
first of all: Thank you for mentioning Immolist Mallorca in the showcase! And thanks for the quick reply.
- The debugging information does not show any hint what is wrong
- The php code is attached below.
- In a short video you can see whats happens:
https://drive.google.com/file/d/1BLts2zzSQkgMrjrI4ulwO8ovARwwW2MI/view
It seems to be a very rare case. I occurs only when I put the shortcode in the standard content editor of a page. The same shortecode in the custom field works without any problem. It is not a big thing for me since I can build up the site without the shortcode in the standard content editor. Generally I am very happy with Metabox.Kind regards, Andreas
<?php
add_filter( 'rwmb_meta_boxes', 'il_pagefields' );function il_pagefields( $meta_boxes ) {
$prefix = '';$meta_boxes[] = [ 'title' => __( 'PageFields', 'il-mallorca' ), 'id' => 'pagefields', 'post_types' => ['page'], 'priority' => 'low', 'fields' => [ [ 'name' => __( 'Extratext', 'il-mallorca' ), 'id' => $prefix . 'extratext', 'type' => 'wysiwyg', ], [ 'name' => __( 'Schemadata', 'il-mallorca' ), 'id' => $prefix . 'schemadata', 'type' => 'textarea', 'label_description' => __( 'Schema', 'il-mallorca' ), 'save_field' => 1, ], ], ]; return $meta_boxes;}
-
AuthorPosts