• Resolved Xaib Aslam

    (@lahorimela)


    Hello i have created a CPT with name of names then i create taxonomy with name of christian_boy_names hierarchical is False.

    So now i open any value taxonomy, it will open a page with link https://mydomain.com/names/christian/boy/michael

    So i want show this kind of thing on Michael page.

    Siblings of that name (10 names)
    Similar of that name (10 names)
    Starting names with M (10 names)

    Can you help me to give me an example code.

    Regards

    • This topic was modified 1 year, 12 months ago by Xaib Aslam.
Viewing 7 replies - 31 through 37 (of 37 total)
  • Thread Starter Xaib Aslam

    (@lahorimela)

    no, I create a custom taxonomy and there is no loop, just HTML code, or to display the term name and description.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    if this is meant to be saving to term meta data, then you need to be using the term ID and functions like get/add/delete verbs for the term meta functions, example: add_term_meta( ... ) since it sounds like you’re not working with posts.

    Thread Starter Xaib Aslam

    (@lahorimela)

    Yes i am not working with posts. I am working with custom taxonomy and custom post types, in which i am not using loop. Just fetch data from database or just getting term values only.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Well you need to work with the appropriate WordPress functions at that point. Not sure what to suggest at the moment.

    Thread Starter Xaib Aslam

    (@lahorimela)

    hmmmm, even plugins are not working on custom taxonomy templates.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Not sure what’s going on there. As long as their files have been loaded already and their functionality declared, things should generally be available to use.

    Thread Starter Xaib Aslam

    (@lahorimela)

    ok, I will do more search on that.

    I never face this issue, I create a custom taxonomy and add 10k values inside, and everything works fine. pagination, Edit | Quick Edit | Delete | View. But when I do a search I got an error.

    This page isn’t working
    If the problem continues, contact the site owner.
    HTTP ERROR 449
    
    RELOAD

    Taxonomy
    https://ibb.co/TYLtBSw

    • This reply was modified 1 year, 11 months ago by Xaib Aslam.
Viewing 7 replies - 31 through 37 (of 37 total)
  • The topic ‘How to get list custom taxonomy’ is closed to new replies.