Hi,
I recently installed the Newspaper theme on my blog (http://www.duperrin.com/english/) and everything works fine except that the featured image is not displayed on single posts. I only get an empty placeholder.
I’d like to fix this befor I remove the images from the post body to avoid duplicate images but nothing I tried (including regenerating thumbnails) worked.
I have “sister blog” supposed to be identical except the language (http://www.duperrin.com) and everything worked fine there. I doubled checked all my settings, they’re the same.
Any help would be appreciated.
Thanks.
Bertrand
Thank you for a wonderful response. Would it be difficult to use an image as the background? I would like to use the same placeholder image that you use on style4.
I apologize, I have tested it with Gallery set and all have a featured image. I am guessing there is supposed to be the featured image at the top of the post itself? I may have hidden it and I have such a long amount of custom CSS that i need to clean up. Maybe if you can help and see if it is in here so I can remove it that would be awesome!
.td-a-rec-id-sidebar {
margin-bottom: 26px !important;
}
.td_mod6 {
margin-bottom: 5px !important;
}
.post {
position: relative;
padding-bottom: 16px !important;
-ms-word-wrap: break-word;
word-wrap: break-word;
}
.next-prev {
padding-bottom: 11px !important;
display: none !important;
}
.widget_text {
margin-bottom: 10px !important;
}
div.gallery {
width: 100% !important;
}
div.gallery .gallery-item *{
position: relative !important;
width: 100% !important;
left: 0px !important;
margin-left: 0px !important;
margin-right: 0px !important;
padding: 0px !important;
}
.similar-articles {
padding-bottom: 0px !important;
}
.td_mod2 .meta-info, .td_mod5 .meta-info, .td_mod6 .meta-info {
margin: 2px 0px 22px 0px !important;
}
#ssWidget2797 .ssWidgetTitle strong {
display: block;
height: 0px !important;
line-height: 27px;
font-weight: inherit;
}
.single .page-nav-post {
text-align: center;
}
.single .page-nav span {
min-width: 20px;
min-height: 25px;
font-size: x-large;
}
.ss_item_sb img {
width: 326px !important;
height: 145px !important;
border: 0px solid #D7D7D7;
padding: 2px;
}
#ss_wrapper_sb .ss_link_txt_sb:hover {
color: #333333 !important;
text-decoration: underline !important;
}
#ss_wrapper_sb .ss_link_txt_sb {
color: #333333;
display: block;
font-family: 'Roboto Condensed',sans-serif;
font-size: 21px;
letter-spacing: inherit;
text-decoration: underline;
text-transform: none;
}
.td-social-like-tweet {
margin-bottom: 22px !important;
}
.td-social-sharing {
margin-bottom: 10px !important;
}
.td_mod2 .meta-info, .td_mod3 .meta-info, .td_mod5 .meta-info {
display: none;
}
.header-search-wrap {
display: none;
}
.page-nav-post {
padding: 0px;
margin-bottom: 0px !important;
}
@media (max-width: 767px){
.td-header-bg .header-style-3 .td-logo img {
position: fixed;
top: 3px;
z-index: 3;
width: 180px;
height: 48px;
}
.td-menu-placeholder .td-affix {
height: 48px;
z-index: 2 !important;
position: fixed !important;
}
.container-fluid {
padding: 0 15px !important;
}
.row-fluid .span4 {
margin-left: 1.20% !important;
}
@media (min-width: 1200px)
.row-fluid .span8 {
width: 68.174129353234% !important;
}
#ssWidget2198 .ssWidgetTitle strong {
display: none;
height: 0px;
line-height: 27px;
font-weight: inherit;
}
.top-header-menu, .td-header-menu-wrap .menu-post-and-page-settings-container .menu { margin: 0px 0px 0px 0px !important
}
.td-header-menu-wrap .menu-top-container {
float: left;
}
And if its not in there, what file its in and the line so I can see if I may have manually removed it?
-
This reply was modified 11 years by
sbo.
Hi,
Sorry for the delay! Do you still have this issue? I have checked your site and haven’t found the placeholder image: http://screencast.com/t/CDSmguvHl7f
Please let me know!
Thanks
My featured image placeholder won’t allow me to disable it.
Example page:
http://theviralera.com/these-8-selfies-were-taken-moments-before-death-4-really-hit-me-hard/
Thank you.
Hi,
Looks like the image placeholder it’s searched at the path you’ve sent http://www.wallstreetscope.com/wp-content/themes/Newspaper/images/no-img-post.png but nothing is found there: http://screencast.com/t/QMLtDpRxb6P2
I have also tested this and should work fine: http://screencast.com/t/XqTkBNeFl
First please make sure you have enabled the featured image placeholder from theme panel, like this: http://screencast.com/t/BnJrHl8RU
This is the path that the placeholder will load from: http://screencast.com/t/FkEMsNZr3 so please make sure you have no-thumb folder in the images folder within your theme files: http://screencast.com/t/KGSaxIBBX
If still you can’t see the placeholder please make sure you deactivate all plugins, empty cache and purge files if you use any cache and/or CDN plugins and check again.
Thanks
All other icons will load on the page, the placeholder will load, but when you go to a category page it won’t. I’ve even changed the image through ftp to another and it doesn’t work. When trying to see the image I get an error 404
http://www.wallstreetscope.com/wp-content/themes/Newspaper/images/no-img-post.png
Any ideas?
Hi all,
Yesterday we managed to migrate our old theme to newspaper.
http://www.musiccorner.gr
Everything looks great but i have 3 small issues.
1. Between the header menu i put a single line which created with the following css code (i found this code from an answer here in forum)
.td-menu-placeholder .td-menu-header {
border-bottom: 2px solid black !important;
border-top: 2px solid black;
border-right: 0px solid black;
border-left: 0px solid black;
Checking the site through a mobile phone (NEXUS 5) i see a black line, in the upper level of the screen. I suppose that this is caused by the CSS????
2. Checking the site through a PC with screen resolution 1152×864, menu is breaking in two lines. I had to reduce the font size in order to fit into one line.
I thought that the responsiveness of the theme could avoid that to happen. Wrong?
3. Scrolling down the first page you wll find a bolock with 5 tabs (different categories).
Those tabs are changing every 5secs but i want to stop the responsiveness for this. Is this possible?
For developing reasons, also keep in mind that enabling Contact form 7 plugin i had the following issues:
Trying to enter o photo into a post through media gallery was not possible. It was tyrying to read the images with no result (blank page). Disabling the Contact form, everything was fine.
Revolution slider could not save a new slide (Ajax error was the message)
Thanks!
S.
Hi,
The http://cherrykoks.de/wp-content/themes/Newspaper/images/no-thumb/art-big-1col.png is the path fro the thumbnail placeholder, that image shows up when there is no images to show there.
Please deactivate all your plugins except those theme requires so this way you are sure that is no plugin conflict that generates this and then please make sure you add the video into the featured video field and regenerate thumbnails like this: https://forum.tagdiv.com/how-to-fix-strange-thumbnails/
If this doesn’t solve it please give us wp-access and send your user and pass at contact@tagdiv.com so we can check and also send a link to this topic.
Thanks
Hi,
You can find the function for the featured image here: http://screencast.com/t/dOPugsMUKmOZ
Thanks
Hello,
Where i can edit featured image placeholder function? (change default placeholder image, change size, etc…)
Hi Guys,
For my complete website (www.techplanet.nl) I am using the Module S to display the posts.
I found that a lot if the images don’t fit nicely. See here: http://goo.gl/JXziu9
How do I make these images fit? Or even better, how to change the image window from a square to something more rectangle (16:9 aspect ratio)? See http://goo.gl/JXziu9 in red
I don’t want the images to stretch to 16:9 but just want the image placeholder to have more width so the images in my illustration actually fit.
Hope you can help, thanks!
Okay I should’ve known not to include 2 questions.
My question is; why won’t my comment box show back up?
This is my comments.php
<?php
//removing the comments sidewide
if(td_util::get_option(‘tds_disable_comments_sidewide’) == ”) {?>
<div class=”comments” id=”comments”>
<?php if (post_password_required()) { ?>
<?php } else { ?>
<?php if (comments_open() ) { ?>
<div class=”comments-title-wrap”>
<?php
$num_comments = get_comments_number(); // get_comments_number returns only a numeric value
if ( $num_comments == 0 ) {
$td_comments_no_text = __td(‘NO COMMENTS’);
} elseif ( $num_comments > 1 ) {
$td_comments_no_text = $num_comments . ‘ ‘ . __td(‘COMMENTS’);
} else {
$td_comments_no_text = __td(‘1 COMMENT’);
}
?>
<h4 class=”block-title”><span><?php echo $td_comments_no_text?></span></h4>
</div>
<?php if (have_comments()) { ?>
-
<?php wp_list_comments( array( ‘callback’ => ‘td_comment’ ) ); ?>
<div class=”comment-pagination”>
<?php paginate_comments_links(); ?>
</div>
<?php } ?>
<?php } ?>
<?php
$commenter = wp_get_current_commenter();
if (empty($aria_req)) {
$aria_req = ”;
}
$fields = array(
‘author’ =>
‘<p class=”comment-form-input-wrap”>
<span class=”comment-req-wrap needsclick”><input class=”” id=”author” name=”author” placeholder=”‘ . __td(‘Name:’, TD_THEME_NAME) . ‘” type=”text” value=”‘ . esc_attr( $commenter[‘comment_author’] ) . ‘” size=”30″‘ . $aria_req . ‘ />’ . ( $req ? ‘</span>’ : ” ) .
‘</p>’,
’email’ =>
‘<p class=”comment-form-input-wrap”>
<span class=”comment-req-wrap needsclick”><input class=”” id=”email” name=”email” placeholder=”‘ . __td(‘Email:’, TD_THEME_NAME) . ‘” type=”text” value=”‘ . esc_attr( $commenter[‘comment_author_email’] ) . ‘” size=”30″‘ . $aria_req . ‘ />’ . ( $req ? ‘</span>’ : ” ) .
‘</p>’,
‘url’ =>
‘<p class=”comment-form-input-wrap needsclick”>
<input class=”” id=”url” name=”url” placeholder=”‘ . __td(‘Website:’, TD_THEME_NAME) . ‘” type=”text” value=”‘ . esc_attr( $commenter[‘comment_author_url’] ) . ‘” size=”30″ />’ .
‘</p>’,
);
$defaults = array(
‘fields’ => apply_filters(‘comment_form_default_fields’, $fields ),
);
$defaults[‘comment_field’] = ‘<div class=”clearfix”></div><p class=”comment-form-input-wrap”><textarea class=”needsclick” placeholder=”‘ . __td(‘Comment:’, TD_THEME_NAME) . ‘” id=”comment” name=”comment” cols=”45″ rows=”8″ aria-required=”true”></textarea></p>’;
$defaults[‘comment_notes_before’] = ”;
$defaults[‘comment_notes_after’] = ”;
$defaults[‘title_reply’] = __td(‘Leave a Reply’);
$defaults[‘label_submit’] = __td(‘Post Comment’);
$defaults[‘cancel_reply_link’] = __td(‘Cancel reply’);
comment_form($defaults);
//comment_form();
?>
<?php } ?>
</div> <!– /.content –>
<?php
}//end removing the comments sidewide
/**
* Custom callback for outputting comments
*
* @return void
* @author tagdiv
*/
function td_comment( $comment, $args, $depth ) {
$GLOBALS[‘comment’] = $comment;
$td_isPingTrackbackClass = ”;
if($comment->comment_type == ‘pingback’) {
$td_isPingTrackbackClass = ‘pingback’;
}
if($comment->comment_type == ‘trackback’) {
$td_isPingTrackbackClass = ‘trackback’;
}
if (!empty($comment->comment_author_email)) {
$td_comment_auth_email = $comment->comment_author_email;
} else {
$td_comment_auth_email = ”;
}
$td_article_date_unix = @strtotime(“{$comment->comment_date_gmt} GMT”);
//print_r($td_article_date_unix);
?>
<?php if ( $comment->comment_approved == ‘1’ ) { ?>
<li class=”comment <?php echo $td_isPingTrackbackClass ?>” id=”li-comment-<?php comment_ID() ?>”>
<article>
<footer>
<?php
//echo get_template_directory_uri() . “/images/avatar.jpg”;
//echo get_avatar($td_comment_auth_email, 50, get_template_directory_uri() . “/images/avatar.jpg”);
echo get_avatar($td_comment_auth_email, 50); ?>
<cite><?php comment_author_link() ?></cite>
</footer>
<div class=”comment-content”>
<?php comment_text() ?>
</div>
<div class=”comment-meta” id=”comment-<?php comment_ID() ?>”>
<?php comment_reply_link(array_merge( $args, array(
‘depth’ => $depth,
‘max_depth’ => $args[‘max_depth’],
‘reply_text’ => __td(‘Reply’, TD_THEME_NAME),
‘login_text’ => __td(‘Log in to leave a comment’, TD_THEME_NAME)
)))
?>
</div>
</article>
<?php
}
}
?>
The problem is Photon in Jet Pack. It RESIZES the image to the WRONG size for some unknown reason.
The Newspaper Featured Image Placeholder feature is not compatible with Jet Pack’s Photon CDN. Photon is needed – how do I force the correct size, or disable Photon resizing the featured image placeholder?
Also, as a thank you for the jab, you were wrong. Photon resized a 1074px width image down to the same incorrect 700×454 – it didn’t crop it either.
I got this theme to 92/100 page speed score by using Photon, more like 82/100 without it. Really need your help. I figure there must be a bit of CSS that will force the correct size for the slide to show correctly with Photon on. Or perhaps it’s time to put a fix into Newspaper for this compatibility issue.
Already rebuilt the thumbnails, so that’s cool. Not all look good anymore with this theme, so still having to redo them.
I just wanted to add a feature image that is a reasonable size, like 326 x 235 as that will keep my website fast, but then it does not fit into all the places and looks bad most of the time, but if I upload 700 x 357 its a big file as I have over 300 posts on my site and by the time I add all those images that’s getting too big.
I know Google is going to complain about page speed and that affects my ranking, so I am trying to balance it all up.
If the large 700 x 357 placeholder did not keep showing up under category page at the top, then I would not use that large size anywhere, if you tell me how to remove that top post which just seemed to be pulled from the first post, then that should make things all work out.
I am happy to do css, htaccess and php as long as you are clear where I am making alterations, prefer custom css if possible, but not sure you have that with this theme.
Happy to sue a child theme, in fact after custom css, it would be my next best choice.
Hi – the top ad (728×90) actually gets formatted to (724×90) unless you choose the header option to have the top ad on its own line – then it is 728px.
I tried different browsers and reducing the 300x100px logo to see it that freed up some pixels, but I think it is maybe too much padding in between the logo and top ad? – but I can’t seem to find out where to make this change.
Also wondering if this would effect adsense code or not – I am still building out my site so I do not have that code installed – just using an image now for placeholder.