Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
  • #16117

    Hi there.

    I have modified the ‘Choices’ theme to show tags on portfolio entries, like Dude shows here:

    The problem, however, is that clicking any of those tags doesn’t return any results.

    I always get a ‘Tag Archive: Nothing Found’ page.

    Is there a way – be it a plugin or a theme modification – to correct this behaviour?


    Hi OttoRobba,

    I’m not sure whats going on as I just went through and tested it and didn’t have any issue with pulling up an archive with the tag links.

    My only guess is that perhaps your permalinks are not configured correctly or that there is something else causing a conflict with the proper output of it. You can try changing your permalink settings to default and try it again, if it works then you can try the troubleshooting tips from the WordPress codex here:




    Hi Devin,

    I tried what you said now, both locally and on the remote server (hosted on HGator), changed permalinks, nothing seems to work.

    This is for tags from portfolio entries, just to be sure we are on the same page as regular blog post tags work just fine – which makes the whole thing even weirder.

    This is running a vanilla install of Choices – only modification was to enable the tags.

    EDIT: Could something be wrong with the very method of showing portfolio tags? It was originally posted as the solution for the theme coherence, link is in the first post.


    Very strange, I double checked and I did enable it for Choices specifically. The code is just a general way of adding support for tags for custom post types so it really should work without issue for any kind of custom post type.

    Make sure wordpress is updated and that there aren’t any other plugins installed and active. Just in case something is causing a conflict with the theme.

    If you can also create a temporary admin account for me I’ll log in and see if I can spot anything in the wordpress backend that might be causing the tags not to work properly.

    You can send the information to my email at DevinVinson (at) Make sure to include a link to this topic so that my spam filter doesn’t grab it :)




    Tried without any plugins, no dice, still says that nothing has been found. Created the Temporary Admin account and sent you the information for it in an e-mail.

    Thanks Devin :)




    Let me tag this thread again to Devin. :)




    Hi Otto,

    Have you changed anything else in the custom post type portfolio? I see that you changed the name that appears in WordPress to Lessons and wordpress is pretty sensitive to names when it comes to custom post types. So if you’ve changed anything else…it could be causing the theme to grab the incorrect loop for the archive.

    If you want to have a different custom post type, I would suggest just creating a new one from scratch as I really can’t even say without some major digging what other conflicts there might be to modifying the portfolio post type. Its pretty ingrained in the framework at this point.




    Changed it to lessons after doing all the test with regular portfolio nomenclature. Haven’t changed any arrays or anything like that, only the echo text, as you saw. I can revert it to vanilla Choices nomenclature but I assure you, the problem will still be there.

    Reverted it to entirely vanilla Choices, only modification whatsoever is to display tags, as seen on Dude’s topic.

    No plugins, nothing. Any clue? :(


    Any news on what the issue might be?

    Weburl if other moderators want to take a look:


    Hey Otto,

    I’m not sure what else could be going on. I’ve tagged Kriesi on the topic so that the next time he is going through support topics he can take a look and perhaps shed some additional light on the issue.




    Sounds good, thanks Devin. :)



    To see something you need to make a blog post using the same tag. Portfolio items have their own categories. Tags aren’t unique to portfolio items but shared with the blog posts.

    A cool use for the tags would be linking them to posts, so if u put a tag ‘waffle iron’ on a blog post, you can have a waffle iron portfolio with that tag linking to all waffle iron posts so they are interlinked. Good SEO value!

    You need to make a completely separate taxonomy calling it something like Tags2 if you want to have tags only shared between portfolio items.

    // registration code for portfolio-tags taxonomy
    function register_portfolio_tags_tax() {
    $labels = array(
    'name' => _x( 'Portfolio Tags', 'taxonomy general name' ),
    'singular_name' => _x( 'Portfolio Tag', 'taxonomy singular name' ),
    'add_new' => _x( 'Add New Portfolio Tag', 'Portfolio Tag'),
    'add_new_item' => __( 'Add New Portfolio Tag' ),
    'edit_item' => __( 'Edit Portfolio Tag' ),
    'new_item' => __( 'New Portfolio Tag' ),
    'view_item' => __( 'View Portfolio Tag' ),
    'search_items' => __( 'Search Portfolio Tags' ),
    'not_found' => __( 'No Portfolio Tag found' ),
    'not_found_in_trash' => __( 'No Portfolio Tag found in Trash' ),

    $pages = array('portfolio');

    $args = array(
    'labels' => $labels,
    'singular_label' => __('Portfolio Tag'),
    'public' => true,
    'show_ui' => true,
    'hierarchical' => false,
    'show_tagcloud' => true,
    'show_in_nav_menus' => true,
    'rewrite' => array('slug' => 'portfolio-tag', 'with_front' => false ),
    register_taxonomy('portfolio-tags', $pages, $args);
    add_action('init', 'register_portfolio_tags_tax');

    You can try something like this. Drop it please into your functions.php, and see if you have a new taxonomy in portfolio




    That is as close as it gets to what I need, thank you very much Nick, I’m gonna work with it. :)

    Best regards,



    Quick question, when I click one of these new, shiny, portfolio-only tags, is there a way to make it show thumbnails? Right now I get the post content instead of a thumbnail view like when you click a portfolio category. Thanks :)



    Use this plugin to attach the image to the new taxonomy, I think it still works, if not there are instructions, not that difficult. Good luck!



Viewing 15 posts - 1 through 15 (of 15 total)

The topic ‘View portfolio entries based on tags’ is closed to new replies.