[Resolved] Elements conditional in cpt taxonomy pages

Home Forums Support [Resolved] Elements conditional in cpt taxonomy pages

Home Forums Support Elements conditional in cpt taxonomy pages

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1571115
    byo

    hi,
    I’m trying to display some text at the bottom of my custom taxonomy page (after the infinite scroll button), and it does not work,
    In elements i’ve created new hook==> add some text ==> select hook position : generate_after_main_content ==> display in my custom taxonomy (tax cars, found it in the list) ==> selected term (term blue cars)

    But the element does not want to display.

    What i did so far:
    1- test with condition : All archives ==> The hook element appear everywhere.
    2- Test for cpt cars : the hook element appear on all cpt single posts
    3- Test in other positions with the same condition, no hook works on taxonomy pages.
    3- did research in the forum without success

    I’m working on a local project (xampp) , i did a test on a live website, same result not working.

    I manage CPT with the CPT UI plugin.

    I have missed something, but after testing, searching in the forum, i could not find what is the problem, i need your help.

    Thanks

    #1571139
    byo

    I had to enable has_archive for the CPT, but it’s not clear for me
    I think i have to read some codex pages and tutorials ๐Ÿ™‚

    #1571285
    David
    Staff
    Customer Support

    Yep that would be it ๐Ÿ™‚ Glad you found the issue !

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.