Forums Forums Search & Filter Pro Search by media attachment

Tagged: 

Viewing 10 posts - 1 through 10 (of 12 total)
  • Anonymous
    #41579

    I have added a category to media attachments and set up the search and filter however I do not know if my settings are wrong or something else is glitchy, but no results appear. The filter appears on the sidebar as I set it up however it says will not display any results.

    To be more specific, I added this to my functions file:

    function wptp_add_categories_to_attachments() {
    register_taxonomy_for_object_type( ‘category’, ‘attachment’ );
    }
    add_action( ‘init’ , ‘wptp_add_categories_to_attachments’ );

    gave a media attachment a category name, selected “media” in general settings, selected Tag, Category & Taxonomy Archives under Detect defaults from current page and made sure to include the category ID to pull from. As I mentioned, I can get the filter to display but not the actual media attachment. Please assist.

    Thank you!

    Anonymous
    #41821

    bump, please

    Ross Moderator
    #41856

    Hi Julie

    Do you have a link I could look at?

    Thanks

    Anonymous
    #41945

    This is the link but unfortunately I am not sure it’s going to help troubleshoot:

    http://www.deluxe-designs.net/hylton/shop/

    Here is a link of a page that does work the way I want/it’s supposed to, but it links to posts and not media attachments:

    http://www.deluxe-designs.net/hylton/all-recipes/

    Ross Moderator
    #42035
    This reply has been marked as private.
    Anonymous
    #42087
    This reply has been marked as private.
    Anonymous
    #42803

    Following up on this; thanks.

    Ross Moderator
    #42853
    This reply has been marked as private.
    Ross Moderator
    #42868
    This reply has been marked as private.
    Anonymous
    #42870

    That looks like we’re making some headway, but when I click on “camera equipment”, nothing shows up. It only shows up under “all”.

Viewing 10 posts - 1 through 10 (of 12 total)