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

Responsive menu on genesis theme [closed]

I answered earlier but the link I provided doesn’t exist anymore. So, I’ll post the code here in hopes that it is what you’re looking for. In your functions.php, add this snippet to create the markup: /* Mobile Menu —————————————————————————————-*/ add_action( ‘genesis_site_description’, ‘ls_mobile_menu_toggle’, 5 ); function ls_mobile_menu_toggle() { echo ‘<div class=”menu-toggle”>’; echo ‘<li></li><li></li><li></li>’; echo ‘</div>’; … Read more

Why I obtain different visualization when I run the website on my local machine and on remote server?

The first difference I can spot from the outside is that your local first page is “Sample Page”, in the online Demo it is “Home”, maybe this is the difference which cause this output. Furthermore can you please provide a download link for the theme, so I can test it also locally.

looping widgets to organize bootstrap grids

Would each of the columns have the same corresponding bootstrap classes (col-sm-4 col-md-4)? If so, you can just add those classes to the <div> referenced in before_widget, like: register_sidebar(array( ‘name’ => __(‘Footer Top’, ‘roots’), ‘id’ => ‘footer-top’, ‘before_widget’ => ‘<div class=”footer_teaser %1$s %2$s col-sm-4 col-md-4″>’, ‘after_widget’ => ‘</div>’, ‘before_title’ => ‘<h3>’, ‘after_title’ => ‘</h3>’, )); … Read more