The MU forums have moved to WordPress.org

Widgets Confusion (2 posts)

  1. carnold
    Member
    Posted 17 years ago #

    Basic kind of question: i am using MUWP 1.2.3 and the default home theme (for now). I have the akismet plugin that is not a widget. If i want to place the akismet counter in my sidebar, i am to place this php in the template:
    < ? php akismet_counter(); ? >
    As a user, i can not get to the template files. So i go into presentation>widgets and add a text widget. I then config that text widget like so: heading line i place "Spam" in there and in the body of that same text widget, i place < ? php akismet_counter(); ? >. Of course, the akismet counter does not show on the sidebar. Is this in fact the way users are to use the plugins that don't have a widget? It seems the text widget does not accept php?

  2. peiqinglong
    Member
    Posted 17 years ago #

    Text widget does not accept PHP as a security precaution. There is a plugin called widgetize anything that allows you to input PHP into it.

About this Topic

  • Started 17 years ago by carnold
  • Latest reply from peiqinglong