Adding Linked Text to New, Special and Featured Products Heading in Center Column
I need to add linked text in the heading of the New, Special and Featured Products boxes on the center column of the home page. My client wants a link that says "Click here for all new/sale/featured products" to the right of the <H2> titles. I've seen forum posts about making links of the actual headings, but not on additional linked text.
Is this feasible? Or can I at least put the links somewhere in the content boxes? I'd appreciate some pointers from someone who has done this before.
I'm using ZC 1.3.9h with the All Business template by Picaflor Azul.
Thanks in advance!
Melodie
Re: Adding Linked Text to New, Special and Featured Products Heading in Center Column
In the case of the New Products, find this line in english.php:
define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');
and add the link:
define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s - <a href="http://www.stevesh.org/demo/index.php?main_page=products_new">Click here for all New Products</a>');
I added this to the stylesheet so everything would fit:
#whatsNew .centerBoxHeading {font-size: 1.2em;}
See the result at www .stevesh.org/demo.
The others would be the same with their respective defines.
Re: Adding Linked Text to New, Special and Featured Products Heading in Center Column
Awesome! Thank you so much, I'm going to put it right to use.
-Melodie
Quote:
Originally Posted by
stevesh
In the case of the New Products, find this line in english.php:
define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');
and add the link:
define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s - <a href="http://www.stevesh.org/demo/index.php?main_page=products_new">Click here for all New Products</a>');
I added this to the stylesheet so everything would fit:
#whatsNew .centerBoxHeading {font-size: 1.2em;}
See the result at www .stevesh.org/demo.
The others would be the same with their respective defines.