Trying to display stick or featured post on homepage

Try this. It should work <?php $args = array( ‘post__in’ => get_option(‘sticky_posts’), ‘showposts’ => 1, ‘orderby’ => date, ‘order’ => ‘desc’ ); $sticky = new WP_Query( $args ); if ( $sticky->have_posts() ): while ( $sticky->have_posts() ): $sticky->the_post(); echo the_title(); endwhile; endif; wp_reset_query(); ?>

Count > 1 Navigation Slider

This is a basic PHP error, you need to turn on debugging. $count_slider is an Object and not an Integer which is what you are checking for, since you seem to want to compare published posts anyhow , write it like: <?php if($count_slider->publish > 1)

how to remove user name and date in post page

I think you could use child theme to use Pinboard theme as parent theme and make your small changes by modifying specific templates such as page.php, single.php, etc. This would allow you to modify Pinboard theme without hard coding it and if the theme is updated you can update without losing your modifications.

Add class name of content, Hypernate doesn’t work to IE and Chrome

While inserting js directly in header.phpcan work it’s not recommanded to do that. You’d better add your scripts to the WordPress queue: function wpse_109879_insert_hyphenator() { wp_register_script(‘hyphenator’, ‘https://raw.github.com/bramstein/hypher/master/dist/jquery.hypher.js’, array(‘jquery’), null , false); wp_enqueue_script(‘hyphenator’); } add_action(‘wp_enqueue_scripts’,’wpse_109879_insert_hyphenator’); Regarding CSS you probably use the wrong class, you can try .single-post or .single EDIT: I see you use raw script. … Read more

Body text disappearing in random posts

First you should update your WordPress to 3.6. And then after that, make sure that the post is actually “published”, and visible to the public. If a post get’s set to “private” it won’t display unless a user with permission to alter the post is logged in. It’s a hard problem to diagnose without seeing … Read more

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() )

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