Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pods + elementor pro, adding shortcode breaks the header and footer for some reason #7251

Open
heikkiwaan opened this issue Feb 15, 2024 · 1 comment

Comments

@heikkiwaan
Copy link

Description

At the header and footer section i have added a title widget with elementor pro. The title has a link on it, so it has an A tag also. So everything works fine on the elementor side untill i add some shortcode into a field i have added to the "product" type with pods. I have set the shortcode to appear on the product page. The header and footer section title A tag gets a redish color instead of the one i have chosen. Also it has another hover color, which i have never chosen. So it seems like it is ignoring the styles i have set when i have the shortcode there.
The shortcode points to an elementor section that could have anything, i tested it with only one word "hello" and the header and footer gets broken.

Version

3.0.10

Testing Instructions

For some reason i cannot reproduce this on another page, but this is how it appears on my site:

  1. Create a page with Elementor PRO, and header and footer having a title with a link. I have a title of the page pointing to the front page.
  2. Install WooCommerce and add a product
  3. install PODS and modify the "product" type and add a text only field, allowing shortcodes
  4. go to edit the single product template, and add a shortcode widget, and its contents dynamically from the pod field
  5. create a separate section with elementor, just a word or two of text as the content
  6. add the shortcode of that section to a product, in that new field that i created with the pods plugin
  7. go to the page and see that on front page the header works but on the product page not. If i remove the shortcode, the header and footer section works fine.

Screenshots / Screencast

https://youtu.be/Kz0ucMeHrQs
In this screenshot i have a big content behind the shortcode, but the same bug appears when i only have like a word "hello" or just something simple

Possible Workaround

No response

Site Health Information

`
### wp-core ###

version: 6.4.3
site_language: fi
user_language: en_US
timezone: Europe/Helsinki
permalink: /%postname%/
https_status: true
multisite: false
user_registration: 0
blog_public: 0
default_comment_status: open
environment_type: production
user_count: 2
dotorg_communication: true

### wp-paths-sizes ###

wordpress_path: /home/sahkopyorateh/public_html
wordpress_size: 63,16 Mt (66233296 bytes)
uploads_path: /home/sahkopyorateh/public_html/wp-content/uploads
uploads_size: 41,08 Mt (43080151 bytes)
themes_path: /home/sahkopyorateh/public_html/wp-content/themes
themes_size: 3,55 Mt (3725296 bytes)
plugins_path: /home/sahkopyorateh/public_html/wp-content/plugins
plugins_size: 253,67 Mt (265993190 bytes)
database_size: 20,02 Mt (20987904 bytes)
total_size: 381,49 Mt (400019837 bytes)

### wp-dropins (2) ###

advanced-cache.php: true
maintenance.php: true

### wp-active-theme ###

name: Hello Elementor (hello-elementor)
version: 3.0.1
author: Elementor Team
author_website: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
parent_theme: none
theme_features: core-block-patterns, widgets-block-editor, post-thumbnails, menus, automatic-feed-links, title-tag, html5, custom-logo, editor-style, align-wide, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider
theme_path: /home/sahkopyorateh/public_html/wp-content/themes/hello-elementor
auto_update: Disabled

### wp-themes-inactive (1) ###

Twenty Twenty-Four: version: 1.0, author: the WordPress team, Auto-updates disabled

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

Advanced Product Fields for WooCommerce: version: 1.6.6, author: StudioWombat, Auto-updates disabled
Complianz Privacy Suite (GDPR/CCPA) premium: version: 7.0.7, author: Really Simple Plugins, Auto-updates enabled
Elementor: version: 3.19.2, author: Elementor.com, Auto-updates disabled
Elementor Pro: version: 3.19.2, author: Elementor.com, Auto-updates disabled
Google Listings and Ads: version: 2.5.17, author: WooCommerce, Auto-updates disabled
Heikin Elementor Maintenance whitelist: version: 0.0.1, author: Heikki Kniivilä, Auto-updates disabled
Heikin Half star rating: version: 0.0.1, author: Heikki Kniivilä, Auto-updates disabled
Heikin Pods Get product url: version: 0.0.1, author: Heikki Kniivilä, Auto-updates disabled
Heikin review listings: version: 0.0.1, author: Heikki Kniivilä, Auto-updates disabled
Heikin Star rating shortcode: version: 0.0.1, author: Heikki Kniivilä, Auto-updates disabled
Limit Login Attempts Reloaded: version: 2.26.4, author: Limit Login Attempts Reloaded, Auto-updates disabled
Pinterest for WooCommerce: version: 1.3.20, author: WooCommerce (latest version: 1.3.21), Auto-updates disabled
Pods - Custom Content Types and Fields: version: 3.0.10, author: Pods Framework Team, Auto-updates disabled
Site Kit by Google: version: 1.120.0, author: Google, Auto-updates disabled
WooCommerce: version: 8.5.2, author: Automattic, Auto-updates disabled
WooCommerce Paytrail Maksutavat: version: 5.3.6, author: WebData Oy, Auto-updates disabled
WooCommerce Photo Reviews Premium: version: 1.3.11, author: VillaTheme, Auto-updates disabled
WP Super Cache: version: 1.11.0, author: Automattic, Auto-updates disabled
Yoast SEO: version: 22.0, author: Team Yoast, Auto-updates disabled

### wp-plugins-inactive (2) ###

Akismet Anti-spam: Spam Protection: version: 5.3.1, author: Automattic - Anti-spam Team, Auto-updates disabled
Photo Reviews for WooCommerce: version: 1.2.10, author: VillaTheme, Auto-updates disabled

### wp-media ###

image_editor: WP_Image_Editor_Imagick
imagick_module_version: 1692
imagemagick_version: ImageMagick 6.9.12-93 Q16 x86_64 17898 https://legacy.imagemagick.org
imagick_version: 3.7.0
file_uploads: 1
post_max_size: 58M
upload_max_filesize: 52M
max_effective_size: 52 MB
max_file_uploads: 20
imagick_limits: 
	imagick::RESOURCETYPE_AREA: 235 GB
	imagick::RESOURCETYPE_DISK: 9.2233720368548E+18
	imagick::RESOURCETYPE_FILE: 786432
	imagick::RESOURCETYPE_MAP: 117 GB
	imagick::RESOURCETYPE_MEMORY: 59 GB
	imagick::RESOURCETYPE_THREAD: 1
	imagick::RESOURCETYPE_TIME: 9.2233720368548E+18
imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, AVI, 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, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FLV, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, 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, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, 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, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIDEO, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
gd_version: bundled (2.1.0 compatible)
gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
ghostscript_version: unknown

### wp-server ###

server_architecture: Linux 4.18.0-513.9.1.el8_9.x86_64 x86_64
httpd_software: Apache
php_version: 8.1.27 64bit
php_sapi: fpm-fcgi
max_input_variables: 1000
time_limit: 130
memory_limit: 228M
admin_memory_limit: 256M
max_input_time: 160
upload_max_filesize: 52M
php_post_max_size: 58M
curl_version: 7.61.1 OpenSSL/1.1.1k
suhosin: false
imagick_availability: true
pretty_permalinks: true
htaccess_extra_rules: true
current: 2024-02-15T19:30:48+00:00
utc-time: Thursday, 15-Feb-24 19:30:48 UTC
server-time: 2024-02-15T21:30:46+02:00

### wp-database ###

extension: mysqli
server_version: 10.6.17-MariaDB
client_version: mysqlnd 8.1.27
max_allowed_packet: 268435456
max_connections: 151

### wp-constants ###

WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /home/sahkopyorateh/public_html/wp-content
WP_PLUGIN_DIR: /home/sahkopyorateh/public_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: true
CONCATENATE_SCRIPTS: false
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

### google-site-kit ###

version: 1.120.0
php_version: 8.1.27
wp_version: 6.4.3
reference_url: https://sahkopyoratehdas.com
amp_mode: no
site_status: not-connected
user_status: not authenticated
verification_status: not-verified
connected_user_count: none
active_modules: site-verification, search-console, pagespeed-insights
recoverable_modules: none
required_scopes: 
	openid: ⭕
	https://www.googleapis.com/auth/userinfo.profile: ⭕
	https://www.googleapis.com/auth/userinfo.email: ⭕
	https://www.googleapis.com/auth/siteverification: ⭕
	https://www.googleapis.com/auth/webmasters: ⭕
capabilities: 
	googlesitekit_authenticate: ✅
	googlesitekit_setup: ✅
	googlesitekit_view_posts_insights: ⭕
	googlesitekit_view_dashboard: ⭕
	googlesitekit_manage_options: ⭕
	googlesitekit_update_plugins: ⭕
	googlesitekit_view_splash: ✅
	googlesitekit_view_authenticated_dashboard: ⭕
	googlesitekit_view_wp_dashboard_widget: ⭕
	googlesitekit_view_admin_bar_menu: ⭕
	googlesitekit_view_shared_dashboard: ⭕
	googlesitekit_read_shared_module_data::["search-console"]: ⭕
	googlesitekit_read_shared_module_data::["pagespeed-insights"]: ⭕
	googlesitekit_manage_module_sharing_options::["search-console"]: ⭕
	googlesitekit_manage_module_sharing_options::["pagespeed-insights"]: ⭕
	googlesitekit_delegate_module_sharing_management::["search-console"]: ⭕
	googlesitekit_delegate_module_sharing_management::["pagespeed-insights"]: ⭕
enabled_features: 
	adsModule: ⭕
	audienceSegmentation: ⭕
	gm3Components: ⭕
search-console_shared_roles: none
search-console_management: owner
pagespeed-insights_shared_roles: none
pagespeed-insights_management: all_admins
search_console_property: none

### pods ###

pods-server-software: Apache
pods-user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
pods-session-save-path: /var/cpanel/php/sessions/ea-php81
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: 56.690M / 40M
pods-memory-current-usage-real: 72.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: 4
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: No
pods-settings-metadata_override_get: No

`

Pods Package

{
    "@meta": {
        "version": "3.0.10",
        "build": 1708025625
    },
    "settings": {
        "types_only": "0",
        "watch_changed_fields": "0",
        "metadata_integration": "0",
        "metadata_override_get": "0",
        "media_modal_fields": "0",
        "session_auto_start": "0",
        "wisdom_opt_out": "1",
        "active_components": [
            "migrate-packages",
            "templates"
        ]
    },
    "pods": [
        {
            "name": "product",
            "id": 184,
            "label": "Tuotteet",
            "description": "",
            "type": "post_type",
            "storage": "meta",
            "object": "product",
            "_migrated_28": "1",
            "pick_object": "custom-simple",
            "required": "0",
            "groups": [
                {
                    "name": "lisaa_kenttia",
                    "id": 185,
                    "label": "Lis\u00e4\u00e4 kentti\u00e4",
                    "description": "",
                    "weight": 0,
                    "fields": [
                        {
                            "name": "erityisominaisuudet",
                            "id": 330,
                            "label": "Erityisominaisuudet",
                            "description": "",
                            "weight": 0,
                            "type": "wysiwyg",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "wysiwyg_editor": "tinymce",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "roles_allowed": "administrator",
                            "enable_conditional_logic": "0",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "wysiwyg_editor_height": "50",
                            "wysiwyg_trim_lines": "1",
                            "wysiwyg_trim": "1",
                            "wysiwyg_trim_p_brs": "1",
                            "wysiwyg_allowed_html_tags": "strong em a ul ol li b i",
                            "wysiwyg_media_buttons": "0"
                        },
                        {
                            "name": "hinta_muualla_teksti_ennen_hintaa",
                            "id": 644,
                            "label": "hinta muualla teksti ennen hintaa",
                            "description": "",
                            "weight": 1,
                            "type": "text",
                            "sister_id": "-- Select One --",
                            "required": "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",
                            "enable_conditional_logic": "0",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "default_value": "Vastaava s\u00e4hk\u00f6py\u00f6r\u00e4 liikkeess\u00e4"
                        },
                        {
                            "name": "hinta_muualla",
                            "id": 643,
                            "label": "Hinta muualla",
                            "description": "",
                            "weight": 2,
                            "type": "text",
                            "sister_id": "-- Select One --",
                            "required": "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",
                            "enable_conditional_logic": "0",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1"
                        },
                        {
                            "name": "youtube-video",
                            "id": 753,
                            "label": "Youtube-Video",
                            "description": "",
                            "weight": 3,
                            "type": "website",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "website_format": "normal",
                            "website_allow_port": "0",
                            "website_clickable": "0",
                            "website_new_window": "0",
                            "website_nofollow": "0",
                            "website_max_length": "255",
                            "website_html5": "0",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "roles_allowed": "administrator",
                            "enable_conditional_logic": "0",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1"
                        },
                        {
                            "name": "lopputeksti",
                            "id": 755,
                            "label": "Lopputeksti iso",
                            "description": "",
                            "weight": 4,
                            "type": "text",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "roles_allowed": "administrator",
                            "enable_conditional_logic": "0",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "text_allowed_html_tags": "strong em a ul ol li b i",
                            "text_max_length": "255",
                            "text_allow_shortcode": "1"
                        }
                    ]
                }
            ]
        }
    ]
}
@heikkiwaan
Copy link
Author

At the elementor support they asked me to contact pods support about this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant