## Remove Stylesheet by URL that has not been enqueued

Question
I am editing the theme Peggi (https://themeforest.net/item/peggi-a-multipurpose-wordpress-children-theme/22094659) over a child theme to make it GDPR compliant. I managed to remove all external resources like google fonts, except one: <link href="https://fonts.googleapis.com/css?family=Open+Sans:400%7CRoboto:400%7CFira+Sans:500" rel="stylesheet" property="stylesheet" media="all" type="text/css" > This link has not been enqueued ...
0
2 months 0 Answers 29 views

Question
I was given a code to add to a button to make a pop up for calendaring (booking). I can figure out how to add this to the body of the page, but I'd like to add it to a menu ...
0
2 months 0 Answers 32 views

## Load scripts for do_shortcode( ‘ [ my_shortcode ] ‘ )

Question
I want load some scripts and style only for a specific shortcode. I used if ( is_a( $post, 'WP_Post' ) && has_shortcode($post->post_content, 'my_shortcode') ) {} It works when I put my shortcode on page but it does not work when I ...
0
2 months 0 Answers 30 views

## Retrieve URL of Script/Style and Dependencies

Question
Given script X Y and Z how would I get the list in PHP of X Y Z and their dependencies? I need to load several scripts that have dependencies. Normally I would do this via wp_enqueue_script but in this situation I ...
0
2 months 0 Answers 22 views

## I can’t enqueue my scripts – They literally aren’t being added to my site

Question
Ok, I've literally copy-pasted different enqueueing code from about 5 different sources (Including wordpress), and not a single one works. Here's the code I'm using in functions.php: <?php function my_theme_scripts() { wp_register_script( 'main', ...
0
3 months 0 Answers 50 views

## Run one-time script calling plugin functions

Question
I want to add a product programmatically using a wordpress plugin but programmatically as entering it manually is a hassle. I have a little bit of programming experience. I found this: What is your best practice to execute one-time scripts? The only ...
0
4 months 0 Answers 44 views

## Error on clicking ‘Screen Options’ tab only at Products-related editor screen(s) and for specific user

Question
My client has problems with the Screen Options tab and in general with Javascript (or maybe WPBakery) related parts of the Admin screen. WPBakery-s blue buttons are not displaying to him at all. And it happens only, if he stays on ...
0
4 months 0 Answers 51 views

## Error on clicking ‘Screen Options’ tab in WP admin only at Products-related pages/archives and not for every user

Question
My client has problems with the Screen Options tab and in general with Javascript (or maybe WPBakery) related parts of the Admin screen. WPBakery-s blue buttons are not displaying to him at all. Since he was unable to open the Screen ...
0
4 months 0 Answers 67 views