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

Shortcodes within IF-ELSE conditions are not parsed (same issue as #4303 in Pods 2.6.9) #7015

Open baswientjes opened 1 year ago

baswientjes commented 1 year ago

Description

Not sure if this bug has been re-introduced in 2.9.11.1 or before that, but eversince I updated any short codes within an IF condition in a Pods template are not parsed. If I remove the IF condition, everything works fine (apart from it rendering even if the IF condition would return FALSE).

Live example: https://cesi.netvis.nl/member-union/dbb/

There should be icons rendered in the right hand column but instead we're looking at their short codes. The two icons that do render (pin and envelope) do not have an IF condition.

Version

2.9.11.1

Testing Instructions

n/a

Screenshots / Screencast

Schermafbeelding 2023-02-22 192617

Possible Workaround

Replace said short codes with their raw HTML equivalent (which luckily is possible in this case, but might not be the case on other websites).

Site Health Information

`
### wp-core ###

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

### wp-paths-sizes ###

wordpress_path: /home/bwientjes/domains/netvis.nl/public_html/cesi
wordpress_size: 897.98 MB (941602170 bytes)
uploads_path: /home/bwientjes/domains/netvis.nl/public_html/cesi/wp-content/uploads
uploads_size: 1.33 GB (1424564347 bytes)
themes_path: /home/bwientjes/domains/netvis.nl/public_html/cesi/wp-content/themes
themes_size: 66.49 MB (69715318 bytes)
plugins_path: /home/bwientjes/domains/netvis.nl/public_html/cesi/wp-content/plugins
plugins_size: 101.23 MB (106147673 bytes)
database_size: 214.89 MB (225329152 bytes)
total_size: 2.58 GB (2767358660 bytes)

### wp-dropins (1) ###

advanced-cache.php: true

### wp-active-theme ###

name: Enfold Child (enfold-child)
version: 1.0
author: Kriesi
author_website: http://www.kriesi.at
parent_theme: Enfold (enfold)
theme_features: core-block-patterns, block-templates, avia_exclude_bbPress, avia_exclude_GFForms, avia_exclude_menu_exchange, avia_exclude_pojo_accessibility, avia_exclude_wp_accessibility, avia_exclude_relevanssi, avia_exclude_WooCommerce, avia_exclude_wpSEO, avia_exclude_wpml, avia_exclude_instagram_feed, avia_exclude_leaflet_map, avia_mega_menu, avia_improved_backend_style, avia_option_pages_toggles, avia_sidebar_manager, automatic-feed-links, nav_menus, menus, widgets, post-formats, avia_post_meta_compat, force-post-thumbnails-in-widget, post-thumbnails, widgets-block-editor, title-tag, editor-styles, editor-style, customize-selective-refresh-widgets, responsive-embeds, editor-color-palette, editor-font-sizes, avia_no_session_support
theme_path: /home/bwientjes/domains/netvis.nl/public_html/cesi/wp-content/themes/enfold-child

### wp-parent-theme ###

name: Enfold (enfold)
version: 5.4.1
author: Kriesi
author_website: https://kriesi.at
theme_path: /home/bwientjes/domains/netvis.nl/public_html/cesi/wp-content/themes/enfold

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

installatron_hide_status_test.php: author: (undefined), version: (undefined)

### wp-plugins-active (19) ###

Breadcrumb NavXT: version: 7.2.0, author: John Havlik
CookieYes | GDPR Cookie Consent: version: 3.0.8, author: CookieYes
Custom Twitter Feeds: version: 1.8.3, author: Smash Balloon (latest version: 2.0.5)
Enable Media Replace: version: 4.0.2, author: ShortPixel (latest version: 4.0.3)
Flow-Flow: version: 4.9.3, author: Looks Awesome
Kaya QR Code Generator: version: 1.5.1, author: Kaya Studio (latest version: 1.5.2)
NEX-Forms - Ultimate: version: 7.8.2, author: Basix
Optimus: version: 1.6.3, author: KeyCDN
Pods - Custom Content Types and Fields: version: 2.9.11.1, author: Pods Framework Team
Real-Time Find and Replace Pro: version: 4.0.3, author: Marios Alexandrou
Shareaholic - Easily Grow and Engage Your Audience: version: 9.7.7, author: Shareaholic
SVG Support: version: 2.5.5, author: Benbodhi
The Events Calendar: version: 5.5.0, author: The Events Calendar (latest version: 6.0.9)
The Events Calendar PRO: version: 5.5.0, author: The Events Calendar (latest version: 6.0.8)
Video Conferencing with Zoom: version: 4.0.11, author: Deepen Bajracharya (latest version: 4.1.2)
WPCode Lite: version: 2.0.7, author: WPCode (latest version: 2.0.8.1)
WP Responsive Recent Post Slider/Carousel: version: 3.0.1, author: WP OnlineSupport, Essential Plugin (latest version: 3.1.2)
WP SmartCrop: version: 2.0.6, author: Bytes.co
WP Super Cache: version: 1.9.3, author: Automattic

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

ShortPixel Adaptive Images: version: 3.6.3, author: ShortPixel

### wp-media ###

image_editor: WP_Image_Editor_Imagick
imagick_module_version: 1808
imagemagick_version: ImageMagick 7.1.0-20 Q16-HDRI x86_64 2022-01-22 https://imagemagick.org
imagick_version: 3.7.0
file_uploads: File uploads is turned off
post_max_size: 32M
upload_max_filesize: 32M
max_effective_size: 32 MB
max_file_uploads: 20
imagick_limits: 
    imagick::RESOURCETYPE_AREA: 251 GB
    imagick::RESOURCETYPE_DISK: 9.2233720368548E+18
    imagick::RESOURCETYPE_FILE: 49151
    imagick::RESOURCETYPE_MAP: 251 GB
    imagick::RESOURCETYPE_MEMORY: 126 GB
    imagick::RESOURCETYPE_THREAD: 1
imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, ASHLAR, AVI, AVIF, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUBE, CUR, CUT, DATA, DCM, DCR, DCRAW, DCX, DDS, DFONT, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FARBFELD, FAX, FF, FITS, FL32, FLV, FRACTAL, FTS, FTXT, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, HALD, HDR, HEIC, HEIF, HISTOGRAM, HRZ, HTM, HTML, 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, KERNEL, LABEL, M2V, M4V, MAC, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORA, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PHM, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PS, PS2, PS3, PSB, PSD, PTIF, PWP, QOI, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGB565, RGBA, RGBO, RGF, RLA, RLE, RMF, RSVG, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TM2, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YAML, YCbCr, YCbCrA, YUV
gd_version: 2.3.3
gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
ghostscript_version: unknown

### wp-server ###

server_architecture: Linux 4.18.0-305.17.1.lve.el8.x86_64 x86_64
httpd_software: Apache
php_version: 7.4.33 64bit
php_sapi: litespeed
max_input_variables: 1000
time_limit: 0
memory_limit: 256M
max_input_time: 60
upload_max_filesize: 32M
php_post_max_size: 32M
curl_version: 7.84.0 OpenSSL/1.1.1p
suhosin: false
imagick_availability: true
pretty_permalinks: true
htaccess_extra_rules: true

### wp-database ###

extension: mysqli
server_version: 10.5.18-MariaDB-cll-lve-log
client_version: mysqlnd 7.4.33
max_allowed_packet: 25165824
max_connections: 500

### wp-constants ###

WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /home/bwientjes/domains/netvis.nl/public_html/cesi/wp-content
WP_PLUGIN_DIR: /home/bwientjes/domains/netvis.nl/public_html/cesi/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: true
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: 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
pods-user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/110.0
pods-session-save-path: /opt/alt/php74/var/lib/php/session
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: Yes
pods-memory-current-usage: 42.345M
pods-memory-current-usage-real: 44.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-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-relationship-table-status: 101

`

Pods Package

{
    "@meta": {
        "version": "2.9.11.1",
        "build": 1677090603
    },
    "settings": {
        "types_only": "0",
        "watch_changed_fields": "1",
        "metadata_integration": "1",
        "metadata_override_get": "1",
        "session_auto_start": "0",
        "wisdom_opt_out": "1"
    },
    "templates": [
        {
            "name": "Member Union (single page)",
            "code": "<!-- DIRTY FIX - MOST BROWSERS ALLOW THIS ALTHOUGH THIS IS NOT PROPER HTML -->\r\n<style>\r\n  .main_color.container_wrap_first.container_wrap.fullsize {\r\n    display:none !important;\r\n  }\r\n<\/style>\r\n<!-- END DIRTY FIX -->\r\n[av_section min_height='' min_height_pc='25' min_height_px='500px' padding='default' margin='aviaTBmargin' custom_margin='0px,-100px' color='main_color' background='bg_color' custom_bg='#2a81ba' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' attach='scroll' position='top left' repeat='no-repeat' video='' video_ratio='16:9' overlay_opacity='0.5' overlay_color='' overlay_pattern='' overlay_custom_pattern='' shadow='no-border-styling' bottom_border='no-border-styling' bottom_border_diagonal_color='#333333' bottom_border_diagonal_direction='' bottom_border_style='' custom_arrow_bg='' id='' custom_class='' aria_label='' av_element_hidden_in_editor='0' av_uid='av-4b389n']\r\n[av_one_fourth first min_height='' vertical_alignment='' space='' row_boxshadow='' row_boxshadow_color='' row_boxshadow_width='10' custom_margin='' margin='0px' mobile_breaking='' border='' border_color='' radius='0px' padding='0px' column_boxshadow='' column_boxshadow_color='' column_boxshadow_width='10' background='bg_color' background_color='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' background_position='top left' background_repeat='no-repeat' highlight='' highlight_size='' animation='' link='' linktarget='' link_hover='' title_attr='' alt_attr='' mobile_display='' id='' custom_class='' aria_label='' av_uid='av-2dt8bf']\r\n\r\n[av_hr class='invisible' icon_select='yes' icon='ue808' font='entypo-fontello' position='center' shadow='no-shadow' height='40' custom_border='av-border-thin' custom_width='50px' custom_margin_top='30px' custom_margin_bottom='30px' custom_border_color='' custom_icon_color='' id='' custom_class='' av_uid='av-kjvp1lkv' admin_preview_bg='']\r\n\r\n<img class=\"nv-union-logo\" src=\"{@union_logo._src}\" \/>\r\n\r\n[\/av_one_fourth][av_one_half min_height='' vertical_alignment='' space='' row_boxshadow='' row_boxshadow_color='' row_boxshadow_width='10' custom_margin='' margin='0px' mobile_breaking='' border='' border_color='' radius='0px' padding='0px' column_boxshadow='' column_boxshadow_color='' column_boxshadow_width='10' background='bg_color' background_color='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' background_position='top left' background_repeat='no-repeat' highlight='' highlight_size='' animation='' link='' linktarget='' link_hover='' title_attr='' alt_attr='' mobile_display='' id='' custom_class='' aria_label='' av_uid='av-24didn']\r\n\r\n[av_textblock size='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' font_color='' color='' id='' custom_class='' av_uid='av-kjvoua48' admin_preview_bg='']\r\n<h1><span style=\"color: #ffffff;\">{@full_name_english}<\/span><\/h1>\r\n[\/av_textblock]\r\n\r\n[\/av_one_half][av_one_fourth min_height='' vertical_alignment='' space='' row_boxshadow='' row_boxshadow_color='' row_boxshadow_width='10' custom_margin='' margin='0px' mobile_breaking='' border='' border_color='' radius='0px' padding='0px' column_boxshadow='' column_boxshadow_color='' column_boxshadow_width='10' background='bg_color' background_color='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' background_position='top left' background_repeat='no-repeat' highlight='' highlight_size='' animation='' link='' linktarget='' link_hover='' title_attr='' alt_attr='' mobile_display='' id='' custom_class='' aria_label='' av_uid='av-i47biz']\r\n\r\n[\/av_one_fourth]\r\n[\/av_section]\r\n\r\n[av_section min_height='' min_height_pc='25' min_height_px='500px' padding='no-padding' margin='aviaTBmargin' custom_margin='0px' custom_margin_sync='true' color='main_color' background='bg_color' custom_bg='#ffffff' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' attach='scroll' position='top left' repeat='no-repeat' video='' video_ratio='16:9' overlay_opacity='0.5' overlay_color='' overlay_pattern='' overlay_custom_pattern='' shadow='no-border-styling' bottom_border='no-border-styling' bottom_border_diagonal_color='#333333' bottom_border_diagonal_direction='' bottom_border_style='' custom_arrow_bg='' id='' custom_class='nv-breadcrumbs' aria_label='' av_element_hidden_in_editor='0' av_uid='av-kjsvo829']\r\n[av_one_fourth first min_height='' vertical_alignment='av-align-top' space='' row_boxshadow_color='' row_boxshadow_width='10' margin='0px' margin_sync='true' mobile_breaking='' border='' border_color='' radius='0px' radius_sync='true' padding='0px' padding_sync='true' column_boxshadow_color='' column_boxshadow_width='10' background='bg_color' background_color='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' highlight_size='1.1' animation='' link='' linktarget='' link_hover='' title_attr='' alt_attr='' mobile_display='' id='' custom_class='' aria_label='' av_uid='av-kkfx4w4d']\r\n\r\n[\/av_one_fourth][av_one_half min_height='' vertical_alignment='av-align-top' space='' row_boxshadow_color='' row_boxshadow_width='10' margin='0px' margin_sync='true' mobile_breaking='' border='' border_color='' radius='0px' radius_sync='true' padding='0px' padding_sync='true' column_boxshadow_color='' column_boxshadow_width='10' background='bg_color' background_color='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' highlight_size='1.1' animation='' link='' linktarget='' link_hover='' title_attr='' alt_attr='' mobile_display='' id='' custom_class='nv-breadcrumbs-column' aria_label='' av_uid='av-kkicj6lx']\r\n\r\n[av_textblock size='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' font_color='' color='' id='' custom_class='' av_uid='av-kjvpe4bu' admin_preview_bg='']\r\n<div class=\"breadcrumb breadcrumbs avia-breadcrumbs\">\r\n  <div class=\"breadcrumb-trail\" >\r\n    <a itemprop=\"url\" href=\"\/\" title=\"CESI\" rel=\"home\" class=\"trail-begin\"><span itemprop=\"name\">Home<\/span><\/a><span class=\"sep\">\/<\/span><a itemprop=\"url\" href=\"\/who-we-are\/\" title=\"Who We Are\"><span itemprop=\"name\">Who We Are<\/span><\/a><span class=\"sep\">\/<\/span><a itemprop=\"url\" href=\"\/who-we-are\/member-unions\/\" title=\"Member Unions\"><span itemprop=\"name\">Member Unions<\/span><\/a><span class=\"sep\">\/<\/span><span class=\"trail-end\">{@post_title}<\/span>\r\n  <\/div>\r\n<\/div>\r\n[\/av_textblock]\r\n\r\n[\/av_one_half][av_one_fourth min_height='' vertical_alignment='' space='' row_boxshadow='' row_boxshadow_color='' row_boxshadow_width='10' custom_margin='' margin='0px' mobile_breaking='' border='' border_color='' radius='0px' padding='0px' column_boxshadow='' column_boxshadow_color='' column_boxshadow_width='10' background='bg_color' background_color='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' background_position='top left' background_repeat='no-repeat' highlight='' highlight_size='' animation='' link='' linktarget='' link_hover='' title_attr='' alt_attr='' mobile_display='' id='' custom_class='' aria_label='' av_uid='av-2t6877']\r\n\r\n[\/av_one_fourth]\r\n[\/av_section]\r\n\r\n[av_section min_height='' min_height_pc='25' min_height_px='500px' padding='default' margin='' custom_margin='0px' color='main_color' background='bg_color' custom_bg='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attach='scroll' position='top left' repeat='no-repeat' video='' video_ratio='16:9' video_mobile_disabled='' overlay_enable='' overlay_opacity='0.5' overlay_color='' overlay_pattern='' overlay_custom_pattern='' shadow='no-border-styling' bottom_border='no-border-styling' bottom_border_diagonal_color='#333333' bottom_border_diagonal_direction='scroll' bottom_border_style='scroll' scroll_down='' custom_arrow_bg='' av-desktop-hide='' av-medium-hide='' av-small-hide='' av-mini-hide='' id='' custom_class='' aria_label='' av_element_hidden_in_editor='0' av_uid='av-fn8iln']\r\n[av_one_fourth first min_height='' vertical_alignment='' space='' row_boxshadow='' row_boxshadow_color='' row_boxshadow_width='10' custom_margin='' margin='0px' mobile_breaking='' border='' border_color='' radius='0px' padding='0px' column_boxshadow='' column_boxshadow_color='' column_boxshadow_width='10' background='bg_color' background_color='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' background_position='top left' background_repeat='no-repeat' highlight='' highlight_size='' animation='' link='' linktarget='' link_hover='' title_attr='' alt_attr='' mobile_display='' id='' custom_class='' aria_label='' av_uid='av-ei9917']\r\n\r\n[\/av_one_fourth][av_one_fourth min_height='' vertical_alignment='' space='' row_boxshadow='' row_boxshadow_color='' row_boxshadow_width='10' custom_margin='' margin='0px' mobile_breaking='' border='' border_color='' radius='0px' padding='0px' column_boxshadow='' column_boxshadow_color='' column_boxshadow_width='10' background='bg_color' background_color='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' background_position='top left' background_repeat='no-repeat' highlight='' highlight_size='' animation='' link='' linktarget='' link_hover='' title_attr='' alt_attr='' mobile_display='' id='' custom_class='' aria_label='' av_uid='av-by3kaz']\r\n\r\n[av_textblock size='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' font_color='' color='' id='' custom_class='' av_uid='av-kjvpe4bu' admin_preview_bg='']\r\n<h3>{@full_name_english}<\/h3>\r\n<p><em>{@full_name_original}<\/em><\/p>\r\n<h5>Country<\/h5><p>{@country}<\/p>\r\n<h5>Types of workers represented<\/h5><p>{@types_of_workers}<\/p>\r\n[if year_of_foundation]<h5>Year of foundation<\/h5><p>{@year_of_foundation}<\/p>[\/if]\r\n[if president]<h5>President<\/h5><p>{@president}<\/p>[\/if]\r\n[if secretary]<h5>Secretary<\/h5><p>{@secretary}<\/p>[\/if]\r\n[\/av_textblock]\r\n\r\n[\/av_one_fourth][av_one_fourth min_height='' vertical_alignment='av-align-top' space='' row_boxshadow_color='' row_boxshadow_width='10' margin='0px' margin_sync='true' mobile_breaking='' border='' border_color='' radius='0px' radius_sync='true' padding='30px' padding_sync='true' column_boxshadow='aviaTBcolumn_boxshadow' column_boxshadow_color='#cccccc' column_boxshadow_width='30' background='bg_color' background_color='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' highlight_size='1.1' animation='' link='' linktarget='' link_hover='' title_attr='' alt_attr='' mobile_display='' id='' custom_class='' aria_label='' av_uid='av-kjvpfmuy']\r\n\r\n[av_textblock size='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' font_color='' color='' id='' custom_class='' av_uid='av-kjvpqkwa' admin_preview_bg='']\r\n<em>Contact information<\/em>\r\n\r\n[av_font_icon icon='ue842' font='entypo-fontello' style='' caption='' size='50px' position='left' color='#2a81ba' link='' linktarget='' animation='' id='' custom_class='' av_uid='av-12qp8b' admin_preview_bg=''][\/av_font_icon]<p>{@address}<\/p>\r\n\r\n<hr style=\"margin:20px 0 5px;\" \/>\r\n\r\n[if phone_number] [av_font_icon icon='ue854' font='entypo-fontello' style='' caption='' size='40px' position='left' color='#2a81ba' link='' linktarget='' animation='' id='' custom_class='' av_uid='av-vefcb' admin_preview_bg=''][\/av_font_icon]<p><a href=\"tel:{@phone_number}\">{@phone_number}<\/a><\/p>\r\n\r\n<hr style=\"margin:20px 0 5px;\" \/> [\/if]\r\n\r\n[av_font_icon icon='ue805' font='entypo-fontello' style='' caption='' size='40px' position='left' color='#2a81ba' link='' linktarget='' animation='' id='' custom_class='' av_uid='av-71zra3' admin_preview_bg=''][\/av_font_icon]<p><a href=\"mailto:{@e-mail}\">{@e-mail}<\/a><\/p>\r\n\r\n<hr style=\"margin:20px 0 5px;\" \/>\r\n\r\n[if website][av_font_icon icon='ue8b1' font='entypo-fontello' style='' caption='' size='40px' position='left' color='#2a81ba' link='' linktarget='' animation='' id='' custom_class='' av_uid='av-j4guj' admin_preview_bg=''][\/av_font_icon]<p>{@website}<\/p>\r\n\r\n<hr style=\"margin:20px 0 5px;\" \/>[\/if]\r\n\r\n[if twitter_handle][av_font_icon icon='ue8f1' font='entypo-fontello' style='' caption='' size='40px' position='left' color='#2a81ba' link='' linktarget='' animation='' id='' custom_class='' av_uid='av-4df18r' admin_preview_bg=''][\/av_font_icon]<p><a href=\"https:\/\/twitter.com\/{@twitter_handle}\" target=\"_blank\" rel=\"noopener\">{@twitter_handle}<\/a><\/p>\r\n\r\n<hr style=\"margin:20px 0 5px;\" \/>[\/if]\r\n\r\n[if facebook_handle][av_font_icon icon='ue8f5' font='entypo-fontello' style='' caption='' size='40px' position='left' color='#2a81ba' link='' linktarget='' animation='' id='' custom_class='' av_uid='av-4df18r' admin_preview_bg=''][\/av_font_icon]<p><a href=\"https:\/\/www.facebook.com\/{@facebook_handle}\" target=\"_blank\" rel=\"noopener\">{@facebook_handle}<\/a><\/p>\r\n\r\n<hr style=\"margin:20px 0 5px;\" \/>[\/if]\r\n\r\n[if instagram_handle][av_font_icon icon='ue909' font='entypo-fontello' style='' caption='' size='40px' position='left' color='#2a81ba' link='' linktarget='' animation='' id='' custom_class='' av_uid='av-4df18r' admin_preview_bg=''][\/av_font_icon]<p><a href=\"https:\/\/www.instagram.com\/{@instagram_handle}\" target=\"_blank\" rel=\"noopener\">{@instagram_handle}<\/a><\/p>\r\n\r\n<hr style=\"margin:20px 0 5px;\" \/>[\/if]\r\n\r\n[if youtube_handle][av_font_icon icon='ue921' font='entypo-fontello' style='' caption='' size='40px' position='left' color='#2a81ba' link='' linktarget='' animation='' id='' custom_class='' av_uid='av-4df18r' admin_preview_bg=''][\/av_font_icon]<p><a href=\"https:\/\/www.youtube.com\/c\/{@youtube_handle}\" target=\"_blank\" rel=\"noopener\">{@youtube_handle}<\/a><\/p>\r\n\r\n<hr style=\"margin:20px 0 5px;\" \/>[\/if]\r\n\r\n[if linkedin_handle][av_font_icon icon='ue8fd' font='entypo-fontello' style='' caption='' size='40px' position='left' color='#2a81ba' link='' linktarget='' animation='' id='' custom_class='' av_uid='av-4df18r' admin_preview_bg=''][\/av_font_icon]<p><a href=\"https:\/\/www.linkedin.com\/{@linkedin_handle}\" target=\"_blank\" rel=\"noopener\">{@linkedin_handle}<\/a><\/p>[\/if]\r\n[\/av_textblock]\r\n\r\n[\/av_one_fourth][av_one_fourth min_height='' vertical_alignment='' space='' row_boxshadow='' row_boxshadow_color='' row_boxshadow_width='10' custom_margin='' margin='0px' mobile_breaking='' border='' border_color='' radius='0px' padding='0px' column_boxshadow='' column_boxshadow_color='' column_boxshadow_width='10' background='bg_color' background_color='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' background_position='top left' background_repeat='no-repeat' highlight='' highlight_size='' animation='' link='' linktarget='' link_hover='' title_attr='' alt_attr='' mobile_display='' id='' custom_class='' aria_label='' av_uid='av-29kmhn']\r\n\r\n[\/av_one_fourth]\r\n[\/av_section]\r\n\r\n[av_hr class='invisible' icon_select='yes' icon='ue808' font='entypo-fontello' position='center' shadow='no-shadow' height='80' custom_border='av-border-thin' custom_width='50px' custom_margin_top='30px' custom_margin_bottom='30px' custom_border_color='' custom_icon_color='' id='' custom_class='' av_uid='av-kjvq1pxz' admin_preview_bg='']",
            "id": 1381,
            "_edit_lock": "1677090320:1",
            "_edit_last": "1",
            "admin_only": "0",
            "restrict_capability": "0",
            "show_restrict_message": "1",
            "_pods_capability_allowed": [
                ""
            ],
            "pod_reference": {
                "pod": "member_union"
            }
        }
    ]
}
baswientjes commented 1 year ago

Addendum: I am well aware that I could replace the short codes with their raw HTML equivalent as a work-around to have the icons render properly, but I'd rather use the short codes provided by the Advanced Layout Editor that is incorporated in the Enfold theme I'm using, for maintainability reasons.

NOTE: I have implemented aforementioned workaround, so my link does not show this issue at the moment.

Besides, others might not be so lucky that the only thing the short code does is render an icon.

Please ignore the SSL certificate warning in my link, this is a test environment without proper certificates in place.

JoryHogeveen commented 1 year ago

Hi @baswientjes

Please validate that you've enabled the sub shortcodes constant to enable shortcodes within templates: https://docs.pods.io/displaying-pods/pods-templates/using-shortcodes-in-pods-templates/

Cheers, Jory