Cannot get media type from ‘x-mapp-php5’
Comment out the lines and give it a try 😉 #AddType x-mapp-php5 .php #AddHandler x-mapp-php5 .php
Comment out the lines and give it a try 😉 #AddType x-mapp-php5 .php #AddHandler x-mapp-php5 .php
You could use the WP-Table-Reloaded Plugin: http://wordpress.org/extend/plugins/wp-table-reloaded/ Screenshots are on the plugin author’s website: http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/
Firstly, the ‘future’ status is for posts that are not yet published and should not be used to mark events that occur in the future. (I would recommend storing the event’s data in the post meta, and then query/order by that post meta field. See this question and this question) Secondly, in your code you … Read more
The problem with ‘save_post’ is that it gets called when you actually change something on the post edit page, if you just click the update button without changing anything, it doesn’t get called. So, i would say use ‘pre_post_update’ action hook instead of ‘save_post’ or use both. Also for debugging try put some test code … Read more
You can do that via the database but you should be carful and backup the database befoure any changes are done first here is a link to md5 encoder (youll need it): MD5 Encoder Hope this help… Sagive
once you have set of result in particular order you can achieve it simply as below : – $pageposts=$wpdb->get_results(” SELECT * FROM $wpdb->posts WHERE post_type=”post” AND post_status=”publish” ORDER BY post_date DESC LIMIT 6 “, OBJECT); First time $i=1; foreach($pageposts as $pageposts_first){ //here goes your first post if($i==1) break; } For rest of posts $i=0; foreach($pageposts … Read more
In your theme’s functions.php: /* Returns a “Continue Reading” link for excerpts, with ‘nofollow’ set */ function your_theme_continue_reading_link() { return ‘ <a href=”‘. get_permalink() . ‘” rel=”nofollow”>’ . ‘<span class=”meta-nav”>→</span> Continue reading</a>’; } /* Replaces “[…]” (appended to automatically generated excerpts) */ function your_theme_auto_excerpt_more( $more ) { return ‘ …’ . your_theme_continue_reading_link(); } add_filter( ‘excerpt_more’, … Read more
You can use jQuery $(‘<div id=”your_div”></div>’).insertAfter(‘#sidebar_container_id’); Documentation
This will output a list of all tags, sorted by the most used tag first. Each tag has the number of times it has been used following the tag in parentheses. The parentheses and number of times used is in a <span>. To remove the parentheses, change <span>(‘ . $tag->count . ‘)</span> to <span>’ . … Read more
the ‘login’ menu button points to a page – to execute php code in pages you need a plugin such as the ‘exec-php’ plugin or similar. in the meantime use http://www.spiritualresponse.com/wp-login.php to login