Jump to content
WinterMorn

Apply logo link to multiple pages on site

Recommended Posts

Hello,

1. I have an image logo, which appears at the top left of all of my articles.  I have made one of them a link to the home page.  How can I make the logos on all of the articles also be links, without having to make them separately?

2. I have an image text heading at the top right of all of my articles; they are not all the same; they are 9 different category names.  I have made one of them a link to a certain page (1-9)  Is there a way that I can link those nine different headings to their appropriate page (1-9)?

Many, many articles - too many to do separately.  HTML, CSS, (Dreamweaver is available)

Share this post


Link to post
Share on other sites

Better option would be to use a server language like PHP. The image logo would be placed on a blank PHP page with only the image logo and link applied to it, then you can use PHP include to place that singe page on multiple pages with image and link in the the location you require. You amend that specific logo/header page, and the other pages will update to that amendment instantly.

The same can be done with text headings, PHP can identify what page you are on, gather link , category data stored in array, and add required text, link to that specific page.

You can also use JavaScript also, but requires enabled on all browsers, and maybe not as SEO friendly as using PHP.

https://www.w3schools.com/php/php_includes.asp

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×