Support » Plugin: Advanced Post List » [Plugin: Advanced Post List] Can i create new preset list with php code inside?

  • Resolved yyyyyywhy


    this is really a cool plugin and bring me hope to realize the feature i want….thanks a lot for continuing to digging the list potential.

    in fact i want to put a button behind every post title in a post list page for collecting readers’ feedback, such as vote or favorite etc.
    i tried to insert a line of php code frome other plugin providing link and button into the list item content field,but can’t see the button in the preview…so i am wondering how can i make it? i am newbie and not a programmer…so please any one give me a hand or clue is appreciated.

    thanks in advance:)

Viewing 2 replies - 1 through 2 (of 2 total)
  • You can’t do it directly, but you can define your custom php functions and use them through [php_function name=”{function_name}” param=”{params_string}”] ….

    Refer to this topic for an example:

    Remember that the first parameter received through your custom function must be $post (it is sent implicitly), then your params_var.

    Hope this help.



    Plugin Author jokerbr313


    jjyepez, thank you for the reply and for taking the time to make a how-to topic in another thread. I had to take a bit of a break and let my mind unwind. So me being the only developer, I had to leave everything as-is for the time being, but at the current moment, I’m back to getting another update ready for release to further stabilize version 0.3.

    yyyyyywhy, sorry for the late reply. I think this question was asked during a development period and I didn’t have any useful info I could give at the time. The function he mentions though is a function from Kalin’s Post List that I had preserved, but haven’t had the time to fully check out and create a wiki for.

    Anyways, thanks for the comments.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Advanced Post List] Can i create new preset list with php code inside?’ is closed to new replies.