Support » Plugin: Accordion Shortcodes » how do i add text to the menu?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Phil Buchanan


    You can only add text as the title or text as the content of the drop down. For example:

    [accordion][accordion-item title="Some title"]Some content[/accordion-item][/accordion]

    will output this HTML:

    <div class="accordion">
        <h3 class="accordion-title">Some title</h3>
        <div class="accordion-content">
            Some content

    There is no way to add text or code anywhere else using this plugin.

    Well, maybe there is a way:-

    In the child theme’s style.css I have:

    .accordion-title i {
    	color: darkred;    /* our revision note use <i> tag  */
    	line-height: 75%;
    	font-size: 75%;
    	font-style: italic;
    	text-decoration: none;
    	position: relative;
    	left: 3em;

    In the page I have:
    [accordion-item title="Club 200 <i>January winners added</i>" tag="h2"]

    And it looks similar to: Club 200 January winners added

    … and that is *very* useful

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how do i add text to the menu?’ is closed to new replies.