I read on the installation tab on how to make the widget work on other places than the sidebar, and so I went to one of my pages and pasted this into the page using the HTML-option:
<?php // Defining widget options. $args = array( 'display_thumbnail' => 'no', 'widget_title_hide' => 'yes', 'post_limit' => 9999, 'category_include' => 1 ); // Function call. special_recent_posts($args); ?>
When I do that, though the only part thing that shows up on the page is this in plain text:
‘display_thumbnail’ => ‘no’,
‘widget_title_hide’ => ‘yes’,
‘post_limit’ => 9999,
‘category_include’ => 1
// Function call.
Am I adding the code in wrong, or am does it just not work?
Thanks for making such an easy to use and very important widget! I’m hoping for a response.
- The topic ‘Adding widget to non-widget based area not working’ is closed to new replies.