Support » Plugin: Advanced Post List » [Plugin: Advanced Post List] APL_display "not available"

  • Resolved C0BALT


    <?php 			    if(function_exists("APL_display")){
        echo "available.\n";
    } else {
        echo "not available.\n";

    This is returning “not available.
    This isn’t working, in the loop or out of the loop.
    Do I need to do something else?
    <?php if(function_exists("APL_display")){APL_display("test1");}?>

    [post_list name="test1"]
    The shortcode works just fine.

    I am using WP3.3B3

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author jokerbr313


    I figured out what the issue was. Originally, pretty much everything in the plug-in was redesign to be Object Orientated, and the ‘PHP code’ displayed a function, not a method to the user. I just forgot to go back and re-edit that part of the front end.

    At this present moment, there isn’t a download for this. I’m still working on a few things here and there, but I should be releasing a beta version soon for people to optionally download (until i feel comfortable making it the primary stable version). Just keep an eye out for version 0.2.b1.

    Plugin Author jokerbr313


    In the meantime, here is a working sample of the code your looking for. It should work for you as well.

    Using the postExcerptDivided_5 Preset
    <?php if (method_exists($advanced_post_list, "APL_display")){echo $advanced_post_list->APL_display("postExcerptDivided_5");} ?>

    I tried <?php if (method_exists($advanced_post_list, “APL_display”)){echo $advanced_post_list->APL_display(“postExcerptDivided_5”);} ?> using my preset name and it didn’t work. I’m trying it in the header of my blog.

    I’m not a PHP expert, so is there something I should include somewhere in the header before calling this method?

    Please advise

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Advanced Post List] APL_display "not available"’ is closed to new replies.