Megamenu – News by tags

This topic is: Resolved

This is a PRIVATE forum for verified users only, to view the replies/answers, you must be logged in!

This topic contains 11 replies, has 5 voices, and was last updated by  Jacob 1 year, 9 months ago.

  • Author
    Posts
  • #6754

    neshanthan
    Member
    Post count: 33

    Hey,
    for the megamenu is it possible to display the posts by tags, and also would it be possible to filter by specifying multiple categories, or multiple tags.

    Thanks in advance.

  • #6771

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #6778

    neshanthan
    Member
    Post count: 33

    Ah kk no worries, I figured out a way to do it via writing into the custom functions, thanks for having a look anyway.

  • #6780

    neshanthan
    Member
    Post count: 33

    Actually I thought I had it, but when the script seems to be getting the posts before my hook point, currently i am using

    add_action(‘pre_get_posts’, ‘add_all_women_tags_to_category’);, however the theme has already gotten the posts for the menu, before executing this, could you tell me where I need to hook so that I can filter the query before it executed for the menu?

  • #6785

    neshanthan
    Member
    Post count: 33

    Sorry my fault, I missed out some code, its all working perfect now.

  • #6792

    Jacob
    Staff
    Post count: 2312

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #6801

    neshanthan
    Member
    Post count: 33

    Ah i see, thanks definitely useful, was going to ask another question, but I think I should be able to accomplish it using this hook, thanks.

  • #6949

    theDeusBerlin
    Member
    Post count: 42

    No possibility for the megamenu to display the posts by tags 🙁 ?

    Is there a workaround? I need a solution urgently – I didn’t notice it before purchase.

  • #6952

    Erick
    Member
    Post count: 1018

    I saw in another post that what you are requesting is not possible. But you can just create a new page and do it from there. Perhaps. I am not sure.

  • #6953

    theDeusBerlin
    Member
    Post count: 42

    What do you mean with a new page?

  • #6954

    neshanthan
    Member
    Post count: 33
    This reply has been marked as private.
  • #6966

    Jacob
    Staff
    Post count: 2312

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

You must be logged in to reply to this topic.

This is a PRIVATE forum for verified users only, to view the replies/answers, you must be logged in!