WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Link text appearing in a "code"-like style

[Resolved] Link text appearing in a "code"-like style

  • Hi,

    This plugin looks amazing and I just have one small problem that drives me nuts since I’m sure it’s me missing something stupid (I’m a total newbie).

    When I use the shortcode for the popup, everything works great and the only thing is that my link text shows up in a code-like background. Like this:

    Link text

    (only with a gray background, not white as above)

    What might I be missing?

    Many thanks in advance for any assistance!

    http://wordpress.org/plugins/alligator-popup/

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

    @numeeja

    can you post a link to a page on your site where you are using the plugin, so I can see it please?

    Plugin Author cubecolour

    @numeeja

    I’d love to help, but I can’t unless you provide a link where I can see the problem, so I’ll set this to resolved until you respond.

    So sorry for missing your earlier response! REALLY appreciate your willingness to help here.

    Here’s a page (it’s work in progress, apologies :-). I used the shortcode on the link “Lyrics” under the headline saying “We are not alone”: http://www.theduckblog.com/?page_id=180

    Many thanks again for the responsiveness!

    Plugin Author cubecolour

    @numeeja

    The code styling is being defined from the pre & code tags surrounding the lyrics link. You should see the opening & closing tags in the text editor for the page.

    <pre><code><a href="http://www.theduckblog.com/?page_id=16" class="popup" data-width="300" data-height="300">Lyrics</a></code></pre>

    I’m not sure whether your theme has any suitable block level elements you can use instead, but you could try something like
    <blockquote> instead of these.

    thanks so much! I wasn’t able to find a way to remove these tags, but since I know I won’t need special treatment for code or pre, I simply changed the CSS for these tags to remove this background. Couldn’t have done it without your guidance!

    Plugin Author cubecolour

    @numeeja

    The <pre> &<code> tags are not added as part of the plugin’s output, so you should be able to remove them using in the text tab of the page/post editor.

    Yup, clear – I assume they’re added by the template somewhere? In any case, I’m more than happy with the plugin and consider the issue resolved and your support superb!

    (marking as resolved)

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] Link text appearing in a "code"-like style’ is closed to new replies.