Edit this section of the define_main_page.php:I did edit the links, but what I can't get to work is getting the links to open in a new window. Should I be putting target="_blank" after the URL in define main page? If so, where in this code does it go?
define(URL5,'http://www.example.com');
Thank you
~Jewel
Code:<div id="slider"> <ul> <li><a href="<?php echo URL1 ?>"><img src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.IMAGE1 ?>" alt="first slide image" /></a></li> <li><a href="<?php echo URL2 ?>"><img src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.IMAGE2 ?>" alt="second slide image" /></a></li> <li><a href="<?php echo URL3 ?>"><img src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.IMAGE3 ?>" alt="third slide image" /></a></li> <li><a href="<?php echo URL4 ?>"><img src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.IMAGE4 ?>" alt="fourth slide image" /></a></li> <li><a href="<?php echo URL5 ?>"><img src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.IMAGE5 ?>" alt="fifth slide image" /></a></li> </ul> </div>
OK, so where in this code does the snippet go?
<li><a href="<?php echo URL1 ?>"><img src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.IMAGE1 ?>" alt="first slide image" /></a></li>
Thanks
~Jewel
replace with:OK, so where in this code does the snippet go?
<li><a href="<?php echo URL1 ?>"><img src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.IMAGE1 ?>" alt="first slide image" /></a></li>
Thanks
~Jewel
But I would stongly advise against opening these urls in new windows unless they are pointing off site. The multiple new windows within site drive me nuts and is generally a bad practice in regards to conversion rates.Code:<li><a href="<?php echo URL1 ?>" target="_blank"><img src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.IMAGE1 ?>" alt="first slide image" /></a></li>
Thanks,
Anne
Thanks Anne. A couple do point to my blog, and those are the ones that I want to open in new windows. I agree with you about ones that point to categories within the store.
~Jewel
Anne, if you do not mind me asking, how is that header's background image's ends being rounded?
O.k., good luck with your businessThanks Anne. A couple do point to my blog, and those are the ones that I want to open in new windows. I agree with you about ones that point to categories within the store.
~Jewel
Thanks,
Anne
I am not sure what you are asking, but the header image does have rounded corners.Anne, if you do not mind me asking, how is that header's background image's ends being rounded?
Thanks,
Anne
Bookmarks