How to insert content on the homepage

  • Hi,


    I am trying to figure out how to pull content from indoor product section to the homepage. I followed the video example but it's not to work for me. Can someone tell me what I am doing wrong or missing.


    Thank you for your time.


    <?php perch_content_custom ('Indoor', array(

    'page'=>'/products.php',

    'template'=>'_homepage_product_listing.html',

    'count'=>1

    )

    );?>

  • drewm

    Approved the thread.
  • Hi Jason


    Unfortunately we can't see localhost links as that's just shorthand for your own computer.


    First off, you need to develop Perch sites at the root of your web server. It looks like you're possibly developing the site inside a couple of subfolders which will complicate matters somewhat. You can either create a virtual host to a folder e.g. dev.testing.local or just develop at the root localhost:8888/. If you are using something like MAMP Pro then it will generate the virtual host for you.