Twitter bootstrap tabs

Check out the WordPress Bootstrap CSS plugin. It seems to contain “handy shortcodes” to insert all sorts of elements. Also check out Obenland’s The Bootstrap WordPress theme that was released a week ago.

Bootstrap menu – make menu entries with submenu not clickable

I am admittedly out on a limb here because to test this I’d have to install your code and create some menus to test it with, but… Look in the Bootstrap_Walker_Nav_Menu code. Find this: $item_output .= ‘<a’. $attributes .’>’; $item_output .= $args->link_before . apply_filters( ‘the_title’, $item->title, $item->ID ) . $args->link_after; $item_output .= ($args->has_children) ? ‘ … Read more

Use of Bootstrap nav in a page

Ok so I found out what was wrong : it seems that WordPress adds empty p tags into your code. So I had one of those in my HTML and it was messing up the layout. To tell WordPress to stop doing that, you have to comment this line add_filter( ‘the_content’, ‘wpautop’ ); which is … Read more

return paginate_comments_links() as array

The first thing to say would be, you can’t say you haven’t been warned – see codex page paginate_comments_links(), section »Defaults«: These arguments are mostly to make the call of paginate_links() work, so be careful if you change them. It’s true, paginate_comments_links() is pretty much just a already customized version for comments of paginate_links(), with … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)