Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter dflipse

    (@dflipse)

    Unfortunately, I was never able to get as far as problems with the functionality of the plugin.

    My WordPress install is stuck at 2.9.2, because if I (on a similarly configured test site) attempt to install sk multi tag to 3.1.3 (and earlier recent versions), I get the following fatal error-

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home3/flipseco/public_html/snsbc/wp-content/plugins/sk-multi-tag/sk_multitag.php on line 18

    Anyone else have this issue?

    Forum: Plugins
    In reply to: Excute php code from widget

    Hi, I also (think) I just want to execute a little bit of php code within a widget, and your widget seemed like the perfect thing.

    I’m trying to make a very simple thing, essentially a post counter saying “Now with 400 posts.” Your plugin in combination with the wp_count_posts function seemed to be the perfect thing. I installed the plugin, added the Widget to the appropriate sidebar, and pasted the following in after my plain text-

    <?php
    $count_posts = wp_count_posts();
    ?>

    I thought that code would then return a number of posts, but it just leaves a blank space. I freely admit to being a relative novice, and feel like I’m missing something pretty obvious. Any help would be great. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)