Forum Support

 
Advanced Search


New Posts
FAQs for Wordpress
If you have a question about Wordpress products please read through a list of our most commonly asked questions here.
[1]

Offline BrentLin
Free Member
Posts: 10
Posted on: September 27, 2014, 09:53:44 PM

my S5 Accordion Menu got error in wordpress, can anyone help me? Urgency!!!
Logged

Offline BrentLin
Free Member
Posts: 10
Posted on: September 28, 2014, 06:10:20 PM

can anyone help me? i need to handle this as soon as possible...
Logged

Offline Tristan Rineer
Free Member
Posts: 3858
Posted on: September 29, 2014, 07:34:12 AM

Here's a solution I provided to another member:


I'll be uploading an updated version of the plugin in the next few days; until then, here's a fix:

In the "accordion_menu_walker.php" file in the plugin folder, find the following code:

Code:
class Accordion_Menu_Walker extends Walker_Nav_Menu{

function display_element ($element, &$children_elements, $max_depth, $depth = 0, $args, &$output){

And change it to:

Code:
class Accordion_Menu_Walker extends Walker_Nav_Menu{

var $options;

function display_element ($element, &$children_elements, $max_depth, $depth = 0, $args, &$output){


That should fix all the errors. 

If you don't want to add that single line of code, you can  just grab the latest download of the plugin, as I have already updated the download with the new code.
Logged

Offline BrentLin
Free Member
Posts: 10
Posted on: September 29, 2014, 07:53:23 AM

Here's a solution I provided to another member:


I'll be uploading an updated version of the plugin in the next few days; until then, here's a fix:

In the "accordion_menu_walker.php" file in the plugin folder, find the following code:

Code:
class Accordion_Menu_Walker extends Walker_Nav_Menu{

function display_element ($element, &$children_elements, $max_depth, $depth = 0, $args, &$output){

And change it to:

Code:
class Accordion_Menu_Walker extends Walker_Nav_Menu{

var $options;

function display_element ($element, &$children_elements, $max_depth, $depth = 0, $args, &$output){


That should fix all the errors. 

If you don't want to add that single line of code, you can  just grab the latest download of the plugin, as I have already updated the download with the new code.

Thanks so much, it works now.
and i want to add some plugins to display my products in this theme as a posts or pages, but i have tried some plugins, those were not very good in this theme, so can you give me some suggestion about the plugins which are the best for it?thanks
Logged

Offline Tristan Rineer
Free Member
Posts: 3858
Posted on: September 30, 2014, 10:15:04 AM

What exactly are you trying to do?  If you're trying to set up an e-commerce site, multiple members have had success with WooCommerce, after making a minor tweak to the code.
Logged
[1]

Jump to:  


Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Page created in 0.022 seconds with 21 queries.
Need some help getting your site up and running? Be sure to check out our tutorials area, post on the forum or hire us
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.