{"id":3089,"date":"2008-05-16T23:56:34","date_gmt":"2008-05-16T23:56:34","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/samsarin-php-widget\/"},"modified":"2010-05-19T00:43:20","modified_gmt":"2010-05-19T00:43:20","slug":"samsarin-php-widget","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/samsarin-php-widget\/","author":96355,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.3.3","stable_tag":"1.3.3","tested":"2.5.1","requires":"2.1","requires_php":"","requires_plugins":"","header_name":"Samsarin PHP Widget","header_author":"Chris Pettitt","header_description":"","assets_banners_color":"","last_updated":"2010-05-19 00:43:20","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/blog.samsarin.com\/samsarin-php-widget","header_author_uri":"http:\/\/samsarin.com","rating":0,"author_block_rating":0,"active_installs":200,"downloads":34696,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.3.2","1.3.3","2.0b1","2.1","2.1.1"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[662,162],"plugin_category":[43],"plugin_contributors":[80621],"plugin_business_model":[],"class_list":["post-3089","plugin","type-plugin","status-closed","hentry","plugin_tags-php","plugin_tags-widget","plugin_category-customization","plugin_contributors-samsarin","plugin_committers-samsarin"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/samsarin-php-widget.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>The text widget that comes with the wordpress does not allow you to include PHP code. This plugin adds a new widget called <code>Samsarin PHP Widget<\/code>, which will allow you to include PHP code, as well as plain text and HTML.<\/p>\n\n<p>Features included:<\/p>\n\n<ul>\n<li>Add up to 25 <code>Samsarin PHP Widgets<\/code> to your sidebar.<\/li>\n<li>Add PHP code to both the widget title and the widget body.<\/li>\n<li>Reset allows you to easily revert the contents of a widget.<\/li>\n<\/ul>\n\n<p><em>Warning: This widget provides great flexibility in customizing your sidebar. It achieves this by automatically evaluating any included PHP included in the title or the body of the widget. Care should be taken when including PHP code in the sidebar, as with anywhere else in the Wordpress system.<\/em><\/p>\n\n<h3>Uage<\/h3>\n\n<ol>\n<li>Login to your admin console.<\/li>\n<li>Go to Design | Widgets.<\/li>\n<li>Scroll towards the bottom of the page and look for the <code>Samsarin PHP Widgets<\/code> section. Here you can select the number of widgets you'd like for your website (default is 1).<\/li>\n<li>Click the <code>Add<\/code> link on the Samsarin PHP widget to add it to your sidebar.<\/li>\n<li>Click <code>Edit<\/code> to set the text for the title and the body.<\/li>\n<\/ol>\n\n<p>You may enter PHP code both in the title and the body.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Download the Samsarin PHP Widget and unzip it.<\/li>\n<li>Copy <code>samsarin-php-widget.php<\/code> to the <code>\/wp-content\/plugins<\/code> directory.<\/li>\n<li>Login to your admin console, go to <code>Plugins<\/code>, and enable the <code>Samsarin PHP Widget<\/code>.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>What versions of Wordpress are supported?<\/dt>\n<dd><p>This plugin has been tested with Wordpress 2.1, 2.2, 2.3, and 2.5.1.<\/p><\/dd>\n<dt>What do I do if Samsarin PHP Widget does not show up in the widget admin console?<\/dt>\n<dd><p>First, make sure that the plugin is enabled.<\/p>\n\n<ol>\n<li>Log in to the admin console<\/li>\n<li>Go to Plugins<\/li>\n<li>Verify that \"Samsarin PHP Widget\" is in the list. If it is not, then wordpress doesn't see the plugin. Is it in your plugin directory (wp-content\/plugins)?<\/li>\n<li>Verify that the plugin is enabled<\/li>\n<\/ol>\n\n<p>If it is enabled and you can see it on the left hand side of the Design | Widgets page, then it is possible that the content of one of the widgets is causing a problem. With Samsarin PHP Widget version 1.3.2 you can reset the widgets.<\/p>\n\n<ol>\n<li>Backup your database.<\/li>\n<li>Go to Settings | Samsarin PHP<\/li>\n<li>If you know the name of the widget that is not working, use the \"Reset\" option. If you do not know which widget is failing, use the \"Reset All\" option. <strong>This will reset the widget to its initial, empty state.<\/strong><\/li>\n<\/ol><\/dd>\n\n<\/dl>","raw_excerpt":"A plugin that adds that ability to insert any PHP code into a sidebar widget.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/3089","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=3089"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/samsarin"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=3089"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=3089"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=3089"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=3089"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=3089"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=3089"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}