Unanswered Questions
1,279 questions with no upvoted or accepted answers
-1
votes
1
answer
131
views
How can I stop loading wordpress jquery on header?
How to remove wordpress jquery to footer.
Looks like all scripts are wordpress's core script and there must be some way to remove and move to footer. Please guide.
Also Jquery is not moving to ...
-1
votes
1
answer
355
views
Check radio get value to array
i have input radio as:
<input type="radio" name="payvalue" value="126500000"><br>
<input type="radio" name="payvalue" value="252000000"><br>
<input type="radio" name="...
-1
votes
1
answer
21
views
making a simple plugin
I'm new to coding, but not to wp.
If you point me in the right direction I will study what I need to reach the goal.
The goal is this: To build a very basic plugin.
It presents users with a forced ...
-1
votes
1
answer
245
views
TypeErrors with Yoast, jQuery in conflict?
The update to version 4.7 of Yoast have created a big problem.
It not works and I can't "Rolleback" for prior versions.
Only until to version 2.3.5 works.
Here the errors in the browser console:
It ...
-1
votes
2
answers
852
views
bootstrap-slider.js by seiyria not working in wordpress
bootstrap-slider.js offered by seiyria not working in WordPress. It seems that resource file isn't linked properly. What am I missing here? Any idea?
Link Resource to WordPress(functions.php):
...
-1
votes
1
answer
38
views
Why the images on mi javascript are not found?
i have my page in wordpress and i'm trying to include a javascript file for that im using the next code in the footer:
<script src="<?php bloginfo('template_url')?>/js/main.js"></...
-1
votes
3
answers
2k
views
How to delay display of page elements until enqueued script has injected html
I am enqueuing some javascript that injects SVGs into my page's DOM (called SVGInjector); it works great except for one thing: there is an undesirable "blink"/shift of elements on my screen ...
-1
votes
1
answer
2k
views
Divi theme including javascript
I have tested the html and the css and the js independently of wordpress and all works fine. So trying to integrate it into wordpress. I have added the html code as a code module. I have created a ...
-1
votes
1
answer
2k
views
Modify Blog Module layout in Child theme
I need to adjust how the featured image is displayed in their blog module.
I need to change the display of the Featured Image from an IMG tag to a Background Image. So I can modify the frame (DIV) of ...
-1
votes
1
answer
1k
views
Passing javascript variable to php file
I can't find the best way to pass a JavaScript variable to use in a PHP file.
I found this function wp_localize_script(), but it does exactly the contrary.
Is there a way to pass a JavaScript ...
-1
votes
1
answer
2k
views
jQuery functions work in console, but not live
I am trying to traverse the DOM in a number of places, replacing some of the content.
jQuery('.homepage_buttons_text a[href^="http://danrobertsgroup.com/?attachment_id=1037"]').each(function(){
...
-1
votes
1
answer
6k
views
Javascript button to call custom fields data
I am trying to create this button for a custom field that I have on my website
<button type="button"
onclick="document.getElementById('demo').innerHTML = Date()">
Click me to ...
-1
votes
2
answers
3k
views
How to override a theme template file with a child theme template file (of the same name)
In my main theme functions.php I have:
require_once (THEME_PATH . "/woocommerce/tw_woocommerce.php");
So I created a woocommerce folder in my child theme folder and copied the tw_woocommerce.php ...
-1
votes
1
answer
129
views
Javascript Loading Effect to URLs
I have found the youtube loading effect which I want to use in my wordpress theme. As this demo shows the effect triggering with button event. I want to add this to my wordpress theme by triggering ...
-1
votes
1
answer
216
views
Custom field not showing
I am trying to get 3 images and their links which I have defined as custom fields. The custom field aren't displayed and when I var_dump() my get_post_meta() it returns string(0)"", what am i doing ...