Ok, so there is no plugin for this? I’m new to developing in WordPress and have used SiteOrigin pagebuilder.
How do I add the code to this?
Thanks
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
@sarmadgardezi, We appreciate you helping out, but in future please put the instructions in this forum thread instead of linking to your website.
@jonathanss, Try editing those page in the Appearance > Menus section of the dashboard. Then add a ‘Custom Link’ for those pages and, for each page, use this as the value:
/[slug-name]#primary
You need to replace the [slug-name] part with the actual slug for each page, for example:
For Sale custom link:
/sale#primary
For Rent custom link:
/rent#primary
Contact custom link:
/contact#primary
Not sure i did i correctly. just adding
https://myschoolprojects-39102e.easywp.com/sale#primary
https://myschoolprojects-39102e.easywp.com/rent#primary
https://myschoolprojects-39102e.easywp.com/contact#primary
If i stand on the specific page and press the link it takes me to primary part of website. But the links don’t lead to the correct page by them self. Did I miss something?
Anything else I should do or missed to ad?
The links don’t really work with /sale#primary. It just takes it to the primary of the current page. not actually on /sale or /rent.
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
I think it doesn’t work because your theme’s JS is interfering.
As this is now a theme problem I would recommend posting in your theme’s support section where the developers can help you: https://ww.wp.xz.cn/support/theme/sydney#new-post
You should also provide a link back to this thread for context.
So there is no easy way to override the JS interfering of it? I will post there shortly thanks
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
JS cannot be overridden like CSS, so no it’ll be a case of :
– Dequeuing the theme’s JS
– Enquing your own JS
– Modifying your JS to suit your needs