Problems with a custom meta_box

You are not including any previously set values in the input field. $value = get_post_meta($post_id->ID,’event-link’,true); <input type=”text” style=”padding:10px;” value=”‘.$value.'” name=”event-link”/> Note that the meta box callback get a post object not just an ID. Additionally, you are not saving your fields at all. Instead you are saving either 1 or 0. If you want to … Read more

Additional Sidebar

Your function seems fine and it’s probably hooked on init : add_action(‘init’,’blankslate_widgets_init’) function blankslate_widgets_init() { //code } But in your theme you probably want to add some checking : <?php if (is_active_sidebar(‘left-sidebar’)) dynamic_sidebar(‘left-sidebar’); ?> I would use left-sidebar instead left_sidebar as sidebar ID perhaps.

Category page with gallery for each post

install an image gallery plugin like this one http://wordpress.org/plugins/image-gallery-reloaded/ and have a gallery set in each of your posts, then edit your theme’s category template and have a look at the loop, if it uses the_excerpt() then you have to alter it to the_content(). This way, you will have a gallery list in the category … 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() )

WordPress two sidebar layout or theme

In your “Blank Slate” starter theme: STEP I: Open the functions.php and find the word: “register_sidebar”. Inside the blankslate_widgets_init() function, paste the following codes just after the register_sidebar() ends, but inside the blankslate_widgets_init() function (before closing second braces – ‘}’): register_sidebar( array ( ‘name’ => __(‘Left Widget Area’, ‘blankslate’), ‘id’ => ‘secondary-widget-area’, ‘before_widget’ => ‘<li … Read more

spacing disappears on posts when importing

As Sven noted in the comment, your theme doesn’t have any spacing after paragraphs. It’s actually set to no space between paragraphs on line 797 of your style.css. If you were to change that line and the one above it so the last numbers in each line were 10px and 1rem, you’d have fairly default … Read more