Opened 4 years ago
Last modified 4 years ago
#57267 new defect (bug)
wp_enqueue_style is not working under shortcode
| Reported by: | hasanrang05 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Shortcodes | Version: | 6.1.1 |
| Severity: | normal | Keywords: | reporter-feedback |
| Cc: | Focuses: | css |
Description
we have tested in older version wp_enqueue_style('some-id'); is working fine on 5.7.8
but it's not working on 6.1.1
even its not working on "wp_head", "wp_footer"
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hi @hasanrang05, welcome to Trac!
I have tried the following:
Shortcodeblock and enter the following shortcode:[my_shortcode].wp-content/plugins/test_57267/css/my-shortcode.css:wp-content/plugins/test_57267/test_57267.php.In both cases, I saw Hello on the frontend.
Can you provide more detail about what's not working? Could it be a plugin/theme conflict occurring?