Tag Info

Hot answers tagged

1

You can use custom Permalink in setting. See bellow screenshot..


1

Add the following to your theme's function.php. Default values are shown below, except changing 'number' from 45 to 15. Only the changed values need to be included, so you can either leave the default values or remove/comment out those lines. For Wordpress Tag Cloud widget: function custom_tag_cloud_widget() { $args = array( 'smallest' => ...


1

If I understood correctly, you want a archive template for terms of core tag taxonomy that includes only your portfolio custom post type. The best way is to use the pre_get_posts action hook to set post_type argument of the query to 'portfolio': add_action('pre_get_posts', 'query_post_type'); function query_post_type($query) { //Limit to main query, tag ...


1

I think your problem lies in is_category(). This conditional check if you are on a category page, not if a post belongs to a category. To check if a post belongs to a category, you should be using has_category So your conditional statement should be <?php if (has_category('Legal Libation Columns') && has_tag('Legal Libation Columns')): ?> ...



Only top voted, non community-wiki answers of a minimum length are eligible