$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>menus - dot.comcar1 does work, but dot.comtransportcar1 doesn’t work|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

menus - dot.comcar1 does work, but dot.comtransportcar1 doesn’t work

matteradmin10PV0评论

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?

Post a comment

comment list (0)

  1. No comments so far