Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Nimble3

    (@nimble3)

    you can use do_shortcode() function for this.

    Thread Starter dukeblogger

    (@dukeblogger)

    Do you have the correct code for this? my php skills are lacking.

    Plugin Author Nimble3

    (@nimble3)

    just wait for another 30 minutes, we are making a function to make life easier for non-php guys ??

    Plugin Author Nimble3

    (@nimble3)

    You can use

    <?php
    /* Suppotred by all versions - it will print out the portfolio content */
    if (function_exists('nimble_portfolio_show')) {
        nimble_portfolio_show();
    }
    ?>

    OR

    <?php
    /* Suppotred from 1.2.1 - it will return portfolio content */
    if (function_exists('nimble_portfolio')) {
        echo nimble_portfolio();
    }
    ?>

    Since there is only one template code, and its default too, you don’t need to pass template code in this function call.

    Hi,

    I just used the function call above. Which works. However I get a php warning.

    Warning: Missing argument 1 for nimble_portfolio_show(),

    EDIT : by using echo nimble_portfolio and changing

    function nimble_portfolio($atts) {
    to
    `function nimble_portfolio() {
    in numble-portfolio.php (line 143)

    Then all works fine.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Filterable jQuery Portfolio Plugin] Using in a template?’ is closed to new replies.