Title: peterchic's Replies | WordPress.org

---

# peterchic

  [  ](https://wordpress.org/support/users/peterchic/)

 *   [Profile](https://wordpress.org/support/users/peterchic/)
 *   [Topics Started](https://wordpress.org/support/users/peterchic/topics/)
 *   [Replies Created](https://wordpress.org/support/users/peterchic/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/peterchic/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/peterchic/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/peterchic/engagements/)
 *   [Favorites](https://wordpress.org/support/users/peterchic/favorites/)

 Search replies:

## Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Where are redirects happening?](https://wordpress.org/support/topic/where-are-redirects-happening/)
 *  Thread Starter [peterchic](https://wordpress.org/support/users/peterchic/)
 * (@peterchic)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/where-are-redirects-happening/#post-17820633)
 * Parent page is ‘frequently asked questions’
   `https://schiffgold.com/faq3/`Are
   parent pages related to 301 redirects?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Where are redirects happening?](https://wordpress.org/support/topic/where-are-redirects-happening/)
 *  Thread Starter [peterchic](https://wordpress.org/support/users/peterchic/)
 * (@peterchic)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/where-are-redirects-happening/#post-17818399)
 * The puzzling part for me is how it’s happening. Going to `https://schiffgold.
   com/faq/quantitative-easing/`, redirects to `https://schiffgold.com/faq3/quantitative-
   easing/`. But I have no idea where that redirect rule is taking place, so I came
   to the WP forums since as far as I can tell, the redirect is happening from WP
   itself.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Where are redirects happening?](https://wordpress.org/support/topic/where-are-redirects-happening/)
 *  Thread Starter [peterchic](https://wordpress.org/support/users/peterchic/)
 * (@peterchic)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/where-are-redirects-happening/#post-17818351)
 * Wow, apologies. It’s finally correct. That fizstage was a dev env. link. I just
   edited my last post. Thanks!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Where are redirects happening?](https://wordpress.org/support/topic/where-are-redirects-happening/)
 *  Thread Starter [peterchic](https://wordpress.org/support/users/peterchic/)
 * (@peterchic)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/where-are-redirects-happening/#post-17818339)
 * Hey James, sorry, I uploaded the wring URL. Here is the correct version where
   you can see the redirect happen….
 * `https://schiffgold.com/faq/quantitative-easing/`
    -  This reply was modified 2 years, 1 month ago by [peterchic](https://wordpress.org/support/users/peterchic/).
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Sidebar Collapsible Menu](https://wordpress.org/support/topic/sidebar-collapsible-menu/)
 *  Thread Starter [peterchic](https://wordpress.org/support/users/peterchic/)
 * (@peterchic)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/sidebar-collapsible-menu/#post-12337557)
 * Ok, so this became slightly confusing for me.
 * My first question would be ‘where do I input this code?’
 * After some quick research, it seems like I should add this to the themes functions.
   php file.
 * Following this persons video: [here](https://youtu.be/LGbv2GL0eI0?t=146)
 * To solve the issue of setting an active class, I think this would work. What 
   do you think? [setting active class](https://www.infoworld.com/article/3304440/setting-an-active-menu-item-based-on-the-current-url-with-jquery.html)
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Sidebar Collapsible Menu](https://wordpress.org/support/topic/sidebar-collapsible-menu/)
 *  Thread Starter [peterchic](https://wordpress.org/support/users/peterchic/)
 * (@peterchic)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/sidebar-collapsible-menu/#post-12334070)
 * Hey [@bcworkz](https://wordpress.org/support/users/bcworkz/) ,
 * That was my train of thought as well, but got stuck on that same issue. So going
   this route would allow each page to be displayed properly (based on the URL pulled
   by the JS code).
 * So as I think this out, let me know if it makes sense to you…
 * I’d have the custom HTML code widget added to the appropriate sidebar menu. This
   will allow that menu code to be created once and displayed on all pages. This
   also removes the issue that I explained earlier about additional pages causing
   me to change all the menus that would be located on each individual page.
 * So at this point, each page would then have to have a script that speaks with
   the JS to properly expand/highlight the correct spot on the sidebar.
 * My question for that is; where should this JS/jquery code live? On each page?
   or Can I include the JS in one spot and then just add a jquery script on each
   FAQ page?
 * Hope that makes sense!
 * -Pete
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Sidebar Collapsible Menu](https://wordpress.org/support/topic/sidebar-collapsible-menu/)
 *  Thread Starter [peterchic](https://wordpress.org/support/users/peterchic/)
 * (@peterchic)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/sidebar-collapsible-menu/#post-12330142)
 * Hey [@rajuk1970](https://wordpress.org/support/users/rajuk1970/) . Thanks for
   the reply.
 * As of now the entire menu is broken up into 4 sections. Under each section there
   are a range of topics that pertain to the section. I did arrange the topics under
   the sections within the menu. If this FAQ menu were running across the top, horizontally,
   I believe there would be the dropdown functionality. There just seems to be limitation
   with sidebar menus for some reason.
 * Let me know if that’s what you meant.
 * Thanks!
    Pete
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Locating Custom Sidebar Content](https://wordpress.org/support/topic/locating-custom-sidebar-content/)
 *  Thread Starter [peterchic](https://wordpress.org/support/users/peterchic/)
 * (@peterchic)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/locating-custom-sidebar-content/#post-12329526)
 * Jackpot! Can’t believe I didn’t see that! Thank you, sir!
    -  This reply was modified 6 years, 6 months ago by [peterchic](https://wordpress.org/support/users/peterchic/).

Viewing 8 replies - 1 through 8 (of 8 total)