Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
657
Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
657
Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
658
Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in
/home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line
658
skat
Warning: Attempt to read property "supported_until" on string in
/home/skattf/public_html/wp-content/themes/helpdesk/core/libraries/vendors/bbpress/init.php on line
109
Hi there,
1. You’ll need to change the file named “content.php” located in the theme’s folder > framework > inc > post-formats and replace line 20 this:
with this:
<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('blog-thumbs'); ?></a>
To add a more link you’ll need to add this in the “functions.php” file:
function sd_excerpt_more( $more ) {
return ' <a class="more-link" href="'. get_permalink( get_the_ID() ) . '">' . __('Read More', 'sd-framework') . '</a>';
}
add_filter( 'excerpt_more', 'sd_excerpt_more' );
Then edit the file named “content.php” from above and replace line 27 this:
<?php the_content( __( 'Read More', 'sd-framework' ) ); ?>
with this:
<?php the_excerpt(); ?>
2. It’ll need some modifications. You can duplicate the file named “trainers-page.php”. Change line 3 from:
Template Name: Page: Trainers
to:
Template Name: Page: Your custom title
Now, replace all the occurrences of:
trainers_filter
with:
class_category
Now, on line 39 replace this:
wcs3_instructor
with this:
wcs3_class
Save. Done.
Now you can set up a page using the above template.
3. In the “header.php” file starting at line 166 you can replace this:
<?php if ( !is_front_page() ) : ?>
<?php get_template_part( 'framework/inc/page-top' ); ?>
<?php endif; ?>
with something like this:
<?php if ( !is_front_page() || !is_page( '42' ) ) : ?>
<?php get_template_part( 'framework/inc/page-top' ); ?>
<?php endif; ?>
Where 42 is the id of the page you don’t want to display the header on.
4. Unfortunately that is not possible without some heave modifications in the styling.
Cheers!
Chris