WordPress.org

Ready to get started?Download WordPress

Forums

Simple Sidebar Navigation
[resolved] Strange - opening in new window (3 posts)

  1. mrspabs
    Member
    Posted 3 months ago #

    Hi. I LOVE this plugin!

    I use it for left nav all throughout my site.

    For strange reason, on one set of pages, the link always opens in a new window! Its very strange. I don't want it to.

    Thoughts?

    https://wordpress.org/plugins/simple-sidebar-navigation/

  2. mrspabs
    Member
    Posted 3 months ago #

    I removed the plugin and replaced it with this codea and it still happens, so its not the plugin.

    <ul>
    <?php
    global $post;
    $current_page_parent = ( $post->post_parent ? $post->post_parent : $post->ID );
    
    wp_list_pages( array(
         'title_li' => '',
         'child_of' => $current_page_parent,
         'depth' => '1' )
    );
    ?>
    </ul>
  3. mrspabs
    Member
    Posted 3 months ago #

    PS I deactivated quick page post redirect plugin, and it fixed.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.