Having troubles removing a menu
-
Hey Everyone!
I’m trying to remove the primary navigation menu from a post that shows up when a customer, who is logged in, wants to see the details in their service ticket.The code for the page is:
<?php /** * The template for displaying all pages. * * This is the template that displays all pages by default. * Please note that this is the WordPress construct of pages * and that other 'pages' on your WordPress site will use a * different template. * * @package presscore * @since presscore 1.0 */ // File Security Check if ( ! defined( 'ABSPATH' ) ) { exit; } $config = Presscore_Config::get_instance(); $config->set('template', 'page'); $config->base_init(); get_header(); ?> <?php if ( presscore_is_content_visible() ): ?> <div id="content" class="content" role="main"> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php do_action('presscore_before_loop'); ?> <?php /** * Get the ticket details content */ wpas_get_template_part( 'content', 'ticket' ); ?> <?php presscore_display_share_buttons( 'page' ); ?> <?php comments_template( '', true ); ?> <?php endwhile; ?> <?php else : ?> <?php get_template_part( 'no-results', 'page' ); ?> <?php endif; ?> </div><!-- #content --> <?php do_action('presscore_after_content'); ?> <?php endif; // if content visible ?> <?php get_footer(); ?>
I’ve seen the codex info on page removal but, not being fairly thick when it comes to editing – well, I’ve tried several variations and none worked.
If inserting a line of code into the above will do it could tell me where it goes? I didn’t think it made all that difference…but maybe that’s my html memories ??
Thanks!
Rob
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘Having troubles removing a menu’ is closed to new replies.