• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 439
  • Last Modified:

adding anchor links in wordpress

Is there a way for my programmer to add code to Word Press so that my client can easily add anchor links?
0
nsitedesigns
Asked:
nsitedesigns
  • 4
  • 3
2 Solutions
 
Jason C. LevineNo oneCommented:
What did you have in mind?
0
 
nsitedesignsAuthor Commented:
Well, I wanted to know if there was a way to add an anchor link icon (or some other feature) that would allow client to add anchor links to their wp site.
0
 
Jason C. LevineNo oneCommented:
Yes, but you lead off by asking if there is a programmatic solution.  Are you looking to alter the interface to do something out-of-the-ordinary with anchors or do you just want to add an anchor link button to the visual editor?
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
nsitedesignsAuthor Commented:
Looking for anyway that I can help client add anchor link to wp site.  Not sure if we can install a plugin or if there is already something in wp that lets you do this.
0
 
Jason C. LevineNo oneCommented:
You can install the TinyMCE Advanced plugin as it has an anchor button.  

Alternately, you can add the following code to your functions.php file:

function more_buttons($buttons) {
   $buttons[] = 'anchor';
   return $buttons;
}
add_filter("mce_buttons_3", "more_buttons");
0
 
nsitedesignsAuthor Commented:
Thanks.  Will adding this code create an icon client can click on to insert?  Additionally, I will need this system to provide link url so he can add this to the area on his site that will require the anchor.

One other question.  If we install it and don't like it, can we uninstall it without any problems?
0
 
Jason C. LevineNo oneCommented:
Will adding this code create an icon client can click on to insert?

Yes, it adds a button to the toolbar.

Additionally, I will need this system to provide link url so he can add this to the area on his site that will require the anchor.

That's where you may have to do some training.  Both the code solution and the TinyMCE solution simply create the <a name="something"> anchor target in the content.  To link to that, the user would use the normal link tool but manually append the #something to it in the tool.

If we install it and don't like it, can we uninstall it without any problems?

Yes.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now