Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter peterchic

    (@peterchic)

    Parent page is ‘frequently asked questions’
    https://schiffgold.com/faq3/

    Are parent pages related to 301 redirects?

    Thread Starter peterchic

    (@peterchic)

    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.

    Thread Starter peterchic

    (@peterchic)

    Wow, apologies. It’s finally correct. That fizstage was a dev env. link. I just edited my last post. Thanks!

    Thread Starter peterchic

    (@peterchic)

    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 9 months ago by peterchic.
    Thread Starter peterchic

    (@peterchic)

    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

    To solve the issue of setting an active class, I think this would work. What do you think? setting active class

    Thread Starter peterchic

    (@peterchic)

    Hey @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

    Thread Starter peterchic

    (@peterchic)

    Hey @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

    Thread Starter peterchic

    (@peterchic)

    Jackpot! Can’t believe I didn’t see that! Thank you, sir!

    • This reply was modified 5 years, 1 month ago by peterchic.
Viewing 8 replies - 1 through 8 (of 8 total)