Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
A client side scripting language useful for making interactive web sites. Questions about using JavaScript outside a WordPress context are off-topic but might be asked on Stack Overflow.
0
votes
1
answer
113
views
theme-independent CSS/JS files
So far I did the following task to add theme-dependent CSS/JS files; I added to the theme's functions.php this code, then created the relevant CSS and JS files:
function my_theme_enqueue_styles() {
…
0
votes
1
answer
47
views
Theme JS is available but theme CSS isn't
In functions.php I used the following code to enqueue assets, but for some reason all CSS is ignored (JS isn't ingonred):
function my_theme_enqueue_assets() {
wp_enqueue_style( 'parent-style', ge …
1
vote
Accepted
Theme JS is available but theme CSS isn't
It seems to me best to separate styles, from scripts and other assets. This worked:
function my_theme_enqueue_styles() {
wp_enqueue_style( 'parent-style', get_parent_theme_file_uri() . 'style.css …
0
votes
1
answer
154
views
Full search and replace isn't enough to make all pictures to be loaded with https
What else should be done if I went to my sites dir in Linux and ran this command:
sudo wp search-replace 'http://' 'https://' --all-tables && wp cache flush
and still, some images are loaded as htt …
0
votes
Accepted
Full search and replace isn't enough to make all pictures to be loaded with https
In this site I use Elementor. I solved it by going to WP-admin > Elementor > Tools > Change address, and there I've changed all http:// to https:// as well.
Then the problem solved.
I admit I have n …