Softaculous


Topic : Linking to a particular section of page?


Posted By: gregoryopera on March 30, 2018, 4:16 am
Whilst I know how to add custom links to my website, I am not sure about how to add links which point to specific parts of a webpage... Basically, I want one of my custom links (at the top of my page) to link to particular section of the same page.

How do I achieve this?

Posted By: Brijesh on March 30, 2018, 6:38 am | Post: 1
Hi,

You can achieve this using the name attribute in <a> tag. So you can use the EMBED widget and drag it above the section which you want to be linked to. Write the following HTML code in it :
Code
<a name="clients"></a>


Then where you want to create the link on clicking which the user will go to the above created link, drag another EMBED widget and write the following HTML code :
Code
<a href="#clients">Click here to go to Clients list</a>


Now when the user clicks on the above link they will see the section you linked to.

Let us know if you have any questions.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Posted By: gregoryopera on March 30, 2018, 6:53 am | Post: 2
I heard back from Softaculous support (I e-mailed them as well) and they said that all I would need to do is add a unique ID to the field I want to link to, then use that unique ID as the URL... For example, if I wanted "Contact" at the top of my page to link to the contact form (which I do), then I would add "contact_form" as the link ID for the contact form itself, and add #contact_form as the URL for the "Contact" link at the top of my webpage.

The process is described more over here, except that it doesn't elaborate on how to actually link to that unique ID (i.e. by adding # as the URL).

Of course, if you actually want to learn something, Brijesh's is the better answer... Thanks for that, Brijesh!

Posted By: Brijesh on March 30, 2018, 11:05 am | Post: 3
Hi,

Glad to know you were able to find a working solution.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.