Tagged Questions
-1
votes
0answers
14 views
thickbox.js Endless loading gif. Why is thickboxL10n not defined?
Below is the line that throws the error. I am using thickbox.js
jQuery("#TB_window").append("" + ""+caption+"" + TB_imageCount + TB_PrevHTML + TB_NextHTML + "");
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
35 views
How to enqueue some javascript source once per page
I need my plugin to generate the following - once per page:
<script type="text/javascript" src="https://<ritc url for js file>"></script>
<script type="text/javascript">
...
0
votes
4answers
43 views
contact 7 plugin stops some pages from working properly
I started to use contact 7 plugin and I'm having a slider and some effects on other images when i activate the plugin they stop working this is the web page
http://www.digitalways.com.sa/
I ...
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
1answer
86 views
Move specific javascript to the footer
I have noticed if I move all of my javascript to the footer, some plugins do not function properly, or at all. Is there some code I can add to my functions.php to move specific plugin javascript to ...
0
votes
0answers
36 views
Open gallery image include all post images
Is there a way to make wordpress so when I click on a gallery image, it automatically includes all the images in that specific post?
so lets say I have image 1,2,3,4,5
and I have [gallery ids="4"]
...
0
votes
0answers
38 views
GD Star Rating and Infinite Scroll callback
I'm looking to use GD Star Rating on a page that uses Infinite Scroll. However when loading the next section of the posts, the star rating looses it's functionality.
I've found easy callbacks for ...
0
votes
1answer
44 views
Expanding / Collapsing Modules in Wordpress Panel
I'm using WordPress 3.3.2. version. I can't able to expand / collapse modules in wordpress panel. I have deactivated all plugins and checked. But no result.
If i disable Java Script, it is working ...
1
vote
1answer
177 views
prettyPhoto media loading very slowly in Chrome
I'm having a problem with prettyPhoto media WordPress plugin (lightbox type) script in Chrome. It works beautifully in other browsers, but it takes forever to load in Chrome.
When using this script ...
0
votes
1answer
42 views
Can't insert files in other inputs
I'm trying to allow multiple images to be uploaded to the media library where I can then take the URL of the image and insert it into a custom page on the website but for some reason, when I click on ...
2
votes
1answer
75 views
How to include admin-ajax when loading external javascript
I'm creating a plugin that has some external Javascript and some AJAX calls ... but I don't know the best way to make reference to the admin-ajax.php file since the path requires some input from PHP ...
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 ...
2
votes
3answers
109 views
How do I only load a plugin js on it's settings pages?
I have a plugin that is conflicting with some default wordpress functions. In the post and page creating/edit areas. I only need my functions on my settings pages. I have the js file loading in admin, ...
0
votes
1answer
105 views
Dropdown menu on click change
Im working on a website where I need to create a submenu that shows only the parent pages.
When I click on one of the parents it has to show the children from that parent.
Here is the menu hierarchy ...
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.
...
0
votes
1answer
88 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 ...
3
votes
3answers
134 views
How can I reduce the amount of files loaded/included per plugin?
I have a Wordpress site that uses several plugins, namely 8. Most of these plugins include a lot of their own JS and CSS files, some even include so much as 3 separate CSS files. One can imagine that ...
0
votes
2answers
92 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 ...
0
votes
2answers
301 views
How to Reload the Dashboard After Clicking Update in Quick-Edit?
How can I refresh the wp-admin/edit.php page after a user clicks Update in the Quick-edit form?
0
votes
1answer
406 views
Want to add comments to NextGEN Gallery
Does anyone know how to do it?
I would like to implement Facebook or Disqus comments.
I am using the gallery with the shutter effect.
Thanks for your help!
3
votes
4answers
102 views
How do I make my wordpress page more friendly for mobile viewers?
My basic question is How do I make my wordpress page more friendly for mobile viewers?
I have seen some answers such as wptouch, wordpress mobile pack, and mobilepress http ...
1
vote
1answer
536 views
force enqueue script to be first in order of prominence
I have a few scripts which are being enqueued,
the problem is that I want to force the order of prominece to which these scripts are loaded. There is one in particular which is loaded from a plugin ...
2
votes
2answers
327 views
Has anyone used require.js for handling plugin scripts?
I'm starting to refactor the code of my plugin and I'm thinking about using require.js to handle the scripts so that i have a codebase which is more modular and testable. And I'm also planning to load ...
0
votes
1answer
43 views
Is it possible to run javascript on plugin deactivated?
Is it possible to run javascript on plugin deactivated and if yes then, how should I achieve that.
I have developing one plugin in which two new tables are created in wp database and on deactivation ...
1
vote
1answer
64 views
Localiztion in javascript
Wordpress currently uses the gettext feature which is available in php but unfortunately not in Javascript.
I have searched this matter on the web and have come up with this trick. But there is a ...
1
vote
0answers
330 views
GeoMashup plugin: how to customize cluster markers / icons?
Is there a way to customize the standard cluster icon marker which GeoMashup uses to display nearby posts grouped in a certain area?
by default it's a red dot in V2, or a blue dot in V3
how to ...
0
votes
3answers
343 views
how would I include a js file with <script> tags into wordpress?
in my wordpress plugin file I have this code that includes a javascript
function javascript_file-exmp() {
$src = plugins_url('test.js', __FILE__);
wp_register_script( 'links', $src );
...
-2
votes
1answer
206 views
Javascript from Easy-Fancybox place into footer
the Easy FancyBox WP-Plugin works fine for me.
Just the script will be placed in the header of my source, like other plugin, too.
I´d like to push it down to the footer of my website (incl. the ...
0
votes
2answers
312 views
How to execute a plugin on a single page only?
A few basic questions to accelerate my wordpress plugin development start. I'd like to develop a wordpress plugin that adds some javascript and css to a specific page.
What filters or actions should ...
1
vote
0answers
500 views
JS.Alescurf notification [closed]
I am trying to remove this virus that cause certain browsers like Opera cannot open this website because it detects malware.
This is the blog: http://tinyurl.com/7bprswz
How to solve this?
3
votes
1answer
95 views
What happened to convertEntities?
I was using the javascript function convertEntities in a plugin that worked great until recently and now the function seems to have vanished under 3.3 - Is there a substitute function I should be ...
0
votes
1answer
290 views
how to insert a HTML form into a javascript popup?
I'm working on a plugin that generates a list of candidates as output. For each candidate there is a link (View Details) that once is clicked, a popup appears. I need to put a simple contact form into ...
2
votes
1answer
461 views
How can I make the “Preview Post” button save and preview in the same window?
When you choose "Preview", which is actually a link,
<a class="preview button" href="?p=52&preview=true"
id="post-preview" tabindex="4">Preview</a>
the post is saved and the ...
1
vote
1answer
160 views
Can some one please tell me what is wrong with my plugn?
two days back a made a plugin that allows me to insert toggle box in to the post with the short code [toggle Title="My title"]toggle test[/toggle]
i also posted my plugin on wordpress.org plugins
...
1
vote
1answer
160 views
CSS/JS files in WordPress
In web development, I get used to place css/js files under separate folders (css folder, js folder ..etc).
What I am experiencing in WordPress is that I cannot access these folders in WordPress Admin ...
1
vote
2answers
421 views
Google Maps and Yandex Maps doesn't work correctly
When I try to insert a map into my WordPress page, I get only a gray-colored field with some controls as shown on the picture:
No matter, how I put in into the page: by using a special plugin or ...
0
votes
3answers
235 views
Display a consistent Google Plus icon on ALL pages of my site
My website is http://tablified.com and I have managed to setup the Google Plus script. The issue is that every page of the site displays a different Google Plus count. For example, if you go on my ...
0
votes
1answer
268 views
How do I override all stylesheets and scripts without a plugin
I'm finding that plugins completely destroy my source formatting and generally suck at following standards.
How can I absolutely block all style-sheets and move all .js to the footer of the site ...
0
votes
1answer
29 views
What's the default setting for including a <script> in a post
As we're evaluating whether we should build a Wordpress plugin and in that context I'm trying to figure out how Wordpress handles script tags in a post?
What's the default setting?
Thanks!
1
vote
2answers
2k views
What's the best plugin for allowing javascript in a post or page?
Just looking for a recommendation on the best plugin to allow javascript in a post or page.
1
vote
2answers
621 views
WP-Cufon adding extra space in my paragraphs in Firefox and Chrome
I'm using WP-Cufon for font replacements. It's adding extra cufon canvas out side of p tags in my page, which is seriously messing up my layout. The URl is this http://doscasas.com.mx/dev/ . But it ...
0
votes
2answers
331 views
Wp-minify doesn't seem to minify my JS code
I've added to the theme (twenty ten) a php template file in which I've written some javascript code.
I then created a new page and set it to use that template.
Then I installed and activated the ...
1
vote
1answer
132 views
Updating the Drag-To-Share eXtended share URLs?
How can I update the URLs that Drag-To-Share eXtended generates? At least in version 1.13, sharing items for Twitter and Facebook does not produce the proper url string for actually sharing the ...
2
votes
3answers
372 views
Adding <select> with javascript to admin bar. Works in Chrome/Safari, not Firefox
I'm trying to add a new menu item to the WordPress admin bar. The sub menu item contains a select drop down to switch themes. In Firefox with href => false it generated <a href=""> and when I ...
0
votes
1answer
1k views
MediaElement.js works on one site but not the other?
I love the MediaElement.js plugin but I seem a little stumped. I have installed it on two WordPress sites: http://blog.mattforget.com/?p=94 and http://oedipus1.com/home/?p=3822
The sites are hosted ...
0
votes
2answers
91 views
Scripts at the end of the page
If I wanted to put the scripts that all my plugins use at the end of the page, where would I do this?
Using YSlow/Firebug it recommends this tactic.
1
vote
1answer
462 views
Plugin admin panel JavaScript Broken
I'm trying to implement this plugin on my live wordpress instilation:
http://wordpress.org/extend/plugins/frontpage-slideshow/
I wouldn't usually ask a question about a plugin directly but this ...
0
votes
1answer
3k views
Which plugin can do horizontal scrolling of RSS feeds in WordPress
I need a plugin which can do horizontal scrolling of RSS feeds in wordpress, I have got a vertical scrolling RSS feeds but cannot find a horizontal one
2
votes
5answers
5k views
Adding onload to body
I'm currently trying to develop a plugin that will embed a Google Earth Tour into a WP post / page via a shortcode. The issue I am running into is that for the tour to load, I have to add an ...