index.php
$args = array(
'posts_per_page' => 5,
'orderby' => 'post_date',
'order' => 'DESC',
'post_type' => array('car', 'bus', 'boat'), //plugin pods
);
$query = new WP_Query($args);
while($query->have_posts()) {
$query->the_post();
echo '<a href="' . get_permalink(get_the_ID()) . '">'
.get_the_title()
."</a>";
}
1) (and dot/car2, dot/bus1…)
and
This works.
2) (and dot/transport/car2, dot/transport/bus1…)
and
This doesn’t work: 404 error.
I have tried “transport” here: (Categories) wp-admin/edit-tags.php?taxonomy=category
and also here: (Permalinks) wp-admin/options-permalink.php /%category%
but it doens’t work
Ex. This does work: and
OR and
This does not work:
OR and
Anyone know?