• Resolved Twoogy

    (@twoogy)


    I am using the accordion plugin as well as the easy timer plugin to make things easier for readers to see when I update the posts. The code that I came up with is as follows:

    [accordion clicktoclose="true" tag="p"]
    [accordion-item title="Title 1"]
    <p class="alignright">[countup date=2016/3/14/6:00][timer] ago[/countup]</p>
    
    <ul>
    	<li>Latest Chapter:</li>
    	<li>First Chapter</li>
    	<li>TGWP Index</li>
    </ul>
    [/accordion-item]
    [accordion-item title="Title 2"]
    
    [/accordion-item]
    [/accordion]

    What I am trying to do is to put the count-up timer code into the title, but after trying to save it, it says invalid title. Is there a way to get codes with brackets into other codes with brackets like this one?

    For a better look at it go to my website

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author philbuchanan

    (@philbuchanan)

    Unfortunately there is no way to use another shortcode in the title of the accordion item.

    Thread Starter Twoogy

    (@twoogy)

    Dang, that is very sad. Is there a work-a-round to this? Or is there no possible way to include this?

    Plugin Author philbuchanan

    (@philbuchanan)

    You might be able to do it with some JavaScript. But I’m unfamiliar with the other plugin so I’m not sure how exactly to go about doing.

    Sorry.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Can't insert code into title’ is closed to new replies.