• I’m using this plugin, and it works fine on my development server. On the live server, the breadcrumb isn’t linking. Is there a server setting that could be affecting this? It might be important to note that I had issues with $post->ancestors not working either.

    Thanks in advance

Viewing 7 replies - 1 through 7 (of 7 total)
  • Breadcrumb NavXT does not use the $post->ancestors property so that is not the cause. If you look at the HTML output of the breadcrumb trail do you see closing anchor tags without corresponding opening tags?

    Thread Starter Ajime

    (@ajime)

    Hi Mtekk,

    No, there’s no sign of any hyperlinking in the code.

    <!-- Breadcrumb NavXT 3.7.0 -->
    Home <span class="normal">&nbsp;>&nbsp;</span> Portfolio <span class="normal">&nbsp;>&nbsp;</span> Designed by us

    That’s all the output.

    Thanks again for your help.

    How are you calling the plugin?

    Also, check your settings, make sure the anchor templates are not blank.

    Thread Starter Ajime

    (@ajime)

    I’m using a child theme, so I’m calling the breadcrumb and placing it in the layout via the functions page.

    //place breadcrumb navxt in layout
    function breadifier()
    {
    	global $post;
    	if ($post->post_name != 'home' && is_page())
    	{
    		echo '<div id="breadcrumbs">';
    		if(function_exists('bcn_display'))
    		{
    			bcn_display();
    		}
    		echo '</div>
    		<div id="socialbox">
    		<ul>
    		';
    		if(function_exists('fontResizer_place')) { fontResizer_place(); }
    		echo '
    		<li><a href="http://www.facebook.com/profile.php?id=1108874361" target="_blank" id="facebook" class="social"><span>facebook</span></a></li>
    		<li><a href="http://ca.linkedin.com/pub/tom-watson/13/2b1/aa1" target="_blank" id="linked" class="social"><span>linked-in</span></a></li>
    		</ul>
    		</div>';
    	}
    	#add social media and font size links
    
    }
    
    add_action('thematic_header','breadifier',10);

    The anchor is :

    As I mentioned before, this is working without any issue on a number of other servers including the server I developed it on. It doesn’t work on this server. The company just suffered a major security breech, which is why I immediately went to a server setting question. As indicated, whatever’s going on seems to have messed with the ancestor functionality. I hope I’m way off here and you’ve heard of some issue.

    Thanks again

    Are you sure the code your provided is the calling code you are using? The only way I know that would cause the behavior you are seeing is if you pass in parameters into bcn_display. Specifically, if the second parameter passed in is false, e.g. bcn_display(false, false); will result in the behavior you are seeing.

    Thread Starter Ajime

    (@ajime)

    Hi mtekk,

    Yes, that is a cut/paste of the code from the functions file. I’m still suspicious that there may be some server settings messing with some wordpress fundamentals, but the logs aren’t showing any errors, so I’m at a loss.

    I was having the same problem with a client of mine. I fixed it by adding the following line to the wp-config.php file.

    ini_set(‘zend.ze1_compatibility_mode’, 0);

    Hope that helps!

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

The topic ‘[Plugin: Breadcrumb NavXT] working but not linking’ is closed to new replies.