When I add the code to post an amazon ad or collection of ads in a text sidebar widget it just shows as text and doesnot get processed. Is there a way to get it to prcess like it does in a post?
When I add the code to post an amazon ad or collection of ads in a text sidebar widget it just shows as text and doesnot get processed. Is there a way to get it to prcess like it does in a post?
First get Exec-php plugin. This will allow you to run php from the sidebar without any special widgets.
Use the text widget. Add the code inside
<?php your ASA code; ?>
such as:
<?php asa_collection ('mybooks');?>
i'm struggling to get any templates to work other than collection_sidebar_default
i've used the following code:
<?php asa_collection ('mybooks', 'my_template');?>
obviously with the name of my template in place of my_template, but no joy. if i remove the file collection_sidebar_default.htm from the server nothing shows at all.
any ideas?
You must log in to post.