Megamenu – News by tags

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

Status: resolved
  • This topic has 11 replies, 5 voices, and was last updated 5 y, 7 mo by  Jacob.
Viewing 11 reply threads
  • Author
    Posts
    • #6754

      neshanthan
      Member

      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

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

      Login | Register | Forgot Password?

    • #6778

      neshanthan
      Member

      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

      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

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

    • #6792

      Jacob
      Staff

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

      Login | Register | Forgot Password?

    • #6801

      neshanthan
      Member

      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

      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

      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

      What do you mean with a new page?

    • #6954

      neshanthan
      Member
      This reply has been marked as private.
    • #6966

      Jacob
      Staff

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

      Login | Register | Forgot Password?

Viewing 11 reply threads
  • You must be logged in to reply to this topic.

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

© Copyright 2020 by wpthms.com. All Rights Reserved.