How to hide date on Store pages

Home Forums Store Locator Plus How to hide date on Store pages

Tagged: 

This topic contains 0 replies, has 1 voice, and was last updated by  Debayne 3 years, 8 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #17859

    Debayne
    Participant

    Hi,

    Am working on a website for a client and I need to hide the date on the store pages.

    I am using SLP 4 and the template was built using Artisteer.

    I need the date to be shown on ordinary posts as they also have a blog but need to remove it on the store pages. I added a function to functions.php

    function custom_post_info(){

    global $post;

    if(‘store_page’ == get_post_type() )

    {

    return false;

    }

    else

    {

    return theme_get_metadata_icons;

    }

    }

     

    But this isn’t working, so any help or advice would be greatly appreciated.

    One of the store pages can be found at http://www.specs2u.co.uk/opticians/warrington/

    Thanks,

    Debbie

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.