Jump to content
universalsof

Can I have an Accordion other than the first one be open on page load?

Recommended Posts

universalsof    0
universalsof

Hello Ellen. Thanks for the outstanding plugin. Quick question...is there anyway (maybe using a shortcodes/hard-code over-ride) to have the page load with an accordion other than the first one open? If not is there an update coming soon that will allow this. I am using the Accordion as a secondary navigation and would like for the current page to have its Accordion remain open.

 

So far the only solution to this I have found is to recreate duplicate categories and accordion sets for each page. I was hoping there may be a more effective and easier way to accomplish this task. It would be great to have the option within each page to select a different accordion or accordion by heading or value. Thanks again.

 

Dave

Share this post


Link to post
Share on other sites
ellenmva    112
ellenmva

Right, so you have the same accordions but categorized by different accordion sets on different pages. The way Accordions is setup that may be the best way to handle using Accordions as a secondary navigation.

 

I did just update Accordions to version 1.2 where you can directly link to an accordion and have it open when the link is clicked on. Check out this forum topic to get directions on how to do that. http://www.pagelines.com/forum/topic/27612-add-anchors-to-accordion/.

 

If you have a link to the site I can take a look and see if there is any other way to handle your issue.

 

Ellen


Ellen Moore

Pagelines Developer

www.elsue.com www.betterdms.com

Share this post


Link to post
Share on other sites
universalsof    0
universalsof

Thanks for the input Ellen. I will paste the link to the project below. Yeah it seems I will have to stick with the current method as I mentioned and as you pointed out is probably the best option for now. I have searched for various solutions. The closest I came was to the WP Custom Category Page Plugin which would have worked I think because it allows you to customize each category page right down to the widgets and content. <<< This may be the fix for other users not using the woo-commerce plugin.

 

The problem there is that I have also integrated the use of the Woocommerce plugin and the product category pages aren't recognized as categories by the WP Custom Category Page Plugin. The product category pages are what I want to link to from the sidebar navigation. For now each time a customer clicks to a new category or same page in the existing category, the page will load up again with the first Accordion open. As a web developer I'm sure you know why that is an issue in regards to efficiency, usability and UI/UX. No issue with the plugin though and I can use it for several additional purposes including the sidebar - again awesome job.

 

For using as a sidebar, it would be great if that option were available maybe in a future release. Is that possibility?

 

Thanks for your quick reply.

 

This project is still in development but to see the functionality I'm talking about - from this link open the second accordion on the page (Home Decor & Art) and click the first link (Desktop) I have been customizing this theme using Pagelines and WooCommerce.

 

http://spiritexpressions.com/store/product-category/bc-general/

Share this post


Link to post
Share on other sites
ellenmva    112
ellenmva

Yes, Product Categories are a different taxonomy from Categories and so that is probably why the WP Custom Categories doesn't work.

 

I will keep your request in mind for a future update to Accordions though can't promise I can do it.

 

Ellen


Ellen Moore

Pagelines Developer

www.elsue.com www.betterdms.com

Share this post


Link to post
Share on other sites
Jenny    33
Jenny

Please let us know if you still need assistance with this topic, otherwise I will close it in 7 days. Thanks!


Jenny :: Web designer at Simple Mama (follow me at @simplemamacom)

Check out Share Me, a social sharing add-on for DMS that is super simple to set up.

Share this post


Link to post
Share on other sites
universalsof    0
universalsof

Thank you for your reply and assistance. I will keep an eye out for that update should it ever come available. Thanks again.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Similar Content

    • petere21
      By petere21+
      As I understand El Sues Accordions section is broken. Simon solved this problem by fixing section and we need to download it again.
      But in my account in download area there is no accordions section to download. Where can I download it? !!! Asap please my web is broken.
      Peter
       
    • chamois_blanc
      By chamois_blanc+
      Hello,
      All accordion entries are shown every time, independently of the set selected. See example here:
               http://swinginatthesavoy.com/register/
      The first accordion should only show the 2nd and 3rd entries, instead of all of them. The second accordion should only show the 1st entry.
      Please fix asap! I haven't changed anything to my content in a few weeks and it was working fine before. I am guessing this appeared in one of the latest DMS updates. I am going to use some CSS to try to hide the undesirable entries.
      Gilles
    • balfred1345
      By balfred1345
      Hi Ellen,
      I've tried every way I could think of to use CSS to get rid of what I assume is padding or margin from the top of the accordion section so that it can be closer to the <p> above it. 
      Here's a screenshot of the way it looks now:  http://screencast.com/t/2c66f6y0dex
      If you'd like to look at the page please see: http://whub34.webhostinghub.com/~videoh6/cidev2.com/moving-services/mankato-mn-movers/
      I'd like to have the accordion section with the word "More" much closer to the paragraph line above it. If you look at the CSS you'll see several instances where I put in margin: 0 !important; and padding: 0 !important.
      Can you please tell me how I can adjust the section so it is closer to the paragraph above it?
      This site is on latest versions of DMS 2 and WP. 
      Many thanks,
      Bruce
    • flourishdesignstudio
      By flourishdesignstudio
      Hello,
      I wanted to let the community know that there is a problem that has happened on a couple of DMS sites that we manage. The problem is that there are certain plugins/sections that DMS uses (such as 'Accordions' and 'Sidekick') that will appear to have an update. However, when you actually update the plugin it is replaced but a similarly named plugin. Here are the original plugins:
       
      Original: http://dms.elsue.com/accordions/ (authored by @ellenmva)
      Replaced with: https://wordpress.org/plugins/accordions/
       
      Original: http://www.pagelines.com/shop/third-party-extensions/sidekick/ (authored by Evan Mattson)
      Replaced with: https://wordpress.org/plugins/sidekick/
       
      I just wanted to know if there is anything I can do to make sure that other plugins/sections do not get replaced when I update them in the future as well as bring it to the DMS community's attention so that others do not experience the same confusion and frustration. Any thoughts would be very welcome in order to avoid this in the future.
      Thanks!
    • alisamski
      By alisamski+
      Using the accordion section... and I am trying to link a menu item to the accordion title.. not individual areas...
      My links work in the main menu, linking to an accordion title... however, they seem to have issues... I have two accordions on this page...
      When I use the menu link (below).. it breaks the accordion action... it will not open the accordion to show all the content.
      http://bit.ly/1TepJ3s
      http://bit.ly/1Hwqf84
      however when I go to the actual page.. there is no issue.
      http://bit.ly/1QPBt8r
      Please if you can take a look, I'd appreciate it.. not sure if I have the link correct.
×