This is a PRIVATE forum for verified users only, to view all replies/answers, you must be logged in!
- This topic has 17 replies, 3 voices, and was last updated 5 y, 10 mo by
Jacob.
- AuthorPosts
- May 19, 2015 at 8:52 am #9431
Hi and firt of all thanks for this amazing theme !
I have just changed my old website template and I have these issues :
1. One of my thumbnail is not at the righ dimensions, even after regenerate it. See the screen shot attached.
2. I have put some code on the Ad settings but they are not displayed.Thanks by advance.
Ben
- May 19, 2015 at 8:56 am #9432
With the file
- May 19, 2015 at 9:41 am #9435
Hey there, You must be logged in to view this reply!
- May 19, 2015 at 1:15 pm #9462
- May 20, 2015 at 3:01 am #9472
For the ads, I finally see them with Firefox but not chrome.
And the first bloc on each blog post overlaps a portion of the text.
(see the attachment).To finish, all my settings concerning the background color (header and footer) are not taken into account.
Thanks for our help
- May 20, 2015 at 5:49 pm #9485
Hey there, You must be logged in to view this reply!
- May 20, 2015 at 11:26 pm #9490
Hi,
Thanks for the css, it works. But is it possible to resize automatically the thumbnails, I want them to have all the same size.
For the ad, they are at a different position but still overlaping the content and the sidebar on the right.
Have you something about my styling problem ?
Thanks,
Ben. - May 21, 2015 at 5:35 pm #9515
Hey there, You must be logged in to view this reply!
- May 22, 2015 at 1:24 am #9541
I have replaced the code as mentionned in content.php (in the child theme), but now I don’t have thumbnail anymore !
And so for the ad what could I do concretely ?
Thank you
- May 24, 2015 at 12:01 pm #9580
Hey there, You must be logged in to view this reply!
- May 24, 2015 at 12:07 pm #9584
Here is my code :
<?php /** * @package wpthms */ $format = get_post_format(); if( false === $format ) $format = 'standard'; $formats_meta = yt_get_post_formats_meta( get_the_ID()); $excerpt = get_the_excerpt(); $excerpt = wp_trim_words( $excerpt, 15, '...'); $output_excerpt = sprintf('<p style="margin:0;">%s</p>', $excerpt ); $readmore_content = 'show' == yt_get_options( 'blog_readmore_button' ) ? '<p><a class="more-tag btn btn-default btn-lg margin-top-15" href="'. get_permalink( get_the_ID() ) . ( 'manual' == yt_get_options( 'excerpt_output' ) ? "#more-" . get_the_ID() : '' ) . '"> ' . __('Read More...','wpthms') . '</a></p>' : ''; /*Rating*/ $rating_content = ''; if( 'show' === yt_get_options( 'blog_post_review_info' ) && function_exists( 'wp_review_show_total') ){ $rating = wp_review_show_total(false, 'review-total-only review-mark inline-block'); if( $rating ) $rating_content = '<div class="inline-block">' . sprintf(__('Rating: %s', 'wpthms'), $rating ) . '</div>'; } if(class_exists( 'YT_Post_Helpers') ) YT_Post_Helpers::$listed_post[] = get_the_ID(); ?> <article id="post-<?php echo esc_attr( get_the_ID() ); ?>" <?php post_class('custom-hentry'); ?>> <?php do_action( 'yt_before_archive_post_entry_header' );?> <header class="entry-header article-header"> <?php do_action( 'yt_archive_post_entry_header_start' );?> <?php if ( has_post_thumbnail('medium') && get_the_post_thumbnail('medium') && ! post_password_required() ) : ?> <a href="<?php echo esc_attr( get_permalink() ); ?>" rel="bookmark" title="<?php echo esc_attr( get_the_title() ); ?>"><?php the_post_thumbnail( 'post-thumbnail'); ?></a> <?php endif; ?> <?php do_action( 'yt_archive_post_entry_header_end' );?> </header><!-- .entry-header --> <?php do_action( 'yt_before_archive_post_entry_content' );?> <?php if ( is_search() ) : // Only display Excerpts for Search ?> <div class="entry-summary margin-bottom"> <?php the_excerpt(); ?> </div><!-- .entry-summary --> <?php else : ?> <div class="entry-content article-content"> <?php do_action( 'yt_archive_post_entry_content_start' );?> <h2 class="entry-title secondary-2-primary"><a href="<?php echo esc_attr( get_permalink() ); ?>" rel="bookmark" title="<?php echo esc_attr( strip_tags( get_the_title() ) ); ?>"><?php the_title(); ?></a></h2> <?php echo $output_excerpt; if( !is_search() && 'hide' !== yt_get_options( 'blog_post_meta_info_mode' )): ?> <div class="entry-meta hidden-print hidden"> <span class="byline"> <span class="author vcard"> By <a class="url fn n" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author"> <?php echo esc_html( get_the_author() ); ?> </a> </span> </span> <span class="posted-on"> <?php $time_string = '<time class="entry-date published ' . ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ? '' : 'updated' ) . 'pull-left" datetime="%1$s">%2$s</time>'; if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) $time_string .= '<time class="updated hidden" datetime="%3$s">%4$s</time>'; $time_string = sprintf( $time_string, esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ), esc_attr( get_the_modified_date( 'c' ) ), esc_html( get_the_modified_date() ) ); echo $time_string; ?> </span> </div><!-- .entry-meta --> <?php endif; echo $rating_content; // echo $readmore_content; ?> <?php do_action( 'yt_archive_post_entry_content_end' );?> </div><!-- .entry-content --> <?php endif; ?> <?php if ( current_user_can('edit_post', get_the_ID()) ) {?> <footer class="entry-meta"> <?php edit_post_link( __( '—Edit', 'wpthms' ), '<span class="edit-link">', '</span>' ); ?> </footer><!-- .entry-meta --> <?php }?> </article><!-- #post-<?php the_ID(); ?>## -->
- May 27, 2015 at 7:25 pm #9628
Hey there, You must be logged in to view this reply!
- May 31, 2015 at 2:55 am #9709
Ok thanks.
they now have the same width. Possible to have the same height also (same thing on the mega menu) ?
Cheers - June 1, 2015 at 6:21 pm #9761
Hey there, You must be logged in to view this reply!
- June 3, 2015 at 12:16 pm #9789
It’s not working 🙁
- June 7, 2015 at 5:06 pm #9878
Hey there, You must be logged in to view this reply!
- June 7, 2015 at 5:17 pm #9882
Here is my custom fonctions code :`
add_action( 'yt_after_loop_singular_post', 'add_my_sharing_buttons_to_end_of_post_08112014' ); function add_my_sharing_buttons_to_end_of_post_08112014(){ $styles = apply_filters( 'yt_site_social_sharing_services_styles', array( 'style' => 'color', 'size' => 'large' ), 'style2' ); yt_site_social_sharing_buttons( $styles, array(), $class = 'sparkle-sharrre-buttons'); } add_filter( 'yt_site_dynamically_external_stylesheet', '__return_false' );
- June 8, 2015 at 9:18 am #9894
Hey there, You must be logged in to view this reply!
- AuthorPosts
- You must be logged in to reply to this topic.
This is a PRIVATE forum for verified users only, to view all replies/answers, you must be logged in!