Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1402155
    Chgrim
    Participant

    Hi,

    I know this is a bit of a long shot but since I got the grid through Xtheme I can’t use support on their page.

    If you roll over the top banner image on this page https://www.topdownreviews.com/where-to-go/ you can see that it pops up the categories that the post is assigned to. In the grid plugin I am using terms1, terms 2 and then filtering the taxonomy to category.

    My question is do you know how I would filter it to only show the top category instead of listing out the numerous categories the post is in.

    Thanks
    Chris

    #1402707
    Rad
    Moderator

    Hi Chris,

    Thanks for writing in.

    You mean remove the parent category and just display one single category? I’m not sure if it’s possible but I could check and try it on your installation.

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks!

    #1403370
    Chgrim
    Participant
    This reply has been marked as private.
    #1403609
    Rue Nel
    Moderator

    Hello There,

    Thanks for providing the information. You may edit each of the post and only assign it to the category and do not include the parent category. Please see the image below:

    Hope this helps.

    #1405262
    Chgrim
    Participant

    Hi,

    What if I want to assign it to more than one category but only want the primary one to show up on the grid? Also what if I wanted only the parent category to show up on the grid image?

    Thanks
    Chris

    #1406055
    Lely
    Moderator

    Hi Chris,

    Unfortunately, the category element display every categories the post was in.
    Although, there’s a workaround. It is using custom Metadata:https://theme-one.com/docs/the-grid/#!/element_metadata. Add the primary category as metadata instead and then add this as element.

    Please check their documentation here:https://theme-one.com/docs/the-grid/ on how to edit existing skin and add parent category.

    Hope this helps.

    #1406735
    Chgrim
    Participant

    Oh so I would create a metadata option and enter #meta:parent_category_name into the key?

    #1407508
    Lely
    Moderator

    Hello Chris,

    Yes, you’re correct. We will use meta key name to add on the skin.
    Like on attached image.

    #1407588
    Chgrim
    Participant

    Hi,

    When I try typing in #meta:parent_category_name to the metakey name field nothing happens.

    Thanks
    Chris

    #1408121
    Lely
    Moderator

    Hello Chris,

    I think we do have a misunderstanding here.
    I did checked one of your post under Where to go category, and there’s no meta field added.
    What I meant was meta key name is a variable. It is a custom field added to the post. See attached screenshot.
    Meta Key Name is the name of the variable/custom field added to the post. After adding that, you can see the option to add the value on it when you edit a certain post. Then on the grid, whatever the meta key name that’s what will used to call those values we add on post.

    This link might help:https://codex.wordpress.org/Custom_Fields

  • <script> jQuery(function($){ $("#no-reply-1402155 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>