Next post in category

You should be able to just use the default get_next_post_link with $in_same_term set to true. Have you tried that? Instead of your <?php next_post_link( ‘<div class=”nav-next”>%link</div>’, ‘%title <span class=”meta-nav”>’ . _x( ‘&rarr;’, ‘Next post link’, ‘sixteen’ ) . ‘</span>’ ); ?> try this <?php next_post_link ( ‘%link &rarr;’, ‘%title’, true, ”, ‘category’ ); ?>

Woocommerce: deleted single-product.php, everything still works. How is it possible?

Themes can override WooCommerce default template pages, to customize the appearance of those pages easily. There should be a folder within your theme folder called woocommerce. WooCommerce checks for template files within that folder first. If a file doesn’t exist there, it loads it’s own template file. Edit: If you want to customize those pages, … Read more

wordpress theme link url

There’s possible a couple different things going on, so here’s a relatively generic answer. Site URL Many URLs are influenced by the Site URL settings in Settings > General. The steps for properly moving a site are too long for a single answer, but review the “Changing the Site URL” codex page and make sure … Read more

Firebug and Chrome rendering two body tags

I managed to fix this issue by commenting out the first body tag and placing a second body tag below like this: <!– <body> –> <body <?php body_class( $class ); ?>> Now the site is working correctly. However the strange character is still appearing in the first body tag. Hope this helps someone.