0
votes
0answers
27 views

Dynamically load JJ NextGen Slider/ Slideshow (dynamically add shortcode with jquery)?

My front page includes an image slideshow by JJ NextGen Slider (Link). Therefore I am using PHP and do_shortcode(). This is the full code: <?php echo do_shortcode('[jj-ngg-jquery-slider ...
-1
votes
0answers
24 views

Inserting jQuery UI accordion in to posts/pages? [closed]

I've been looking at all the themeforest premium themes and notice they are including jQuery UI in to their themes, probably with some shortcode stuff. Example - ...
0
votes
0answers
59 views

Creating a costing calculator plugin. How can the user create the calculations without coding?

I am relatively new to php & wordpress development. I am trying to create a plugin that allows the user to create an unlimited number of costing calculators. Users will be able to add fields ...
0
votes
0answers
45 views

Customize wp-caption output

I'd like to customize the output for the wp-caption shortcode. I need to put the attachment full-size URL wp_get_attachment_image_src($post->ID, 'full') function custom_img_caption_shortcode( $a , ...
0
votes
1answer
57 views

Create a short code that inserts js

Note: People are assuming this question is already answered when in fact it is no where close to being the right answer. I have created tons of short codes, How ever I am using Jquery plugin TOC and ...
-1
votes
1answer
94 views

Some Shortcodes Not Working [closed]

I am using the Rebirth theme from Scheetz Designs. I'm trying to update my events calendar, as my current Ajax calendar does not look very pretty. I've tried to install both the Ajax Event Calendar ...
-2
votes
3answers
41 views

Shortcode return is printing a 1 afterward

function build_total_search_method( $atts ) { $shorcode_php_function = include( dirname(__FILE__) . "/includes/total_search.php" ); return $shorcode_php_function; } add_shortcode( ...
0
votes
2answers
97 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 ...
-1
votes
2answers
150 views

jQuery not working for tabs shortcode [closed]

See reference URL - http://prothemeus.com/demo/fact/shortcodes/ If you take a look at the tabs at the bottom of this page, whenever I click on each tab it doesn't show the content underneath. I've ...
0
votes
2answers
203 views

include shortcode values in Thickbox form

I have a shortcode that is built using a Thickbox form with various inputs that return the values. This works fine. However, I would like the existing values (if present) to re-populate the form if ...
0
votes
1answer
553 views

call shortcode in javascript

I want to display a shortcode through jquery after the DOM is loaded: This is how I call the shortcode: <?php echo do_shortcode('[plugin]'); ?> Now, my question is how can I call that ...
1
vote
1answer
485 views

How to put JQuery/Ajax inside shortcode?

The purpose of this plugin is to create a list that users can modify with up or down votes. The shortcode is supposed to display the list on a page and use JQuery to fadeIn and fadeOut while updating ...
1
vote
2answers
621 views

Why Won't my jQuery Play Nice with Wordpress?

Code in question here: http://pastebin.com/PN29WKNq It worked on the HTML page I tested it on. Its supposed to add "display: none" to the content divs and then add "display: block" when the ...
3
votes
1answer
2k views

Add custom shortcode button to Editor

Before the new version of Wordpress 3.0 came out I was using this jQuery code below to add custom buttons for my own shortcodes to the editor toolbar in the admin panel, it worked great. However with ...
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 ...
0
votes
2answers
575 views

Shortcodes and Javascript/jQuery Function Calls [closed]

I'm learning about shortcodes and javascript. I've simplified my problem as much as possible. In my shortcode's php file I wp_enqueue script1_javascript.js and script2_jquery.js. The first script is ...
0
votes
2answers
344 views

Populating shortcode values dynamically in theme template

I'm trying to use a jquery toggle shortcode in a theme template. The shortcode goes like this: [sws_toggle3 title="Title"]You can now see the displayed text.[/sws_toggle3] I want to pull posts ...
0
votes
1answer
649 views

How to add shortcode to show/hide press releases?

Is it possible to create a TinyMCE button and shortcodes to WordPress to enclose press releases in, so that they're hidden by default, but at the press of the button, they would expand to reveal the ...
0
votes
1answer
387 views

Nested Gallery Shortcode INTERMITTENTLY working

I have an Expand/ Collapse plugin which, via a shortcode, can expand/ collapse content. My expandable content is a shortcode of a gallery. See here: http://shop.dearearth.net/collections ...