Jump to content


This topic is now archived and is closed to further replies.


Widgets on Pages shortcode not working in Accordions

Recommended Posts


The "Widgets on Pages" shortcodes are not working inside defined Accordion elements. Please have a look here.

Granted it hasn't been updated in some time. It does, however, work just fine outside of an Accordion.


Please advise.


Thanks much.

Share this post

Link to post
Share on other sites

Hi altonc

Please, you can read in this


the important note

"This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress."


Make sure your plugins are all up to date and fully compatible with WordPress 4.1. If they're out of date (usually more than 3 months old) there's a chance they can conflict with others or with WordPress itself. I strongly suggest checking all your plugins every month.

Life is too short to remove USB safely ...

Share this post

Link to post
Share on other sites

I did read that, and even mentioned it in my initial inquiry about the issue.

I also stated the plugin works fine outside of any Accordion configuration - even on the same page where an Accordion module is placed. 


This leads me to conclude the issue is with Accordion and not Wordpress. I use the Widgets on Pages plugin on several other sites with several versions of Wordpress, and with lots of other plugins with no compatibility issues - despite it's age.


Using the plugin inside an Accordion is the first time I'm having an issue with it. This leads me to additionally conclude the issue might well be with Accordion and not the Widgets on Pages plugin.


Please be so kind as to address the issue at hand.




Share this post

Link to post
Share on other sites

Hi altonc

Please sorry... perhaps you have the reason.

I will only say this because also you may have a problem with your safety in your Wordpress with this outdated plugin.


Life is too short to remove USB safely ...

Share this post

Link to post
Share on other sites

altonc Does it work on a blank page, not inside an Accordion? I tested the shortcode both on a blank page and in an accordion and it works fine for me. On the link you shared there are a lot of errors that you can see in Chrome Developer Tools. It could be those errors or another plugin that is conflicting. Here is a screen recording showing everything working and the errors on your site, http://recordit.co/NqqlrTYaPx


You can test to find out if it is another plugin. First, make a backup of your site, then disable all plugins, re-enable Accordions and Widgets on Pages and see if it works. If it does, reactivate each plugin and go back and see if they shortcode is still working till you find the plugin that is causing the problem.


Don't know what else to suggest except to look for a plugin that is current. While Widgets on Pages may work on other sites that doesn't mean that it is still good to use, it is old code that may not conform to current WordPress coding standards.



Ellen Moore

Pagelines Developer

www.elsue.com www.betterdms.com

Share this post

Link to post
Share on other sites

  • 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.
    • chamois_blanc
      By chamois_blanc+
      All accordion entries are shown every time, independently of the set selected. See example here:
      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.
    • 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,
    • flourishdesignstudio
      By flourishdesignstudio+
      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.
    • 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.
      however when I go to the actual page.. there is no issue.
      Please if you can take a look, I'd appreciate it.. not sure if I have the link correct.