WP site URL changed to have HTTPS but still homepage does not redirect

I’ve changed the WP site URL to include https://www & it’s been a while. Entire site is correctly reflecting it. But unless I add following in .htaccess, the home page does not redirect RewriteCond %{HTTPS} !=on RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L] But, in case htaccess goes corrupt & gets regenerated, it skips this part. Then http://domain.com … Read more

display woocommerce all category title on home page

how can i display in my theme all woocommerce category title are custom filed value. example html like bellow <li><a href=”#”> <div> <h2>category title</h5> <h3>custom field one value</h6> </div> <div class=”imgpos”>custom field two value</div> </a></li> i tried many way but still not success <?php $post_type=”product”; // Get all the taxonomies for this post type $taxonomies … Read more

How to link up “read more” on excerpts hack from WP Recipies

I found the code on the WP Recipies page to force excerpts on the home page: function my_excerpts($content = false) { // If is the home page, an archive, or search results if(is_front_page() || is_archive() || is_search()) : global $post; $content = $post->post_excerpt; // If an excerpt is set in the Optional Excerpt box if($content) … Read more