WordPress.org

Ready to get started?Download WordPress

Forums

Raw HTML
How to get rid of within shortcodes? (6 posts)

  1. thirdpotato
    Member
    Posted 1 year ago #

    Hi, I'm using a page that has a shortcode for a gallery, but I can't wrap it in the raw tags or else the shortcode won't work. I clicked disabling automatic paragraphs on the particular page, but that doesn't work either. What can I do?
    http://tobylotak.com/gallerytest/ page in question. First gallery there. line 166 in the page source.

    http://wordpress.org/extend/plugins/raw-html/

  2. mbrsolution
    Member
    Posted 1 year ago #

    Hello, can you explain why you need to warp another's plugin shortcode with Raw HTML?

    Kind regards

  3. thirdpotato
    Member
    Posted 1 year ago #

    WP keeps adding <p> tags all over the place, messing the coding of the Gallery's layout. You can see it on line 166.

  4. mbrsolution
    Member
    Posted 1 year ago #

    Hi could you post your shortcode here if you don't mind. What gallery plugin are you using?

    Kind regards

  5. thirdpotato
    Member
    Posted 1 year ago #

    Isotope.
    [nggallery id=1 template=isotope] is the shortcode

  6. mbrsolution
    Member
    Posted 1 year ago #

    Hello Isotope, I don't believe RawHtml can help you here because you are already using a shortcode from another plugin.

    What gallery plugin are you using? Perhaps the problem is with the plugin.

    What RawHtml can do is help you place raw code inside the tags i.e. [raw]...[/raw] or <!--raw-->...<!--/raw-->.

    Kind regards

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic