title: syntax error excluding category from next/prev post links in WordPress
body: <p>I'm having some trouble with syntax when excluding a category from the prev/next nav on single posts. I have it working but not fully how I want it to be. </p>
  
  <p>For the next link, it's working 100%: showing the linked post title and an arrow. For the previous link, it's showing a linked arrow but the title is missing. I'm not quite sure where to insert category 7 in the previous post code in order to get it working properly. I've tried a few different spots but i keep breaking the page and getting errors...</p>
  
  <p>This is how I have it now... </p>
  
  <pre><code>&lt;?php previous_post_link( '&lt;div class="nav-previous"&gt;%link&lt;/div&gt;', '&lt;span class="meta-nav"&gt;' . _x( '&amp;larr;', 'Previous post link', 'formationpro' ), '7' . '&lt;/span&gt; %title' ); ?&gt;
  &lt;?php next_post_link( '&lt;div class="nav-next"&gt;%link&lt;/div&gt;', '%title &lt;span class="meta-nav"&gt;' . _x( '&amp;rarr;', 'Next post link', 'formationpro' ), '7' . '&lt;/span&gt;' ); ?&gt;
  </code></pre>
  
  <p>... what do i need to do to make the previous_post_link work properly and show the title?</p>
  
  <p>Thanks in advance for your help.</p>
  
  <p>Kellie</p>