Jump to content

Recommended Posts

Hi... I am building a new theme. I am placing some custom links to other fixed pages (such as twitter profile page, facebook... ) around the site. Right now I am just writing the ahref tag with the fixed link, however I am wondering if it is possible to create a variable to be able to write the variable name everytime I want to build one of these fixed links, and then just update the gobal variable to assign it a value. I mean this:


This: <a href="{my-variable{">Link</a> where {my-variable}=www.prestashop.com

Instead of this: <a href="www.prestashop.com">Link</a>


Is this possible? Thanks.

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
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More