Support » Plugin: WordPress Picture / Portfolio / Media Gallery » Display Filter Title on template page

  • Resolved charliwize


    Please could some help me with how to display the filter title of the particular portfolio item clicked on a seperate template page.

    I mean when a user clicks on a portfolio item, I want them to be able to also see the particular filter title for that item on the single-portfolio.php page

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Nimble3


    in single-portfolio.php use below code to get all the filters attached to this portfolio item.

    $filters = wp_get_post_terms(get_the_ID(),'nimble-portfolio-type',array("fields" => "names"));

    Hi, Thanks alot, but i have tried it, it doesnt give me any result. Is there something I’m missing or is there another way i can get around it. Im not too experienced with wordpress.Thanks

    Plugin Author Nimble3


    Please check if get_the_ID() returns anything.

    Nooo, It returned nothing….

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Display Filter Title on template page’ is closed to new replies.