Publishing videos and images from blog to facebook

That feature has been removed from Facebook: http://www.facebook.com/help/?faq=277347965620183 You could write a script that would log in as the user and post stuff, but that would be violating the Facebook terms of use. Or you could do it the other way around. Post the stuff on Facebook, and have your WordPress site grab the data … Read more

Getting label name of extra user fields

Context: http://wordpress.org/extend/plugins/extra-user-fields/ Author URL: http://www.feweb.net/wordpressplugin_extrauserfields.htm Mentioned Functions: http://codex.wordpress.org/Function_Reference/the_author_meta http://codex.wordpress.org/Function_Reference/get_user_meta If you can already get the label BUT it comes with the input, and you are doing this in PHP, then do this: <?php # … # Your code which produces the input + label data into $data # … $document = new DOMDocument(); $document->loadHTML( $data … Read more

How do i use postMash to order posts in a custom loop?

That plugin is 3 years old. I’m not sure if it uses the menu_order column to set the order but if it does you can filter pre_get_posts or your custom query with: ‘orderby’ => ‘menu_order’, ‘order’ => ‘ASC’ This would all have to be done before the $post object is added to the $events array … Read more

Thumbnails and Lightbox

Thank you Jeremy Jared. I applied the following solution, based on yours ( Any good lightbox-like option that works in WP 3.2.1? ) First of all, now I call my thumbnail with the following code instead of trying to add the link myself: wp_get_attachment_link(get_post_thumbnail_id(), ‘thumbnail’); Then, I add your filter in function.php /************************* * Lightbox … Read more

Modify plugin and submit to directory

It depends on the license of the source plugin. In case you’ve downloaded that plugin from WordPress Plugins Directory, then you can modify and upload it as it inherits the GPLv2 license of WordPress itself or GPLv2-compatible license of the modified plugin. Here are some guidelines. Also, it’s polite to mention the original author (“Inspired … Read more

Vote It Up Plugin – Add ascending numbers to MostVotedAllTime Chart Function

Use this: function MostVotedAllTime_Widget() { $a = SortVotes(); //Before ?> <div class=”JibbleChart”> <div class=”title”>Most Recommended Albums</div> <?php $rows = 0; //Now does not include deleted posts $i = 0; while ($rows < get_option(‘voteiu_widgetcount’)) { if ($a[0][$i][0] != ”) { $postdat = get_post($a[0][$i][0]); if (!empty($postdat)) { $rows++; if (round($rows / 2) == ($rows / 2)) { … Read more