WooCommerce permalinks [closed]

We use a method simular to this to generate product permalinks: Custom field values in permalink Annoyingly this supports one level of category only – not nested categories, so I believe what you want to do is not possible (but if anyone else has a solution I’d love to hear it!).

Get post title with link

Did you use it like that?? <a href=”https://wordpress.stackexchange.com/questions/141318/<?php get_permalink($id); ?>”><?php the_title($id); ?></a> for use to that foreach($ids as $id){ $link = get_permalink($id); $title = get_the_title($id); $links .= ‘<a href=”‘.$link.'”>’.$title.'</a>’.'<br/>’ ; //$links .= $link . ‘ <br>’; } get_permalink get_the_title Try to use that while I’m coding your code.

404 error on subcategory pages

The cause of this issue for future reference was the ‘.’ in the category base, which was added to resolve a previous issue. Removing this and using /category/postname (per question) works, so will look for an alternative resolution to the category base issue.