• Resolved geeky_girl01

    (@geeky_girl01)


    Hi,
    I am using a Dysania WordPress theme (I took this over from someone else that created it), and I can’t get the content to show for the accordian, no matter what I try. Originally, the person who created this website was using a plugin for the accordian, but after I discovered that the theme actually had accordian shortcode, I deactivated the accordian plugin, and I am trying to use the theme accordian shortcode. This is what I am trying to use:

    [accordioncontainer id=’1′]
    [accordion title=’Title111′ imageurl=”]test content[/accordion]
    [accordion title=’Title222′ imageurl=”]test content[/accordion]
    [accordion title=’Title3′ imageurl=”][/accordion]
    [/accordioncontainer]

    The titles show up just fine,but I can’t get the content to show up. When I click, nothing happens. I have not used an accordian before, and I’m not sure what to do to make this work. Does anyone have any advice for me on how to get this accordian to work properly? Should I delete the accordian plugin, even though it is deactivated?

    Thanks in advance for any help

    https://wordpress.org/plugins/accordion-shortcodes/

Viewing 12 replies - 1 through 12 (of 12 total)
  • edgar.byo

    (@edgarbyo)

    I have the same exact problem with this code:

    [accordion openfirst=true][accordion-item title=”¿Qué es la cirugía láser SMILE?” state=open][embedyt] http://www.youtube.com/watch?v=3vwe7PzATgE%5B/embedyt%5D%5B/accordion-item%5D%5Baccordion-item title=”¿Soy candidato para cirugía laser?” state=closed][embedyt] http://www.youtube.com/watch?v=HamwVtpaOOs%5B/embedyt%5D%5B/accordion-item%5D%5B/accordion%5D

    Titles show up but no content (I already have installed the youtube plugin to display videos).

    Plugin Author philbuchanan

    (@philbuchanan)

    Once the plugin is deactivated it shouldn’t have any impact on the site. If you don’t plan to use it, you should feel free to delete it.

    As for the theme’s shortcodes, I can’t help you there since I have no experience with it or any of the theme’s code. I suggest contacting the original developer of the theme if you are experiencing issues with it.

    Thread Starter geeky_girl01

    (@geeky_girl01)

    I have already contacted the theme developer, but no response. Is there a way to deactivate the theme’s accordian shortcodes, and then just use the plugin? The plugin that is installed (but deactivated) is one that you created, I believe.
    Thanks

    Plugin Author philbuchanan

    (@philbuchanan)

    You would have to go through the theme’s code to find where the accordions were and remove or deactivate it that way. The somewhat easier alternative is to use my plugin in compatibility mode. See “Compatibility Mode” near the bottom of this page: https://wordpress.org/plugins/accordion-shortcodes/other_notes/

    Plugin Author philbuchanan

    (@philbuchanan)

    @edger.byo Your issue is unrelated to this one and has to do with messed up shortcodes. Your closing shortcodes have run into your youtube links. Try this instead:

    [accordion openfirst=true]
    [accordion-item title="¿Qué es la cirugía láser SMILE?" state=open]
    [embedyt]
    http://www.youtube.com/watch?v=3vwe7PzATgE/
    [/embedyt]
    [/accordion-item][accordion-item title="¿Soy candidato para cirugía laser?" state=closed]
    [embedyt]
    
    [/embedyt]
    [/accordion-item]
    [/accordion]
    Thread Starter geeky_girl01

    (@geeky_girl01)

    I am going to try to use your plugin in Compatibility Mode. If I understand correctly — I need to edit the wp-config.php file and add define(‘AS_COMPATIBILITY’, true); to the file.

    I have never edited a wp-config.php file, so could you tell me where in this file I need to place this added code?

    Thanks

    Plugin Author philbuchanan

    (@philbuchanan)

    The best place to add the line is right below the define('WP_DEBUG', false); line. You can add it almost anywhere, as long as it is placed above the comment /* That's all, stop editing! Happy blogging. */.

    Thread Starter geeky_girl01

    (@geeky_girl01)

    Hello,
    I can’t seem to find the wp-config.php file. I have looked under Plugins>Editor under Accordion Shortcodes plugin and I don’t see it.

    I have also looked under Appearence>Editor and I don’t see wp-config.php there either. Could you let me know where this file is? Do I need to go into CPanel and go into the home directory to find and edit it?

    Thanks for your help

    Thread Starter geeky_girl01

    (@geeky_girl01)

    When I reactivated your Accordion Shortcodes plugin, I did not see any new buttons on the text editor. Shouldn’t there be a new icon or button on the text editor for your Accordion plugin? The only icon I see for Accordions is a blue circle with a plus sign in the middle.

    Should I uninstall it and then reinstall the plugin? The person who created this website to start with is the one who installed your plugin, but I don’t see anything changing at all when I reactivated it.

    Here is the url for the Accordion where I am having all the problems:
    prescottkitchens.com/faq

    Thanks for your help!

    Plugin Author philbuchanan

    (@philbuchanan)

    Yes. You will have to edit the wp-congif.php file in cPanel or an FTP client. It should be right at the root of your site.

    As for the buttons, they don’t show up on the HTML editor, only on the visual editor. You should see them on the first row of buttons, near the end. See the screenshots page for a hint of what to look for.

    Thread Starter geeky_girl01

    (@geeky_girl01)

    Thanks, that was exactly the information I was looking for. I didn’t know what the buttons looked like. Now, all I have to do is figure out how to modify the look of the accordian with css…..

    Thanks for all your help, I really appreciate it!

    Plugin Author philbuchanan

    (@philbuchanan)

    What visual are you looking for?

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Accordian will not show content’ is closed to new replies.