php - problem with anchors in custom wordpress theme -


Hello I have created a theme for WordPress www.litl.michalweb.pl. On the left side, I have the sidebar with the paramlank anchor. I have a form of each link:

  http://litl.michalweb.pl/upcoming2/#seven   

And then one of the posts I made such an anchor

  & lt; An id = "seven" & gt; Event 7 & lt; / A & gt;   

I am also using the jscrollpane plugin and it seems that this should work as described here how I am using it: jquery calling:

  & lt; Php wp_enqueue_script ('jquery'); ? & Gt;   

By adding more script:

  $ j (function () {$ j ('scroll-panel'). JScrollPane ({hijackInternalLinks: true}) ;});   

I do not know that this is important, but here is the .htaccess file

  # BEGIN WordPress   

The strange thing is that if I just put the code in the sidebar: My anchors work:

    

But if I'm trying to use WordPress link then it does not work, here's my most sidebar. Php:

  & lt; Div id = "primary" class = "widget-area" role = "complement" & gt; & Lt; Ul class = "xoxo" & gt; & Lt ;? Php if (! Dynamic_sidebar ('primary widget-area')):? & Gt; & Lt ;? Php wp_list_bookmarks ('show_description = 1 & border = 4 & between & lt; br / & gt;';); ? & Gt; & Lt ;? Php endif; // Final Primary Widget Area? & Gt; & Lt; / Ul & gt; & Lt; Br> & Lt; Br> & Lt; Br> & Lt; A href = "http://litl.michalweb.pl/upcoming/#seven" & gt; All events 7 & lt; / A & gt; & Lt; A href = "http://litl.michalweb.pl/upcoming/#three" & gt; All events 3 & lt; / A & gt; & Lt; / Div & gt; & Lt ;! - #primary .widget-area - & gt;   

I think the problem is due to the fact that I have created this template from scratch using some online tutorials and probably a little bit of that which gives me header.php Also missing in Index.php or elsewhere, unfortunately I can not work on it and jScrollPane does not behave like this. I hope someone can talk to me to solve my problem thanks Mikal

Does your wp_list_bookmarks look like the resulting HTML of the function? In addition, this works if you use the name feature other than names (not valid HTML5, I know), OR Span Element for Title / Anchor?

Comments