Change href link in default logo and category
This support request was posted in General Support by educenter
- educenter October 24, 2014 at 8:40 pm
Hey there,
Just want to change the a href links to the logo (currently redirects to “/”) and Announcements
What line of code should I edit in the .php files?
Juanfra Aldasoro October 24, 2014 at 8:51 pmHello,
Thanks for writing.
The function in charge of echoing the logo is in part of the framework, so it is not recommended to edit that. However, there are some filters that you can apply.
You can try adding the following php in your functions.php file: https://gist.github.com/juanfraa/3be74ed3cc93539b0a42
Best,
Juaneducenter November 5, 2014 at 1:09 amThanks Juan!
How do I change this for a category link? for example, I would like “Announcements” on the navbar to redirect elsewhere.
Juanfra Aldasoro November 5, 2014 at 1:13 amHello,
That is related to the navigation menu. You can create custom links for the navigation menu.
You can read more about setting up navigation menus here: http://nicethemes.com/article/setting-navigation-menu/
Best,
Juan.educenter November 6, 2014 at 7:27 pmI understand how to use the navigation menu – however, I would like the link a category link (“Announcement”) to an outside website. This involves changing the a href link, which I cannot find…
Juanfra Aldasoro November 7, 2014 at 2:12 pmHello,
Thanks for the follow up.
Well, if you check the article I’ve linked about setting up navigation menus, you’ll see in the point number four that you can set up custom links.
By creating a custom link, you can use the URL that you want. Create a custom link with a label “Annoucement” with the url to the site you need.
Best,
Juan.
You must be logged in to reply to this topic.