WordPress.org

Ready to get started?Download WordPress

Forums

Manifest theme + Sitedescription to appear only on certain pages (1 post)

  1. stuart@lovemrdarcy.com
    Member
    Posted 1 year ago #

    Hi,

    In my site description I have a button that will take customers to the shopping cart. How do i get this to appear only on my "shop" and "product" pages. The product pages URL's are all different -

    http://www.lovemrdarcy.com/product/spring-bouquet/

    or

    http://www.lovemrdarcy.com/product/valentines-bouquet/

    <div id="siteDescription">
        <width="100px" height="41px">
        <a href="http://www.lovemrdarcy.com/shop/cart">
        <img src="http://www.lovemrdarcy.com/wp-content/uploads/2013/02/cart_image_50_orange.png" width="50" height="41">
    	</a>
      </div>

    Ideally Id like for the div to be on everypage but the image to be only on specific. In the case would i be better for me to create two div - one with the image in and one without for the pages where a cart is not needed.

    Any help would be amazing!

    Best,

    Stuart

Topic Closed

This topic has been closed to new replies.

About this Topic