Problems with Layout inherit in theme.json
To scale to wideSize you need to enable the wide alignment on the child block(s). -The second code example is incomplete, perhaps that is why the width was not correct for the footer.
To scale to wideSize you need to enable the wide alignment on the child block(s). -The second code example is incomplete, perhaps that is why the width was not correct for the footer.
My VoodooPress site is a twentyten child theme. Has some pretty cool functions going on behind the scenes. But pretty much every post on the site is about things to do with a twenty ten child theme. For instance, the things you ask about: Working with thumbnails Adding image sizes etc. Hopefully you can find … Read more
Hard to say what your issue is without seeing more code, but I would bet that your issue will be resolved if you add this after inserting your post: do_action(‘save_post’, $post_ID, $post); WordPress uses this action to flush cache, rewrite rules, etc. Make sure to use the appropriate variables for $post_ID and $post, of course. … Read more
The filter term_links-post_tag passes … ‘<a href=”‘ . $link . ‘” rel=”tag”>’ . $term->name . ‘</a>’ … as its only argument. You could extract the term name, count the associated posts and return an empty string if there is only one post. the_tags() will not print it then. Very hackish, maybe someone else will find … Read more
OK, I figured it out. It took a bit of digging and many bad suggestions. The solution is actually quite simple. Just replace this in your theme files: Where you have this: <div class=”comments”> <?php comments_template(); ?> </div> Replace it with this: <div class=”comments”> <?php if ( comments_open() ) : ?><br /><p><br /><?php comments_template(); ?><br … Read more
I’m not sure why, but for some reason you have to use include() or require() inside form(), instead of include_once() and require_once(). I’m guessing that form() is being called multiple times, and so the external view file only gets included the first time. include_once() and require_once() will work fine inside widget(), but it’s still better … Read more
Depending on how Canvas calls in those files, you might not be able to do this. If they’re using locate template or something similar (get_template_part, for instance), you’ll just need to create your own includes folder in the child theme and name the files the same as their couterparts in the parent theme. If the … Read more
Checkout these plugins: http://wordpress.org/extend/plugins/scissors/screenshots/ http://wordpress.org/extend/plugins/easy-image-crop/ http://wordpress.org/extend/plugins/nextgen-image-cropper/
Rather than using next_posts_link and previous_posts_link, try paginate_links. It lets you specify the current page and total page count. For example: echo paginate_links( array( ‘base’ => add_query_arg( ‘cpage’, ‘%#%’ ), ‘format’ => ”, ‘prev_text’ => __(‘«’), ‘next_text’ => __(‘»’), ‘total’ => ceil($total / $items_per_page), ‘current’ => $page ));
Check your template file from your theme. There may be some widgets being added in there manually if no other widgets are enabled. If that’s the case modify the conditional statement in your sidebar template so your widgets are output after the defaults set there. @s_ha_dum basically got to the bottom of it.