pods-framework / pods

The Pods Framework is a Content Development Framework for WordPress - It lets you create and extend content types that can be used for any project. Add fields of various types we've built in, or add your own with custom inputs, you have total control.
https://pods.io/
GNU General Public License v2.0
1.07k stars 265 forks source link

wpautop in WYSIWYG Tiny MCE doesn't seem to work in WordPress 6.3 - working in 6.2.2 #7130

Closed Pezzab closed 1 year ago

Pezzab commented 1 year ago

Description

I have a site running WP 6.2.2. When saving fields in custom post types with line breaks using Tiny MCE WYSIWYG <p></p> tags are automatically added when there are line breaks - this works even with the "Enable wpautop" option unchecked in the field settings.

With WP 6.3 installed and Tiny MCE WSIWYG enabled wpautop does not add paragraph tags, even with "Enable wpautop" enabled.

I tried using Quill Editor which does add the paragraph tags but I find it suboptimal and would prefer a familiar interface for exsting site users.

In case this is relevant the field was initially set to Plain Paragraph text before switching subsequently to WYSIWYG.

Version

2.9.19

Testing Instructions

1: Update WordPress to 6.3 2: Create a new custom post type using Pods 2.9.19 with a Tiny MCE WYSIWYG field, ensure it can be output to the front end with a theme template (via get_post_meta). Leave "Enable wpautop" unchecked. 3: Create a test post with text in that field that includes line breaks and save. 4: View post to see if line breaks appear 5: Edit Pods field type so "Enable wpautop" is checked 6: Create new post and repeat 1 tp 4

Screenshots / Screencast

image

image

Possible Workaround

No response

Site Health Information

`
### wp-core ###

version: 6.3
site_language: en_GB
user_language: en_GB
timezone: Europe/London
permalink: /%category%/%postname%/
https_status: false
multisite: false
user_registration: 0
blog_public: 0
default_comment_status: open
environment_type: production
user_count: 1
dotorg_communication: true

### wp-paths-sizes ###

wordpress_path: /var/www/html
wordpress_size: 53.15 MB (55735207 bytes)
uploads_path: /var/www/html/wp-content/uploads
uploads_size: 111.58 KB (114254 bytes)
themes_path: /var/www/html/wp-content/themes
themes_size: 12.54 MB (13148241 bytes)
plugins_path: /var/www/html/wp-content/plugins
plugins_size: 22.70 MB (23807739 bytes)
database_size: 2.91 MB (3047424 bytes)
total_size: 91.41 MB (95852865 bytes)

### wp-active-theme ###

name: First On Scene (first-on-scene-theme)
version: 1.0.0
author: undefined
author_website: http://undefined
parent_theme: none
theme_features: core-block-patterns, widgets-block-editor, automatic-feed-links, title-tag, post-thumbnails, menus, html5, custom-background, customize-selective-refresh-widgets, custom-logo, custom-header, widgets
theme_path: /var/www/html/wp-content/themes/first-on-scene-theme
auto_update: Disabled

### wp-themes-inactive (3) ###

Twenty Twenty-One: version: 1.8, author: the WordPress team, Auto-updates disabled
Twenty Twenty-Three: version: 1.1, author: the WordPress team (latest version: 1.2), Auto-updates disabled
Twenty Twenty-Two: version: 1.4, author: the WordPress team, Auto-updates disabled

### wp-mu-plugins (1) ###

WP Migrate Compatibility: version: 1.3, author: Delicious Brains

### wp-plugins-active (3) ###

Max Mega Menu: version: 3.2.2, author: megamenu.com, Auto-updates disabled
Pods - Custom Content Types and Fields: version: 2.9.19, author: Pods Framework Team, Auto-updates disabled
WP Migrate: version: 2.6.9, author: WP Engine, Auto-updates disabled

### wp-plugins-inactive (1) ###

First On Scene Course Search: author: (undefined), version: (undefined), Auto-updates disabled

### wp-media ###

image_editor: WP_Image_Editor_Imagick
imagick_module_version: 1691
imagemagick_version: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
imagick_version: 3.6.0
file_uploads: File uploads is turned off
post_max_size: 60M
upload_max_filesize: 60M
max_effective_size: 60 MB
max_file_uploads: 20
imagick_limits: 
    imagick::RESOURCETYPE_AREA: 122 MB
    imagick::RESOURCETYPE_DISK: 1073741824
    imagick::RESOURCETYPE_FILE: 6144
    imagick::RESOURCETYPE_MAP: 512 MB
    imagick::RESOURCETYPE_MEMORY: 256 MB
    imagick::RESOURCETYPE_THREAD: 1
    imagick::RESOURCETYPE_TIME: 9.2233720368548E+18
imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, AVI, AVIF, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, H, HALD, HDR, HEIC, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPG, MRW, MSL, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIDEO, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMV, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
gd_version: 2.3.0
gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
ghostscript_version: 9.55.0

### wp-server ###

server_architecture: Linux 5.19.0-1028-aws x86_64
httpd_software: Apache/2.4.52 (Ubuntu)
php_version: 8.1.2-1ubuntu2.13 64bit
php_sapi: apache2handler
max_input_variables: 1000
time_limit: 30
memory_limit: 128M
admin_memory_limit: 256M
max_input_time: 60
upload_max_filesize: 60M
php_post_max_size: 60M
curl_version: 7.81.0 OpenSSL/3.0.2
suhosin: false
imagick_availability: true
pretty_permalinks: true
htaccess_extra_rules: false
current: 2023-08-16T07:46:39+00:00
utc-time: Wednesday, 16-Aug-23 07:46:39 UTC
server-time: 2023-08-16T08:46:38+01:00

### wp-database ###

extension: mysqli
server_version: 8.0.33-0ubuntu0.22.04.2
client_version: mysqlnd 8.1.2-1ubuntu2.13
max_allowed_packet: 67108864
max_connections: 151

### wp-constants ###

WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /var/www/html/wp-content
WP_PLUGIN_DIR: /var/www/html/wp-content/plugins
WP_MEMORY_LIMIT: 40M
WP_MAX_MEMORY_LIMIT: 256M
WP_DEBUG: false
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: false
SCRIPT_DEBUG: false
WP_CACHE: false
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: Undefined
WP_DEVELOPMENT_MODE: undefined
DB_CHARSET: utf8
DB_COLLATE: undefined

### wp-filesystem ###

wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable
mu-plugins: writable

### pods ###

pods-server-software: Apache/2.4.52 (Ubuntu)
pods-user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0
pods-session-save-path: /var/lib/php/sessions
pods-session-save-path-exists: Yes
pods-session-save-path-writable: Yes
pods-session-max-lifetime: 1440
pods-opcode-cache-apc: No
pods-opcode-cache-memcached: No
pods-opcode-cache-opcache: Yes
pods-opcode-cache-redis: No
pods-object-cache-apc: No
pods-object-cache-apcu: No
pods-object-cache-memcache: No
pods-object-cache-memcached: No
pods-object-cache-redis: No
pods-memory-current-usage: 16.785M / 40M
pods-memory-current-usage-real: 18.000M
pods-network-wide: No
pods-install-location: /wp-content/plugins/pods/
pods-developer: No
pods-tableless-mode: No
pods-relationship-table-enabled: Yes
pods-relationship-table-status: 14
pods-light-mode: No
pods-strict: No
pods-allow-deprecated: Yes
pods-api-cache: Yes
pods-shortcode-allow-evaluate-tags: No
pods-sessions: Disable sessions
pods-can-use-sessions: Yes
pods-settings-types_only: No
pods-settings-watch_changed_fields: No
pods-settings-metadata_integration: Yes
pods-settings-metadata_override_get: No

`

Pods Package

{
    "@meta": {
        "version": "2.9.19",
        "build": 1692172091
    },
    "settings": {
        "types_only": "0",
        "watch_changed_fields": "0",
        "metadata_integration": "1",
        "metadata_override_get": "0",
        "media_modal_fields": "0",
        "session_auto_start": "0",
        "wisdom_opt_out": "1"
    },
    "pods": [
        {
            "name": "boilerplate_content",
            "id": 181,
            "label": "Boilerplate Content",
            "description": "",
            "type": "post_type",
            "storage": "meta",
            "label_singular": "Boilerplate Content",
            "public": "1",
            "show_ui": "1",
            "rest_enable": "1",
            "supports_title": "1",
            "supports_editor": "0",
            "_migrated_28": "0",
            "meta_box_context": "normal",
            "meta_box_priority": "default",
            "required": "0",
            "required_help_boolean": "0",
            "publicly_queryable": "1",
            "exclude_from_search": "0",
            "capability_type": "post",
            "capability_type_custom": "boilerplate_content",
            "capability_type_extra": "1",
            "has_archive": "0",
            "hierarchical": "0",
            "can_export": "1",
            "rewrite": "1",
            "rewrite_with_front": "1",
            "rewrite_feeds": "0",
            "rewrite_pages": "1",
            "query_var": "1",
            "default_status": "draft",
            "revisions_to_keep_limit": "0",
            "delete_with_user": "0",
            "groups": [
                {
                    "name": "test_boillerplate_or_custom_section",
                    "id": 182,
                    "label": "Boillerplate or custom section",
                    "description": "",
                    "weight": 0,
                    "meta_box_context": "normal",
                    "meta_box_priority": "default",
                    "roles_allowed": "administrator",
                    "fields": [
                        {
                            "name": "test_custom_content",
                            "id": 183,
                            "label": "Custom content",
                            "description": "This content and be reused on any page that has the option to select it",
                            "weight": 0,
                            "type": "wysiwyg",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "required_help_boolean": "0",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "wysiwyg_editor": "quill",
                            "wysiwyg_wpautop": "1"
                        }
                    ]
                }
            ]
        },
        {
            "name": "test_redacted",
            "id": 43,
            "label": "redacteds",
            "description": "",
            "type": "post_type",
            "storage": "meta",
            "label_singular": "redacted",
            "public": "1",
            "show_ui": "1",
            "rest_enable": "1",
            "supports_title": "1",
            "supports_editor": "0",
            "_migrated_28": "1",
            "show_in_menu": "1",
            "menu_position": "0",
            "show_in_nav_menus": "1",
            "show_in_admin_bar": "1",
            "menu_icon": "dashicons-welcome-learn-more",
            "built_in_taxonomies_suite": "1",
            "publicly_queryable": "1",
            "exclude_from_search": "0",
            "capability_type": "post",
            "capability_type_custom": "redacted",
            "capability_type_extra": "1",
            "has_archive": "0",
            "hierarchical": "0",
            "can_export": "1",
            "rewrite": "1",
            "rewrite_with_front": "1",
            "rewrite_feeds": "0",
            "rewrite_pages": "1",
            "query_var": "1",
            "default_status": "draft",
            "revisions_to_keep_limit": "0",
            "delete_with_user": "1",
            "rewrite_custom_slug": "redacted",
            "required": "0",
            "required_help_boolean": "0",
            "meta_box_context": "normal",
            "meta_box_priority": "default",
            "groups": [
                {
                    "name": "test_redacted_information",
                    "id": 44,
                    "label": "redacted information",
                    "description": "",
                    "weight": 0,
                    "meta_box_context": "normal",
                    "meta_box_priority": "default",
                    "roles_allowed": "administrator",
                    "fields": [
                        {
                            "name": "test_main_introduction",
                            "id": 173,
                            "label": "Main introduction",
                            "description": "",
                            "weight": 0,
                            "type": "wysiwyg",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "required_help_boolean": "0",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "wysiwyg_editor": "tinymce",
                            "wysiwyg_wpautop": "1"
                        },
                        {
                            "name": "test_what_does_this_redacted_cover_heading",
                            "id": 174,
                            "label": "What does this redacted cover? - Heading",
                            "description": "Default heading",
                            "weight": 1,
                            "type": "text",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "required_help_boolean": "0",
                            "text_allowed_html_tags": "strong em a ul ol li b i",
                            "text_max_length": "255",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "default_value": "What does this redacted cover",
                            "admin_only": "1",
                            "read_only": "0"
                        },
                        {
                            "name": "test_what_does_this_redacted_cover_content",
                            "id": 175,
                            "label": "What does this redacted cover content",
                            "description": "",
                            "weight": 2,
                            "type": "wysiwyg",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "required_help_boolean": "0",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "wysiwyg_editor": "quill",
                            "wysiwyg_wpautop": "0"
                        },
                        {
                            "name": "test_additional_information",
                            "id": 177,
                            "label": "Additional information",
                            "description": "",
                            "weight": 3,
                            "type": "wysiwyg",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "required_help_boolean": "0",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "wysiwyg_editor": "quill",
                            "wysiwyg_wpautop": "1"
                        }
                    ]
                },
                {
                    "name": "test_quick_glance",
                    "id": 172,
                    "label": "Quick Glance",
                    "description": "",
                    "weight": 1,
                    "meta_box_context": "normal",
                    "meta_box_priority": "default",
                    "roles_allowed": "administrator",
                    "fields": [
                        {
                            "name": "test_duration",
                            "id": 188,
                            "label": "Duration",
                            "description": "",
                            "weight": 0,
                            "type": "pick",
                            "pick_object": "custom-simple",
                            "sister_id": "-- Select One --",
                            "pick_table": "-- Select One --",
                            "required": "0",
                            "required_help_boolean": "0",
                            "pick_format_type": "single",
                            "pick_format_single": "dropdown",
                            "pick_format_single_help": "0",
                            "pick_format_multi": "list",
                            "pick_format_multi_help": "0",
                            "pick_display_format_multi": "default",
                            "pick_display_format_separator": ", ",
                            "pick_allow_add_new": "1",
                            "pick_taggable": "0",
                            "pick_show_icon": "1",
                            "pick_show_edit_link": "1",
                            "pick_show_view_link": "1",
                            "pick_limit": "0",
                            "pick_user_role": "Administrator",
                            "pick_post_status": "publish",
                            "pick_post_author": "0",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "pick_custom": "1 Day\n2 Days\n3 Days\n4 hours"
                        },
                        {
                            "name": "test_valid_for",
                            "id": 189,
                            "label": "Valid for",
                            "description": "",
                            "weight": 1,
                            "type": "pick",
                            "pick_object": "custom-simple",
                            "sister_id": "-- Select One --",
                            "pick_table": "-- Select One --",
                            "required": "0",
                            "required_help_boolean": "0",
                            "pick_format_type": "single",
                            "pick_format_single": "dropdown",
                            "pick_format_single_help": "0",
                            "pick_format_multi": "list",
                            "pick_format_multi_help": "0",
                            "pick_display_format_multi": "default",
                            "pick_display_format_separator": ", ",
                            "pick_allow_add_new": "1",
                            "pick_taggable": "0",
                            "pick_show_icon": "1",
                            "pick_show_edit_link": "1",
                            "pick_show_view_link": "1",
                            "pick_limit": "0",
                            "pick_user_role": "Administrator",
                            "pick_post_status": "publish",
                            "pick_post_author": "0",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "pick_custom": "Valid for 3 years"
                        },
                        {
                            "name": "test_redacted_regulated",
                            "id": 190,
                            "label": "redacted regulated",
                            "description": "",
                            "weight": 2,
                            "type": "boolean",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "required_help_boolean": "0",
                            "boolean_format_type": "checkbox",
                            "boolean_yes_label": "Yes",
                            "boolean_no_label": "No",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1"
                        },
                        {
                            "name": "mhfae_accredited",
                            "id": 193,
                            "label": "MHFAE accredited",
                            "description": "",
                            "weight": 3,
                            "type": "boolean",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "required_help_boolean": "0",
                            "boolean_format_type": "checkbox",
                            "boolean_yes_label": "Yes",
                            "boolean_no_label": "No",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1"
                        }
                    ]
                },
                {
                    "name": "test_boiler_plates_and_supplementary_sections",
                    "id": 178,
                    "label": "Boiler plates and supplementary sections",
                    "description": "",
                    "weight": 2,
                    "meta_box_context": "normal",
                    "meta_box_priority": "default",
                    "roles_allowed": "administrator",
                    "fields": [
                        {
                            "name": "test_supplementary_content",
                            "id": 179,
                            "label": "Supplementary content",
                            "description": "",
                            "weight": 0,
                            "type": "wysiwyg",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "required_help_boolean": "0",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "wysiwyg_editor": "quill",
                            "wysiwyg_wpautop": "1"
                        },
                        {
                            "name": "test_boilerplate_content",
                            "id": 180,
                            "label": "Boilerplate content",
                            "description": "",
                            "weight": 1,
                            "type": "pick",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "required_help_boolean": "0",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "pick_object": "post_type",
                            "pick_val": "boilerplate_content",
                            "pick_table": "-- Select One --",
                            "pick_format_type": "multi",
                            "pick_format_single": "dropdown",
                            "pick_format_single_help": "0",
                            "pick_format_multi": "list",
                            "pick_format_multi_help": "0",
                            "pick_display_format_multi": "default",
                            "pick_display_format_separator": ", ",
                            "pick_allow_add_new": "1",
                            "pick_taggable": "0",
                            "pick_show_icon": "1",
                            "pick_show_edit_link": "1",
                            "pick_show_view_link": "1",
                            "pick_limit": "0",
                            "pick_user_role": "Administrator",
                            "pick_post_status": "publish",
                            "pick_post_author": "0"
                        }
                    ]
                }
            ]
        },
        {
            "name": "suite",
            "id": 45,
            "label": "Suites",
            "description": "",
            "type": "taxonomy",
            "storage": "meta",
            "label_singular": "Suite",
            "public": "1",
            "show_ui": "1",
            "hierarchical": "1",
            "rest_enable": "1",
            "_migrated_28": "0",
            "built_in_post_types_redacted": "1",
            "rewrite": "1",
            "query_var": "0",
            "pfat_enable": "0",
            "show_admin_column": "1",
            "built_in_post_types_test_redacted": "1",
            "rewrite_with_front": "1",
            "rewrite_hierarchical": "1",
            "capability_type": "default",
            "capability_type_custom": "suite",
            "sort": "0",
            "rewrite_custom_slug": "suite",
            "groups": [
                {
                    "name": "more_fields",
                    "id": 46,
                    "label": "More Fields",
                    "description": "",
                    "weight": 0,
                    "fields": []
                }
            ]
        },
        {
            "name": "venue",
            "id": 133,
            "label": "Venues",
            "description": "",
            "type": "post_type",
            "storage": "meta",
            "label_singular": "Venue",
            "public": "1",
            "show_ui": "1",
            "rest_enable": "1",
            "supports_title": "1",
            "supports_editor": "1",
            "_migrated_28": "0",
            "groups": [
                {
                    "name": "more_fields",
                    "id": 134,
                    "label": "More Fields",
                    "description": "",
                    "weight": 0,
                    "fields": []
                }
            ]
        }
    ]
}
Pezzab commented 1 year ago

In case this is relevant I see that autop is mentioned in the list of updated packages in the WP 6.3 Changelog:

image

And in the list of files revised:

image

JoryHogeveen commented 1 year ago

Hi @Pezzab

Using get_post_meta will not parse the value through Pods by default anymore. Please go to Pods > Settings and enable "Override WP Metadata values".

Edit: If you want this setting untouched you can also wrap get_post_meta() in wpautop() and it will function the same! Alternatively you could use Pods functions: https://docs.pods.io/code/field-functions/pods_field_display/

Cheers, Jory

Pezzab commented 1 year ago

Hi @JoryHogeveen - the issue appears to have resolved itself with the latest WP update, though "Enable wpautop" needs to be unchecked:

image

I didn't need to enable "Override WP Metadata values".

JoryHogeveen commented 1 year ago

Hi @Pezzab

In that case I'd have to see your template code to know more of the actual cause of this issue. My comment is still valid, but for example; if your template runs it through a filter then it could be that since the update that filter also has wpautop hooked so there is no need to wrap it anymore.

Anyhow, glad it's solved since the update! Don't hesitate to contact us again if you need help with Pods.

Cheers, Jory