How to Display Custom Taxonomies in an Un-ordered HTML List
How to Display Custom Taxonomies in an Un-ordered HTML List
How to Display Custom Taxonomies in an Un-ordered HTML List
If you add RewriteRule ^category/(.+)$ http://www.yourblog.com/$1 [R=301,L] to your .htaccess file (obviously replace your URL) this should remove category from the URL.
You can best analyse the URL rewrites with the URL Rewrite Analyser which has been developed by Jan Fabry, see the following answer for more information. Furthermore you can change the structure of the permalinks under the Options –> Permalinks of the WordPress admin section.
I checked the markup and core WordPress code to find out how it handles categories and came to the conclusion that all the categories are get loaded on page load and at a time either All Categories or Most Used is displayed by manipulating it using jQuery(on mouse click showing and hiding category-pop & category-all … Read more
Do all your sub-sites use the same theme? If they do, then the most light-weight solution would be for you to hard-code the slider in your template file. This will give you the flexibility of doing whatever you want with your slides and the script you’re going to use, but at the same time it … Read more
How to use Link Manager
How to debug/diagnose RSS feed that’s not working?
I’ve used this: update_post_meta( $post->ID, ‘your_meta_data’.$user_id, ‘your_value’ ); <= this will add for each user 1 field for that post, in db. All Good 🙂
I fixed part of my issue by setting the “posts_per_page” => -1
Use the category ID: class KHUC { function wp_list_categories ($text) { global $post; if (is_singular()) { $categories = wp_get_post_categories($post->ID); foreach ($categories as $category_id) { $category = get_category($category_id); $category_parent = get_category($category->category_parent); $text = preg_replace( ‘#class=”([^”]*cat-item-‘.$category->cat_ID.'[^”0-9]*)”#’, ‘class=”$1 used-cat”‘, $text); $text = preg_replace( ‘#class=”([^”]*cat-item-‘.$category_parent->cat_ID.'[^”0-9]*)”#’, ‘class=”$1 used-cat-parent”‘, $text); } } return $text; } } add_filter(‘wp_list_categories’, array(‘KHUC’, ‘wp_list_categories’));