ryanlerch
Forum Replies Created
-
A quick test shows that you just need to add ‘revisions’ in the supports list in wp-knowledgebase/articles/kbe_articles.php file in the extension. For example, change:
'supports' => array('title','editor','thumbnail','comments','tags'),
to
'supports' => array('title','editor','thumbnail','comments','tags','revisions'),
A quick test shows that enabling this in the custom post type in the extenstion works correctly, tracking revisions as with the default post type.
Forum: Themes and Templates
In reply to: [Baskerville] INfinite Scroll for Baskerville?I followed the directions to add the infinite scroll, but it does not seem to be working. This is what I added in an attempt to make it work:
function baskerville_setup() { // Automatic feed add_theme_support( 'automatic-feed-links' ); + + // infinite scroll + add_theme_support( 'infinite-scroll', array( + 'container' => 'content', + ) ); // Post thumbnails add_theme_support( 'post-thumbnails' ); add_image_size( 'post-image', 945, 9999 ); add_image_size( 'post-thumbnail', 600, 9999 );But it is not working on the main page (the masonry layout of posts). When I have set this up on other themes, adding this code caused the nav at the bottom of the posts (Older/Newer posts) disappears, but that doesnt seem to be happening (as well as jetpack infinite scroll not working)
Does Baskerville use a different way of rendering these post items that i need to plug into the “render” parameter of the infinite scroll feature?