New answers tagged

0

The solution was surprisingly simple as you can see below. Thanks for your help @Sally CJ and @Tom J Nowell. <?php get_header(); ?> <!-- PAGE INTRODUCTION --> <div class="container"> <h1 class="page_title"><?php the_archive_title(); ?></h1> </div> <!-- PAGE CONTENTS --> <div class=&...


0

UPDATE As per the comment, here is the updated solution. Note: Before copy pasting, don't forget to change somePrefix with any other prefix to avoid conflict with any other shortcodes. Step 1: Make sure you have this filter in functions.php (If not, copy paste it there) add_filter('wp_nav_menu_items', 'do_shortcode'); Step 2: Use this snippet to return ...


Top 50 recent answers are included