Internal linking search box not working – WP 3.2
Looks like this was caused by the WP-o-Matic plugin which my client was using.
Looks like this was caused by the WP-o-Matic plugin which my client was using.
I believe what you are looking for is the get_terms function. I found it looking at the code for wp_tag_cloud, here is the source of the function. This little snippet should get you what you are wanting. $terms = get_terms(“characters”); if ( empty( $tags ) || is_wp_error( $tags ) ) return; foreach ( $terms as … Read more
Got it! The key was a custom callback on wp_list_comments. Here’s the snippet of code I used within my comments: <?php if (defined(“STARRATING_INSTALLED”)) : ?> <div class=”rating” style=”float: right”> <?php wp_gdsr_comment_integrate_standard_result(get_comment_ID()); ?> </div> <?php endif; ?>
I’ve used jpaging before which is simple ,easy and highly customizable.
I think the problem is with your form tag missing enctype=”multipart/form-data” so try changing: <form method=”post” action=””> to: <form method=”post” action=”” enctype=”multipart/form-data”> and as a side note, if you want to redirect to the newly created post change: wp_redirect( ‘http://domain.com’ ); to: wp_redirect( get_permalink($post_id)); exit(); Update: From the comments i understand that want the image … Read more
Maybe scribu‘s Front end Editor would be an easy way to update your website if your client finds the WP admin to be “confusing and difficult“. But also bare in mind that the admin is customizable through admin themes, as well as various scripts and plugins. To cite only one plugin, try Adminimize, it will … Read more
Within your blog.php file you need to declare <?php wp_head(); ?> without this the loop will not work and only so many items within $post will be available to you.
I would use wp_get_object_terms which will return an array of object terms that you can manipulate. You also have a little more control with sorting the terms. <?php $terms = wp_get_object_terms($post->ID, ‘work’, array(‘orderby’ => ‘name’, ‘order’ => ‘ASC’)); if(is_array($terms)) : ?> <ul> <?php if(isset($terms[0])) : ?><li><a href=”https://wordpress.stackexchange.com/questions/22940/<?php echo get_term_link($terms[0]); ?>”>Find out more about <?php echo … Read more
Try changing ‘labels’ to an array arg, and passing that. Also, check for syntax: $labels => array( ‘name’ => _x( ‘Seminar Types’, ‘taxonomy general name’ ), ‘singular_name’ => _x( ‘Seminar Type’, ‘taxonomy singular name’ ), ‘search_items’ => __( ‘Search Seminar Types’ ), ‘popular_items’ => __( ‘Popular Seminar Types’ ), ‘all_items’ => __( ‘All Seminar Types’ … Read more
The problem is that your call to query_posts is overwriting the original query for the page. You have to get the original query, then modify any params from there. global $query_string; // start with the original query $myquery = wp_parse_args($query_string); // make any changes to the query here $myquery[‘posts_per_page’] = 9; query_posts($myquery);