WordPress.org

Ready to get started?Download WordPress

Forums

nrelate Related Content
Nrelate Short Code - Breaks Links (4 posts)

  1. Bubble Wrapped
    Member
    Posted 1 year ago #

    For some reason when I switched to the short code for Related Content, the images and text are no longer links. I wanted to relocate the plugin (comment links above nRelate). I didn't make any changes except for adding the short code [nrelate-related] to my hook manager.

    The plugin shows up just fine, but the cursor doesn't change when hovering, nor do the borders and fonts. I removed my custom CSS and reversed this process, then carefully repeated the steps. My CSS isn't the problem. This is strictly the result of adding the short code.

    Does anyone know why this is happening? Unfortunately, my website isn't live right now. But any guesses as to why the short code would cause this problem? I'm going to add the code directly into my content file and single.php file, but I sure wanted to use the short code and would welcome your input.

    Sorry about not being able to provide a link right now.

    Thank you and happy New Year!!! :o)

    http://wordpress.org/extend/plugins/nrelate-related-content/

  2. Bubble Wrapped
    Member
    Posted 1 year ago #

    I wanted to add that I do not have this problem when I directly insert this code into my content file:

    <?php if (function_exists('nrelate_related')) nrelate_related(); ?>

    For some reason the short code removes my links. When you view my code via Firebug, you won't see anything for the image hover. But the code is definitely present in my CSS. The only action that removes the links is using the short code. Does it change some of the div names? I couldn't see anything like this, but clearly something within the short code is causing this problem.

    Thanks!

  3. Steve Bruner
    Member
    Plugin Author

    Posted 1 year ago #

    The shortcode calls the nrelate_related function directly. Do you have any plugins that modify shortcodes?

  4. Bubble Wrapped
    Member
    Posted 1 year ago #

    Thanks for your reply. I'm sorry I didn't get back to you sooner.

    To the best of my knowledge, my plugins don't modify shortcodes. Here they are:

    Askimet, Contact Form 7, Feedburner Feedsmith, nextGen Gallery, nRelate Related Content, Share Buttons by Lockerz, Subscribe to Comments, W3 Total Cache, WooDojo (installed today), WordPress Importer, WordPress SEO, WP Maintenance Mode.

    Woo's hook manager allows for short code, and it worked just fine, except for the removal of image/text links. I checked this in Safari, Firefox and Google Chrome. Last night I added the PHP code directly to my file and have things up and running without any problems.

    Whether it's an nRelate issue or a Woo issue, I'm not sure. But at this point I feel comfortable saying that it's not a Moose issue, since this problem only occurred when I used the short code in the hooks manager. (By the way, I didn't try using the short code anywhere else.) My CSS, as stated above, did not produce this problem.

    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic