How can I make the Twitter Tools plugin hyperlink every link?

Never used this plugin. WordPress has a function called make_clickable() which might help you. Example: $string = “This is a long text that contains some links like http://www.wordpress.org and http://www.wordpress.com .”; echo make_clickable($string); Output: This is a long text that contains some links like <a href=”http://www.wordpress.org” rel=”nofollow”>http://www.wordpress.org</a> and <a href=”http://www.wordpress.com” rel=”nofollow”>http://www.wordpress.com</a> .

Issues with Post 2 Post Plugin

Your error message is discused at this site: http://old.support.advancedcustomfields.com/discussion/5953/declaration-of-acf_taxonomy_field_walkerstart_el/p1 in short they fixed a bug in the addon: wp-content/plugins/advanced-custom-fields/core/fields/taxonomy.php row/line 419: function start_el( &$output, $term, $depth, $args = array(), $current_object_id = 0) wp-content/plugins/advanced-custom-fields/core/fields/taxonomy.php row/line 442: function end_el( &$output, $term, $depth = 0, $args = array() )

Add Sort Link in Custom Post Type List

Already got it: add_action( ‘views_edit-post’, ‘remove_edit_post_views’ ); function remove_edit_post_views( $views ) { $views[‘pre’] = ‘<a class=”‘.$class.'” href=”‘.admin_url().’edit.php?yourlink”>Name of Sort</a>’; return $views; } Thanks!

Advanced Custom Field User Help URL

I have this exact thing working on a current project. Here’s the code: <div class=”photo-feature” style=”background: url(<?php the_field(‘the-image’, $page->ID) ;?>) no-repeat center center; “></div> Keep in mind a couple of things: You may need to use $post->ID or $page->ID if you’re using a custom query. Make sure you’re not overriding your background CSS anywhere else … Read more

Posts2Posts, wp_query and orderby issue

I don’t have any experience with posts2posts, but to see the query that wp_query runs on your database, before your if statement, put echo $new_connected->request. Helped me a lot to debug wp_query when I couldn’t find out which parameters weren’t working. The output is the SQL query that will be performed on the DB. Therefor … Read more

Getting error of unexpected output during activation

You have the same username as the plugin author? o.O The error comes from line 444: There’s two characters between ?> and the next <?php Change: add_action( ‘admin_menu’,’business_hours_menu’ ); ?> <?php add_action( ‘widgets_init’, ‘lordlinus_businesshour_load’ ); To: add_action( ‘admin_menu’,’business_hours_menu’ ); add_action( ‘widgets_init’, ‘lordlinus_businesshour_load’ );

Custom Post Type children and grand-children in one list

When i lost track with all the crappy code, i decided to start all over 🙂 And so i found the solution: <?php // Define variables $post_type=”file”; $taxonomy = ‘file-category’; $taxonomy_terms = get_terms($taxonomy); global $current_page_id; $current_page_id = get_the_ID(); // Start if if ($taxonomy_terms) { // Start Foreach foreach ($taxonomy_terms as $taxonomy_term) { // Start arguments … Read more