hot to call catlist within a php
  • goshkogoshko March 2011
    Posts: 2
    it probably is not that hard to figure out, but i don't know my way around php. so, say if i make a custom php that i will use in my wordpress site, how do i insert the code directly into the php, i will not be adding any content to the page trough wordpress directly, so i need to add it in the php? probably something like this > 'ListCategoryPosts', 'catlist_func' ? i really have no idea :)
  • goshkogoshko March 2011
    Posts: 2
    any help would be greatly appreciated
    (%)
  • light_in_tunellight_in_tunel July 2011
    Posts: 1
    Any news on this issue? Thanks
  • roartexroartex August 2011
    Posts: 3
    hi guys

    to execute a short code within a php file, i use the following piece of code:

    <?php
     // Use shortcode in a PHP file (outside the post editor).
     echo do_shortcode('[catlist post_type=store  template=product numberposts=0 thumbnail=yes]');
    ?>

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with OpenID Sign In with Twitter Sign In with Google

Sign In Apply for Membership

In this Discussion

This Site is currently in maintenance mode.
Please check back here later.
→ Site Settings