Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

adding anchor links in wordpress

Posted on 2013-01-07
7
Medium Priority
?
411 Views
Last Modified: 2013-01-07
Is there a way for my programmer to add code to Word Press so that my client can easily add anchor links?
0
Comment
Question by:nsitedesigns
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 38751326
What did you have in mind?
0
 

Author Comment

by:nsitedesigns
ID: 38751489
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
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 38751537
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
Understanding Web Applications

Without even knowing it, most of us are using web applications on a daily basis. Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We often confuse these web applications tools for websites.  So, what is the difference?

 

Author Comment

by:nsitedesigns
ID: 38751670
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
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 2000 total points
ID: 38751707
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
 

Author Comment

by:nsitedesigns
ID: 38751911
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
 
LVL 70

Assisted Solution

by:Jason C. Levine
Jason C. Levine earned 2000 total points
ID: 38751919
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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question