0
votes
0answers
34 views

Pass jQuery value in PHP [on hold]

I'm using wordpress.org/plugins/easyreservations this plugin. I need to pass selected datepicker value in PHP form url. The value is in jQuery. I have tried using the code to display from date as echo ...
0
votes
0answers
19 views

send ajax request with formData - uploading file [on hold]

Goal of this ajax request is sending files (I will send only text file). If I set processData to false then request fails(it is written textStatus). I read that ContentType and processData have to ...
0
votes
0answers
38 views

Responsive menu that works horizontally for desktop pcs and vertically for smart phones? [closed]

I am looking for a plugin or a jquery plugin that works with touch devices and e.g. combines slidebars and a horizontal drop down menu something like this: cssmenu drop down menu As mentioned, ...
0
votes
0answers
15 views

jQuery Ajax: re-executing plugin on success, when plugin function is NOT known beforehand

I'm a WordPress theme developer and I've building an ajaxified theme having structure like this ... <body> <div id="site-header"> content here </div> <div ...
1
vote
0answers
26 views

Voting comparison plugin gets stuck in a loop, stops generating new votes

Edit: cut down the text drastically, sorry about that! For some users, at some point it will suddenly stop loading new votes for them, either looping the same one over and over or the same set of ...
0
votes
1answer
39 views

Ajax, jQuery and Wordpress

I'm having trouble getting AJAX and jQuery to work with WP, and wondering if someone can point me in the right direction. I have a form, and I want to pass the data from the form to a PHP function, ...
0
votes
0answers
41 views

Load CSS files in header of Bones theme?

I'm using the Bones theme, and I'm trying to turn jQuery plugins into WordPress plugins. In the init.php file for the 'Chosen' plugin I'm converting, I've included this code: function chosen(){ ...
0
votes
0answers
18 views

Fancybox Iframe freezing before loading

So my wordpress fancybox iframe is kinda malfunctioning. When I click the link, the fancybox is triggered and a small rotating image shows and stops for a few seconds, then the iframe shows. Also, ...
1
vote
1answer
59 views

JQuery plugin that works with Google 1.10.2 and not with Wordpress 1.10.2

I'm making a custom implementation of JQuery Colorbox in a Wordpress plugin. However, it's not working with my default Wordpress installation. After tinkering a bit, it comes down to the inclusion of ...
0
votes
1answer
43 views

How do I make sure a plugin loads a script after jQuery

My client has a site running the latest version of WordPress, with Thesis. Currently, jQuery is being loaded in the footer, as the very last script to be loaded. I'm not sure what is causing jQuery ...
0
votes
0answers
31 views

Hyperlink to execute PHP

Below is code that will add a column called Printed to Gravity Forms and display a green or red dot representing if the form has been printed. If the form has not been printed, I am trying to a) ...
0
votes
0answers
51 views

Wordpress plugin page database connection not working

I am working on wordpress plugin that has option to upload multiple images from wordpress backend and i a using this http://hayageek.com/examples/jquery/jquery-multiple-file-upload/index.php jquery ...
0
votes
1answer
16 views

How to get site homepage from plugin?

I am creating a plugin that has a preview, kind of like the theme customizer preview. It displays the users site in an Iframe. The issue is that I can't seem to be able to get the users homepage using ...
0
votes
1answer
18 views

jquery code didnt run on my plugin

I use this to hook my scripts and styles to my plugin add_action('admin_init', 'the_box_init' ); // Init plugin options to white list our options function the_box_init(){ register_setting( ...
-1
votes
1answer
54 views

Javascript as Jquery Function Call?

Refer to Nice scroll to wordpress wordpress runs jquery in noconflicts mode which means that you either need to write your JS code using the jQuery function call var seq = 0; ...
0
votes
2answers
58 views

Check javascript file Proper way in functions.php

I am trying to convert html to wordpress. The code in the html was: <script src="js/jquery.nicescroll.min.js"></script> <script src="js/jquery.js"></script> ( jQuery v1.7.2 ) ...
0
votes
0answers
62 views

Masonry and infinite scroll child theme

I have a question about masonry and infinite scroll plugin by Jetpack. I've added in my function.php file this code: function mason_script() { wp_enqueue_script( 'jquery-masonry' );} add_action( ...
0
votes
0answers
65 views

Infinite scroll not working with Masonry

I've got masonry working, like so: $('.content').imagesLoaded( function() { $('.wrapper, .content').fadeIn(600); $('.index-page .content').masonry({ itemSelector: '.post', ...
0
votes
1answer
141 views

Add jQuery in dashboard when is already added in main plugin page

Hi guys I have added jQuery and my jQuery fail to my main plugin page and it works great by this was. function load_scipt() { wp_register_script( 'reserveit', plugins_url( ...
0
votes
0answers
74 views

How to duplicate the media upload insert media tab?

I'm currently trying to add custom functionality to the media uploader from my plugin... I basically need to be able to duplicate the functionality that is used to run the Insert Media tab on my own ...
0
votes
0answers
50 views

How can I include scripts in a jquery loaded page, for a jquery wordpress widget?

Iam writing a wordpress widget with the following pages 1) I have master page (master.php) - is the main plugin page - Loads a second page (slave.php) with jQuery 2) The slave page - has php, ...
0
votes
1answer
384 views

Close Fancybox, sumbit form data and redirect

I have a Wordpress and WooCommerce site for a client, and to create a little twist on the customizing on a product I have a external html-page opening in a FancyBox iFrame using Easy FancyBox plugin ...
0
votes
0answers
26 views

how to disable inner links in wordpress

i have used jquery accordion menu plugin for site navigation in my wordpress website. in that i like to disable secondary level links for specific main links. i have disabled third level links by ...
0
votes
0answers
51 views

jQuery loaded in wrong order for non-admin page views only

I am calling /js/gallery_sugar.js with the following block of code in my plugin. It works fine while viewing the pages logged in as admin, but it doesn't seem to be running when I am just viewing the ...
0
votes
1answer
74 views

The Events Calendar Plugin - List View Background Colour Issue [closed]

I'm trying to look for some help, I've got a WordPress website that I'm working on. I'm using this plugin called The Events Calendar, but in List View, the background keeps showing in transparency... ...
0
votes
1answer
34 views

Admin-ajax.php is dying “0” without processing function

I am trying to learn how to process AJAX requests in Wordpress the correct way. To do this I am adapting this tutorial to create a super simple AJAX request to place the ID of a post (from a link) ...
0
votes
0answers
48 views

Embed stock quotes in a lightbox?

Does anyone know of a method to automatically add stock quotes when a company is detected? Good example here (WSJ):
2
votes
1answer
463 views

Ajax with jQuery UI dialog not working

I am trying to update my custom database table when changes are made in a dialog box. The script for the dialog box and ajax call is as follows - jQuery(document).ready(function($){ $("td > ...
0
votes
0answers
28 views

IE Jquery Access Denied

Below code i am using it to open print window with some html content in some div. This code is working perfectly fine with Chrome and Firefox however when I run it on IE 8,9 it is opening a window ...
1
vote
1answer
66 views

JQuery not working in my plugin [closed]

This is my first time using JQuery in a WordPress plugin, and I'm having some trouble. Here is my "main" plugin document: <?php /* Plugin Name: Dump-It Scheduler Plugin URI: ...
0
votes
2answers
355 views

Adding media upload button to User Profile page (following a tutorial)

I am currently following a tutorial by Steven Slack on s2webpress.com on how to add an Author Image upload field to a user Profile page. I've managed to get most of it working, except for the part ...
0
votes
0answers
76 views

Plugin conflicting with navigation JS

I've just begun learning JS so I'm having difficulty solving this issue. The navigation on a page using the "Wordpress Auto Gallery With Expanding Preview" plugin has stopped working. It's definitely ...
0
votes
0answers
28 views

Flexslider question

A client of mine is using Flexslider by WooThemes on their site and they want to disable swipe support on mobiles/tablets if there is only 1 slide (The script outputs "clone" slides which seem to be ...
0
votes
1answer
121 views

Trying to override/intercept a PhotoMosaic gallery link in Wordpress using jQuery

The page in question is located at http://www.sandbarmedia.com/clients/va/gallery/. Basically, I'm trying to use jQuery to intercept a click on one of the photos in the mosaic so that it jumps to the ...
0
votes
1answer
817 views

Using jquery migrate for plugins incompatible with jquery 1.10.2

I'm trying to use a jquery plugin that is not compatable with jquery 1.10.2 in Wordpress 3.6 and was able to fix it by using jquery migrate which apparently also ships with 3.6. I thought I could ...
0
votes
1answer
161 views

Why won't the Comprehensive Google Map Plugin load?

all. I could use some help troubleshooting a plugin, since the plugin's author hasn't responding to support threads on the plugin page. I'm using the Comprehensive Google Map Plugin to display a map ...
0
votes
1answer
1k views

PHP and Jquery pass value from form. Update function on DataBase

i do loop foreach: <?php $myrows = $wpdb->get_results( "SELECT * FROM wp_myprojects" ); ?> <form id="aad-form2" action="" method="POST"> <?php foreach($myrows as $a): ?> ...
0
votes
1answer
86 views

Wordpress plugin ajax post parameter

i have problem. I don't know why but my paramters from form don't pass too aad_process_ajax(). My code from functions and jquery: Function with my form: function aad_render_admin() { ?> ...
0
votes
0answers
21 views

Translate Post Content

I'm running a blog with lots of images and some descriptions written in Italian, most foreign visitors complain that they do not understand what's written, I've lost many of them.. I was thinking to ...
0
votes
0answers
80 views

Add To Cart to Modal Gravity form

I would like to create a modal 'pop-up' window in WooCommerce to appear when the "Add to cart" button has been clicked. In this modal 'pop-up' I would like to be able to paste a GravityForms ...
-2
votes
1answer
25 views

Animate like Stack exchange frequently asked questions [closed]

http://graphicdesign.stackexchange.com/about As you scroll down the page, images and text slowly fading. Is there a plug-in origin jquery like string that I should be looking for?
0
votes
0answers
49 views

Use WordPress Ajax in Plugin

I trying to create a wordpress sample plugin with ajax base. I read out the tutorial and did plugin(is not working) Because i am new to ajax. Here is the code i tried is of form data in a ajax way. ...
0
votes
1answer
667 views

“switchEditors is not defined” with wp_editor() in jQuery UI tabs

Making a WordPress plugin, using WordPress 3.5.2 I'm using wp_editor() on the front end, inside jquery UI tabs [ajax loading tabs + 2 editors on the same panel], and I'm getting the following error, ...
0
votes
1answer
117 views

Localizing methods for jQuery append prepend wrap parent

So I am serializing some options in WordPress and then localizing them to be used in my jQuery script, however what I am trying to do next isn't working. jQuery('.advert')+ lu_ban_object.method ...
-1
votes
1answer
394 views

How to fetch serialized data from wordpress options

I have the following serialized data in a wp option a:2:{s:5:"Title";s:11:"your title";s:7:"Message";s:20:"Hola testing testing";} I would like to return it to be used in a form, and show it also in ...
1
vote
1answer
135 views

Best approach to fetch data from wp options to js file or php file

I am creating my first ever plugin, as I am not a programmer, I have been following tutorials and reading the codex, etc. My plugin consist in showing a notice to users when certain conditions are ...
0
votes
2answers
841 views

Check if email address exists front end with AJAX

I am pulling my hair out trying to figure this out. I have followed the wordpress codex here for AJAX: http://codex.wordpress.org/AJAX_in_Plugins All I keep returning is 0, I never get a 1. Any idea ...
0
votes
1answer
49 views

Separate jQuery for Individual Comments?

So far I have designed this function to display rating stars on the front end below every comment: add_filter( 'comment_text', 'additional_fields' ); function additional_fields ($below) { ...
2
votes
1answer
3k views

Lightbox popup on WooCommerce add_to_cart action

I would like to create a modal 'pop-up' window in WooCommerce to appear when the "Add to cart" button has been clicked. This has to occur after the WC actions that actually add the product to the cart ...
0
votes
1answer
260 views

WooCommerce - PrettyPhoto appending URL with #prettyPhoto

For some reason the PrettyPhoto script that WooCommerce is now using is adding #prettyPhoto to the end of URL's once it's been opened in that page. See here for an example Also, when you close the ...