Media Categories
[resolved] category page (2 posts)

  1. deepbevel
    Posted 3 years ago #

    The shortcode for all images in a category works but I still can't get it to show images associated with post id.

    That's not so bad, but I would need a way to make the attachment link to a category page. currently, the category link appears under the attachment, but when clicked, the image is not on the category page.
    My assumption is, maybe it's because there's nothing in the cat template which would output attachment images without a post..?
    Is there a way to make this work? I've never tried to get attachments in a category template.



  2. deepbevel
    Posted 3 years ago #

    I managed to change the taxonomy to tags, which may produce a different result. I'll post another thread if not.

    if anyone else had trouble with th mc_taxonlmy filter in functions.php, there is a syntax error in the code given under help notes:

    add_filter('mc_taxonomy', 'mc_filter_taxonomy');
    function mc_filter_taxonomy($taxonomy){
        if($taxonomy == 'category'){
            $taxonomy = 'post_tag';
        return $taxonomy

    the return should be:

    return $taxonomy;

    it was missing the ";"

    two days wondering why I couldnt impliment this...

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Media Categories
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.