• First of all, I’m so happy to use the world’s best free theme. So comfortable to edit and looks amazing!

    I have updated the /functions/widgets/alx-posts.php to support custom post type. Now I want to know how to show only the custom posts of a particular custom taxonomy?

    Didn’t get it? Here are more details:

    I have a custom post type known as “location”. I edit the alx-posts.php so that I gets the data not from “post” but from “location” types of post. Works perfect!

    The next thing I have is a custom taxonomy known as “City”. So when I create a location, I get the option to select a taxonomy (city).

    Now the question is how to get only the “location” post types of a specific “city”.

    Thanks! Please help! Very urgent!

    https://inkfree.in

  • The topic ‘Displaying posts from a taxonomy in alx-posts.php (Widget)’ is closed to new replies.