Change href link in default logo and category

This support request was posted in General Support by educenter

Request ID #4777 In Progress
  • 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

    Hello,

    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,
    Juan

    Thanks Juan!

    How do I change this for a category link? for example, I would like “Announcements” on the navbar to redirect elsewhere.

    Juanfra Aldasoro

    Hello,

    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.

    I 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

    Hello,

    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.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

Login to your Account

Welcome back! Please log in to your account by filling the fields below:

Forgot?

Not a member? Create a free account.

Create a Free Account

You're 27 seconds away from some awesome WordPress free stuff, benefits and more. Create a free account and have access to our free products, benefits and more!

Already have an account? Log in
Secure Server