Tagged Questions
0
votes
1answer
23 views
Replacing WordPress Icons (menu,icons32, etc)?
I want to replace wordpress admin sprites. I recreated the images and looked answrs for icon replacement using jquery and simply with CSS BUT what about ones link icons32-2x.png where I can't find the ...
0
votes
1answer
21 views
Covert Wordpress Blogname into JQuery
Here is the blogname in php <?php $blog_title = get_bloginfo('name'); ?>
I want to convert it to javascript. The file I want the blog name is in a .js file so I cant create the variable with ...
-1
votes
0answers
21 views
Hyphens are causing a blank result
I'm having issues with hyphens in my slugs from a tutorial I'm trying to go through... http://wp.tutsplus.com/tutorials/theme-development/create-a-quicksand-portfolio-with-wordpress/ and I'm having a ...
0
votes
0answers
19 views
videopress videos are not displayed when loading the content with ajax in a lightbox
I'm using videopress and I'm adding the videos into posts with the videopress shortcode, and when I visit the post I can see the videos and play them, but the problem is when loading the post with ...
0
votes
0answers
25 views
get_option include <br /> in my adsense
As title said I saved in wp-options -> option_value a adsense code but when I try to display to website in the code I get some
"<script type=\"text/javascript\"><!--<br ...
0
votes
1answer
136 views
Ajax Validation for reCaptcha
Background
I have a registration form that validates with AJAX using jQuery Validation Engine. The form was created using Theme My Login and contains reCaptcha which I implemented using WP-reCAPTCHA.
...
0
votes
1answer
30 views
Screen Options JavaScript Code
I want to know, what script drives the "screen options" animation toggle in WordPress.
I'm referring to the options menu that slides out when the admin clicks the "Screen Options" link near the ...
1
vote
0answers
40 views
Using window.onload with Ubermenu
I am using a plugin to place this code on specific pages. But it is not firing correctly.
Has anyone had experience working with Ubermenu, WP and jQuery? Do I have to call jQuery into my ...
0
votes
0answers
33 views
Show the image specified in src
I'm trying to find a way to state "if" there is an image in the description of a Wordpress post show the image specified in src instead of from the data-img attribute. Right now I'm using a JS plugin ...
0
votes
1answer
101 views
Problem adding MP3 attachments to a jPlayer playlist
I'm trying to get a post's mp3 attachments working with the jplayer plugin (with playlist addon). I have it working for a set number of attachments, but am failing to find a dynamic solution for any ...
0
votes
0answers
16 views
Worpress json api plugin - calling from jQuery [duplicate]
I am using JSON API Plugin for wordpress. It generates a json file from my wordpress content at http://grmmph.com/?json=1.
It seems to work fine if from the link above, however when I am trying to ...
0
votes
0answers
47 views
How to execute a function from function.php in a javascript?
I have created a custom menu function in functions.php, but I need to execute it in a container that is created by a javascript. Is this doable? The js is outputting a container called ...
0
votes
2answers
212 views
Are you sure popup on Contact Form 7
I have a contact form built with Contact Form 7. What I want to do is when the user hits the submit button to throw up a pop up window with a notice asking if their sure they want to submit the form ...
0
votes
1answer
54 views
WordPress Theme - jQuery JavaScript Library Issue
I am having some issues with a couple of plugins which use jQuery/JS i.e. cookie control and a picasa photo gallery.
The theme I am using is quite basic and comes with no sliders etc with moving ...
0
votes
0answers
25 views
Only allow customize partial of the email address when register / edit in the user profile
I can not find a fitting answer online, so I need to see all the pros in here for a favor.
I am thinking about only allow user to edit partial of the email address when register, but I do not know if ...
0
votes
0answers
223 views
Loading content dynamically using jQuery.load
So I am working on a website for a client and they want a tabbed content area. Without loading all of the queries on a single page, how can I go about doing this? Right now I have the following for my ...
0
votes
0answers
49 views
Javascript not working on site
I've recently created my first wordpress site, and have installed it all manually. It's all working fine, except that none of the Javascript on the site works. I think this may have been corrupted ...
0
votes
1answer
229 views
How to setup a popup registeration page in wordpress with function.php
everyone:
I wonder if there is existing tutorial on how to create a popup registration page in wordpress by utilizing function.php? or is there another way that can do with it?
Thank you!
0
votes
1answer
48 views
Is there some jQuery conflict here?
I'm customizing a wordpress theme called Accordium, and I have decided to add infinite scroll to it using a wordpress plugin called pbd-ajax-load-posts. In the theme, when you click on a post in ...
0
votes
2answers
120 views
jQuery UI inside widget on admin page
I have created a widget that has quite a few settings, and so I am trying to create a tabbed menu (using jQuery UI) inside the widget settings of the admin page.
The problem is basically that tabs ...
0
votes
2answers
35 views
Including Javascript options
For a Wordpress Theme I know javascript files (ending in .js) must be included using wp_enqueue_script in functions.php but how do I include additional javascript code, for example say I need to add ...
1
vote
1answer
146 views
How do I get my page to load the jQuery UI Effects library?
I'm using javascript for the first time to do some simple animations on the home page of my website. So far I have added the following to my header.php file (which is only used for my home page), ...
0
votes
2answers
131 views
My jQuery is enqueued properly. So why isn't it working?
I'm just trying to add a simple bit of Show/Hide jQuery to a child theme.
$(document).ready(function(){
$("#openbtn").click(function(){
$("#openingtimes").toggle(300);
});
});
I've saved the ...
2
votes
1answer
71 views
javascript is not working on Event Submission?
I am using Events Manager Plugin
Javascript is not working on Submit Events Page .
I found the reason behind this , that was, I have written a line of code in functions.php to call jquery file.
...
-1
votes
1answer
42 views
Wordpress video end function [duplicate]
Possible Duplicate:
$ not defined using jQuery in Wordpress
I need to trigger a alert box when video ends
THis is the code i got from google
<script>
...
0
votes
0answers
89 views
My Wordpress site crashes in IE8 [closed]
I'm working on my first WordPress project and hit upon a really strange problem. The site loads fine in FireFox, Chrome and IE9, but IE8 goes as far as loading the background then freezes/crashes.
I ...
0
votes
2answers
94 views
Including javascript for a shortcode
I'm creating a plugin that allows a user to use a shortcode. This shortcode depends on a bunch of javascript that needs to be present once the shortcode loads.
I'm having issues trying to decide when ...
3
votes
2answers
597 views
Defer Parsing of Scripts
this is my first time to try this "Defer Parsing" thing, and I don't really have an idea how to do it.
Using PageSpeed tool, I found out that one of the reason why my page is loading too slow ...
0
votes
1answer
241 views
How to make featured image thumbnails on index page load smoother?
I'm using a theme called Hatch Pro, which is a gallery based theme and the index page displays the posts using the featured image. You can see it here.
On slower browser environments, the images ...
0
votes
1answer
69 views
Javascript will not run properly
I have this code which runs perfectly on jsFiddle. When I try to run that code on my self-hosted WordPress site, however, it will not run. (The code is exactly the same on my page, except that I added ...
-4
votes
2answers
95 views
Adding jquery using php function
I was turned down with this question because I get a php error and my question revolves around jquery, but when I take out the JQUERY everything works fine. * Again I'm creating a wordpress plugin. I ...
0
votes
2answers
215 views
Javascript included but alert() function not working
I've included the javascript by
wp_enqueue_script('slider', plugins_url( 'slider.js', __FILE__ ) );
with just a simple
$(document).ready(function () {
alert("alert");
});
It shows up in the ...
0
votes
0answers
5 views
Add vars to wp-calendar [duplicate]
Possible Duplicate:
Add variables to calendar
This script must find links in wp-calendar and add to the end of the links category name.
But it doesn`t work.
<script>
var cat = ...
0
votes
1answer
95 views
JS Plugin not executing the js correctly. Trying to make all internal links scroll smoothly
all right... I am attempting to create a plugin for my site that adds a js snippet to the head section when a front end page loads.
The js is meant to add smooth scrolling to all internal links.
...
3
votes
1answer
64 views
What is the best practice for customizing a plugin's JavaScript/jQuery?
Most well written plugins support a safe means for a developer to customize/theme the plugin by copying PHP files to the theme directory and modifying the copies rather than the original plugin file. ...
0
votes
1answer
89 views
Call javascript functions from each page
Is there a plugin that supports calling custom functions that you've created?
Like,
page A -- I want to call function x
$(document).ready(function(){
call_function_x()
});
page B -- I want ...
2
votes
1answer
258 views
Gravity Forms not loading under https, jQuery is not defined
I am using Gravity Forms on my Wordpress site, and so far so good. The problem is I have made the page secure (https/SSL), and this is making the form not to work.
It looks like the issue is how the ...
1
vote
0answers
257 views
How to bind data-src attribute for the image in the post using jquery?
I'm trying to use foresight.js for responsive image in the wordpress blog. For that I have to add the data-src attribute in the place of src in the <img> tag.
Or I have to get the url from the ...
0
votes
1answer
514 views
Trying to get fittext to work in Wordpress
I have the following code in my template page and I have registered jquery and fittext in my theme's functions.php. They are currently showing up in the footer as I set them to. I can set them up in ...
0
votes
1answer
201 views
How To Include JavaScript Files Only In Single Posts?
I know that wp_enqueue_script() inserts Javascript files into the WordPress header in the appropriate place.
However, I want to include my Javascript in all single posts, ignoring the WordPress home ...
0
votes
2answers
93 views
“Conflict” with jQuery (or its plugins)?
I've been working on localhost and everything looks fine but then when I uploaded my Wordpress theme online, all of the jQuery plugin functions are undefined!
One solution that worked (which I ...
1
vote
2answers
693 views
Most efficient way to add javascript file to specific post and/or pages?
I am wondering what the most efficient method is to add a javascript file specifically for a post and/or page.
Here are a few solutions I came up with:
Switch to HTML editing view and post your ...
0
votes
0answers
107 views
jscrollpane webkit problem [closed]
i am facing weird problem with jscrollpane on chrome and safari , its not showing the content well , i did all possible solution with it .
is there any idea i can try to fix this issue ?
...
-2
votes
2answers
264 views
Can I include Javascript/jQuery in a page?
I'm extremely new to Wordpress, and I've offered to help out with a project that uses it.
In a new page I'm creating, I need to use javascript/jQuery to write out the html dynamically - it doesn't ...
0
votes
1answer
555 views
Setting parent menu item href to javascript:void(0) [closed]
Ok, worked out how to do it, but wanted to know if this is the preferred method of doing it or if there was a better way.
What I have is this..
<script type="text/javascript">
...
0
votes
2answers
100 views
wordpress before or after javascript problem
hi guys im aqeel im trying to implement a slide show in a wordpress site's home page but it not working it simply contains the easyslider1.5.js file which i put in js folder css which of course in css ...
0
votes
1answer
68 views
How to enque js script in footer that are not in .js file?
I do have code that is js script inline together with php script is their possible way to enque it to footer without puting it on .js file
To clear explanition on my question here is my example code
...
0
votes
2answers
184 views
How do I make my wordpress post appear in a mouse hover preview?
Mouse hover previews usually only show title and image. Instead, I want the entire wordpress post to show. The code that calls the preview is this:
adTitle = jQuery(this).find('img').attr('alt');
...
0
votes
1answer
31 views
Loops running into each other
I have 3 loops on one page, each pulling a different CPT into a portfolio like layout.
Live: http://iassc.baltimoredrew.com/providers/
Gist: https://gist.github.com/3503334
However the tags for the ...
0
votes
1answer
117 views
Using jQuery .after inside loop
I have a bit of javascript that will dynamically add a static post to a loop. The script uses the jQuery 'after' method and on a static page it works beautifully but when inside the loop I don't get ...

