Changeset 806054
- Timestamp:
- 11/18/2013 07:36:00 AM (12 years ago)
- Location:
- simple-faqs/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
simple-faq.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
simple-faqs/trunk/readme.txt
r806028 r806054 14 14 15 15 Options available are: 16 1. Accordion (the default option) 17 2. Simple (just list each answer below that question) 18 3. Bookmarks (show the questions at the top and lead to the related answer below) 19 16 <ol> 17 <li>Accordion (the default option)</li> 18 <li>Simple (just list each answer below that question)</li> 19 <li>Bookmarks (show the questions at the top and lead to the related answer below)</li> 20 </ol> 20 21 == Installation == 21 22 1. Upload zip archive `simple-faq.zip` to the `/wp-content/plugins/` directory -
simple-faqs/trunk/simple-faq.php
r806037 r806054 106 106 foreach ($items as $item) { 107 107 $output .= '<li class="simple-faq-item simple-faq-number-'.$item_number.'">'; 108 $output .= $item['title'];108 $output .= '<h3>' . $item['title'] . '</h3>'; 109 109 $output .= '<br />' . $item['content'] . '</li>'; 110 110 $item_number++; … … 131 131 $item_number = 1; //Reset item counter 132 132 foreach ($items as $item) { 133 $output .= '<a id="simple-faq-item-' . $item_number . '"><h 4class="simple-faq-item simple-faq-item-number-' .$item_number.'">';133 $output .= '<a id="simple-faq-item-' . $item_number . '"><h3 class="simple-faq-item simple-faq-item-number-' .$item_number.'">'; 134 134 $output .= $item['title']; 135 $output .= '</h 4></a>';135 $output .= '</h3></a>'; 136 136 $output .= $item['content']; 137 137 $item_number++;
Note: See TracChangeset
for help on using the changeset viewer.