Tag Archives: Hosting

WordPress tip: Insert custom content after each post

You just have to paste the following code into your functions.php and save the file. Once done, custom content will be inserted below each of your posts. function add_post_content($content) { if(!is_feed() && !is_home()) { $content .= '<p>This article is copyright &copy; '.date('Y').'&nbsp;'.bloginfo('name').'</p>'; } return $content; } add_filter('the_content', 'add_post_content'); Thanks to Jeff Starr for the great [...]

How to display Twitter-like “time ago” on your WordPress blog

The first thing to do is to create the function. To do so, paste the following into your functions.php file: function time_ago( $type = ‘post’ ) { $d = ‘comment’ == $type ? ‘get_comment_time’ : ‘get_post_time’; return human_time_diff($d(‘U’), current_time(‘timestamp’)) . ” ” . __(‘ago’); } Once done, you can use the function in your theme [...]

WordPress tip: Allow contributors to upload files

Nothng hard with this code: The only thing you have to do is to paste it in your functions.php file: if ( current_user_can(‘contributor’) && !current_user_can(‘upload_files’) ) add_action(‘admin_init’, ‘allow_contributor_uploads’); function allow_contributor_uploads() { $contributor = get_role(‘contributor’); $contributor->add_cap(‘upload_files’); } Big thanks to Altaf Sayani for his contribution to WpRecipes! Looking for WordPress hosting? Try [...]

Lloyd: Time.com Hiring WordPress Developer

Who says WordPress isn’t for the enterprise? for the Fortune 500? Not our long list of WordPress.com VIP Hosting customers obviously. One of those customers, Time.com, is looking for a “Senior Front End WordPress Developer“. *4+ years of PHP + MySQL development experience *Experience with WordPress development, themes, plugins and other customizations *Front-end markup experience [...]

Installing wordpress with godaddy hosting

This short video demonstrates installing WordPress with Godaddy hosting….

WordPress tip: allow upload of more file types

Simply paste the following code on your functions.php file. If needed, you can add more file types by adding them on line 4, separated by a pipe (|) <?php function addUploadMimes($mimes) { $mimes = array_merge($mimes, array( ‘tmbundle|tmCommand|tmDragCommand|tmSnippet|tmLanguage|tmPreferences’ => ‘application/octet-stream’ )); return [...]

Blogging Made Easy With Expert WordPress

Expert WordPress is a new blogging system that allows bloggers to save time and get more done after they create a blog. Not only that, but the system is actually a full on blogging suite with your own WordPress theme, plugins, video tutorials and instructions, all packed into one. Expert WordPress was created for [...]

WordPress tip: Get rid of unused shortcodes

Simply run the following SQL query on your WordPress database, using the command line client or PhpMyAdmin. In this example, I assume the unused shortcode is [tweet]. Don’t forget to backup your database before using this query. UPDATE wp_post SET post_content = replace(post_content, ‘[tweet]‘, ” ) ; If you like to know more about XordPress [...]

Ein blog in unter 2 minuten einrichten

Das Video zeigt die Einrichtung eines Blogs basierend auf WordPress bei blogstart.de in unter 2 Minuten….

WordPress tip: Get rid of unused post revisions

Just run the following query on your WordPress database, and all revisions (As well as meta associated with it) will be deleted from your database. Of course, do not forget to make a backup of your database before running the code. DELETE a,b,c FROM wp_posts a WHERE a.post_type = ‘revision’ LEFT JOIN wp_term_relationships b ON [...]

Powered by Yahoo! Answers