November 6, 2018 at 11:09 am #278492
It exports the shorter URL like. mysite.com/p-263
I would like it to be the full URL I see in the backend. https://www.mysite.com/events/2019/01/11/kansas-reading/
Note: I recently changed the permalinks to be more descriptive.
<?php $args = array( 'post_status' => 'future', 'order' => 'ASC', 'cat' => 16 ); $query = new WP_Query($args); if ( $query->have_posts() ) : while ( $query->have_posts() ) : $query->the_post(); ?>November 15, 2018 at 12:29 am #278918
In the WordPress backend, in Settings > Permalinks, there’s a setting called “Common Settings”. It sounds like you want something like the “Day and name” option. If that isn’t quite right, you can use the “Custom Structure” option further down to tweak the implementation. WordPress will generate permalinks based on that structure.
You must be logged in to reply to this topic.