tango
Forum Replies Created
-
Forum: Plugins
In reply to: The Best E-Commerce Plugin for WP3there is also this new entry: http://cart66.com/ (evolution of phpurchase), but did nt tried
Forum: Plugins
In reply to: IEEE bibtex-keys errorDear Berny,
can you send me an example of the generated/not valid XHTML?
Thanks, Sergio
Forum: Plugins
In reply to: how to show a future post from single.php templatefound the solution from another post. In query.php (line 1284), change:
if ( ('publish' != $status) ) { if ( ! is_user_logged_in() ) {to
if ( ('publish' != $status) ) { if ('future' == $status) {$this->is_preview = true;} else if ( ! is_user_logged_in() ) {Forum: Fixing WordPress
In reply to: 404 and Explorer on future postsI found the reason of this behaviour. It seems that future posts cannot be showed until they are present or past.
Logged users can see them and since I was logged on firefox, I could see them.
Now the problem changes in how I can modify a template in order to show also future posts.
Forum: Fixing WordPress
In reply to: 404 and Explorer on future postsI’m getting some clue about the possible problem from here:
http://wordpress.org/support/topic/96990?replies=7it seems that future posts are not allowed to be seen. Nevertheless, I can see them on firefox…
Still investigating…
Forum: Plugins
In reply to: wp_register_script and wp_enqueue_scriptThis is what I understood and that works for me:
in the plugin module, add something like:
function myplugin_init() {
if (function_exists(‘wp_enqueue_script’)) {
// for lirabries part of wordpress
wp_enqueue_script(‘jquery’);
// for new libraries
wp_register_script(‘my_js_lib’, get_bloginfo(‘wpurl’) . ‘/wp-content/plugins/mypling/js/my_js_lib.js’, array(‘dep if any’), ‘version’);
wp_enqueue_script(‘my_js_lib’);
}
}add_action(‘init’, ‘myplugin_init’);