Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Baden

    (@baden03)

    Strange. Can you provide a sample of exactly how you are using the shortcode?

    Thread Starter mikemoriendi

    (@mikemoriendi)

    Sure thing. They are pretty much all like this but with different titles and content.

    <em><strong>[expand title="Lackawaana County"]</strong></em>
    
    CONTENT IN HERE
    
    CONTENT IN HERE
    [/expand]

    The italics and bold tags were in the title before. I moved them outside the expand shortcode and even removed them all together but still remains the same.

    Plugin Author Baden

    (@baden03)

    ok, first thing, you are working in Text mode, correct? You are not using the Visual mode of the editor, or some Visual Builder wizardry, etc.

    The em and strong tags should not be used like that. Rather try the following:

    [expand title="Lackawaana County" trigclass="beer_is_good"]
    CONTENT IN HERE
    CONTENT IN HERE
    [/expand]

    and then define the CSS in your child theme’s style.css file, or under:
    Dashboard > Settings > Collapse-O-Matic > Custom CSS

    .beer_is_good {
         font-weight: bold;
         font-style: italic;
    }

    If for some wack-a-doodle reason you are still experiencing issues, try swaping out the double-quotes for single quotes, and verify that they are real quotes/single quotes and not ‘magic quotes’.

    Regardless, fret not, we’ll help you get this issue sorted out in short order.

    Thread Starter mikemoriendi

    (@mikemoriendi)

    Yeah, just using the text mode.

    I’ll try all this out and report back in a little bit.

    Thanks for the help so far.

    Thread Starter mikemoriendi

    (@mikemoriendi)

    I set up the class in the Custom CSS and added it to each shortcode. I removed all the bold and italic tags around the shortcode and changed all double quotes to single quotes. Everything is pretty much the same still.

    Just to be sure some magic quotes are being used I copied everything into Notepad and then made the changes. Then copied from Notepad back into the Text mode of WordPress.

    Plugin Author Baden

    (@baden03)

    Just for giggles, please try Collapse-O-Matic 1.7.2c beta on GitHub

    If that does not solve it, then we’ll have to check for a plugin or theme conflict by one by one disable plugins and/or temp swap to a default twenty-something just to isolate where the issue is originating from.

    Thread Starter mikemoriendi

    (@mikemoriendi)

    I uploaded the beta and disabled the active plugin and still nothing. I decided to try just rewriting the shortcode from scratch on the first messed up one and see what happens. Low and behold it was fixed. I copied and pasted that one to each one there after and they all fixed as well. It just looked like me copying and pasting the same thing over itself but something must have been funky in there.

    What would Monday be without some stuff that just didn’t make sense huh? Thanks again for all your help.

    Plugin Author Baden

    (@baden03)

    …huzzah! glad you got it sussed out.
    Now get back to the beer making! Thirsty people are depending on it!
    Issue marked as resolved.
    If you are pleased with the plugin or it’s support (or attempted support as the case may be) consider leaving a review!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Expand Titles Messed Up’ is closed to new replies.