Changeset 950755
- Timestamp:
- 07/18/2014 02:24:57 AM (12 years ago)
- Location:
- easy-faq-with-expanding-text
- Files:
-
- 21 added
- 3 edited
-
tags/3.2.6 (added)
-
tags/3.2.6/arrows.png (added)
-
tags/3.2.6/arrowsWhite.png (added)
-
tags/3.2.6/downarrow.png (added)
-
tags/3.2.6/downarrowWhite.png (added)
-
tags/3.2.6/faq.php (added)
-
tags/3.2.6/faq_checkbox.png (added)
-
tags/3.2.6/faq_heading.png (added)
-
tags/3.2.6/faq_title.png (added)
-
tags/3.2.6/faqmaker.js (added)
-
tags/3.2.6/faqstyle.css (added)
-
tags/3.2.6/minussign.png (added)
-
tags/3.2.6/minussignWhite.png (added)
-
tags/3.2.6/none.png (added)
-
tags/3.2.6/plusminus.png (added)
-
tags/3.2.6/plusminusWhite.png (added)
-
tags/3.2.6/plussign.png (added)
-
tags/3.2.6/plussignWhite.png (added)
-
tags/3.2.6/readme.txt (added)
-
tags/3.2.6/uparrow.png (added)
-
tags/3.2.6/uparrowWhite.png (added)
-
trunk/faq.php (modified) (3 diffs)
-
trunk/faqmaker.js (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
easy-faq-with-expanding-text/trunk/faq.php
r879239 r950755 3 3 Plugin Name: Easy FAQ with Expanding Text 4 4 Description: Easily create a Frequently Asked Questions page with answers that slide down when the questions are clicked. No need for a shortcode, HTML coding, or javascript tweaking. 5 Version: 3.2. 55 Version: 3.2.6 6 6 Author: bgentry 7 7 Author URI: http://bryangentry.us … … 378 378 379 379 function bg_faq_shortcode_start() { 380 $foldupOptions = get_post_meta( $post->ID, 'bgFAQfoldup', true);380 $foldupOptions = get_post_meta(get_the_ID(), 'bgFAQfoldup', true); 381 381 if ( $foldupOptions == 'default' || $foldupOptions == false ) { 382 382 $faqoptions = get_option('bg_faq_options'); … … 386 386 $foldup = $foldupOptions; 387 387 } 388 388 389 return '<div data-foldup="'.$foldup.'" class="bg_faq_content_section">'; 389 390 } -
easy-faq-with-expanding-text/trunk/faqmaker.js
r820690 r950755 30 30 else { //if it isn't opened, 31 31 if(foldup=='yes') { //check to see we are supposed to fold up other content so only one answer shows at a time. 32 $(this).parent('.bg_faq_content_section').find('.bg_faq_opened').not(this).each(function(){ //if so... 32 // console.log('foldup = yes'); 33 34 $(this).parents('.bg_faq_content_section').eq(0).find('.bg_faq_opened').not(this).each(function(){ //if so... 33 35 $(this).nextUntil(':header').slideUp(); //foldup other content and mark the headings as closed 34 36 $(this).removeClass('bg_faq_opened').addClass('bg_faq_closed'); -
easy-faq-with-expanding-text/trunk/readme.txt
r879239 r950755 3 3 Donate link: http://bryangentry.us/pay-me 4 4 Tags: faq pages 5 Tested up to: 3. 86 Stable tag: 3.2. 55 Tested up to: 3.9.1 6 Stable tag: 3.2.6 7 7 License: GPLv2 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 23 23 24 24 == Changelog == 25 26 =3.2.6= 27 *Fixed code that was preventing the "one question open at a time" feature from working when the shortcode was used. 28 *Updated program to allow the one question open at a time to work even when there are additional divs and other elements wrapping the content. 25 29 26 30 =3.2.5=
Note: See TracChangeset
for help on using the changeset viewer.