- NewspapertagDiv AMP Plugin Tutorial
- ApiPractical example – How to add a new Block and Module
- NewspaperTrack Subscription Sources with Locker URL in Opt-In Builder
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- NewspaperCredit System
- NewspaperIntroduction to CPT and ACF with Newspaper Theme
- NewspaperHow to edit modules for Flex Block X
- NewspaperHow to use the Posts List shortcode
- NewspaperUser review system
- NewspaperCustom Fields Support
- NewspaperHow to generate Facebook App ID
- NewspaperHow to insert a block inside the content of a post
- NewspaperModal Popup
- NewspaperPayPal Setup
- NewspaperLink Tracker
- NewspaperLockers
- NewspaperGeneral Options that May Interfere with the Newspaper Theme
- NewspaperAdd Cryptocurrency Price Ticker Widget
- NewspaperPosts Loop Element
- NewspaperThe Newspaper Mobile Theme: Introduction
And what a difference a couple of days away makes…
Module 5 is apparently used by a lot of the blocks as any showing the medium sized thumbnail on the home page now show no featured image – affecting far more than the status posts originally intended for this behavior.
Additionally, the changes to the excerpts from words to characters, though set at 250, shortens every slider title to about 10 characters. Those titles aren’t long enough or wide enough to fill the space they have on a default setup.
Now, how do I get the desired effect with screwing over the entire home page and without directly editing block 8 forcing me to replicate the changes with each new version released? I see child themes cannot replace blocks, correct?
I could do this another way but I need to know what modules blocks 1 and 2 use. I currently blocks 1, 2 and 8 on my home page. Check my development site where I’m working on this if you need to; http://wp.me/P4vfUC-2so.
I wanted to add widgetized custom sidebars that can be used on different pages. Example being my bbpress forum. I would like to have a custom sidebar that allows me to replace the std sidebar with all bbpress widgets.
Oh, and you can check the site out at http://mobile-cuisine.com
Hello, Radu.
I thought it would install 100% like u have in your demo. Please send me a version that includes the FULL demo.
Hi,
Is possible, if you want to add a simple AD you can paste the code directly in file or if you want to use the AD system(responsive) you can use this code:
echo td_global_blocks::get_instance('td_ad_box')->render(array('spot_id' => 'custom_ad_1'));
This will use the Custom Ad 1.
For the category add the code here: http://screencast.com/t/Z1ckWyQhDTp6 and set the size of the Custom AD 1 like you want instead of default sizes: http://screencast.com/t/WgRDEwZe
—————————————————
For tag pages put the code here: http://screencast.com/t/Mfglm5kp
—————————————————
About the slider on TAGs page is a little complicated, here is the slider for the category if you want to take a look on the code and play with it.
Thanks for the message!
hi,
we have an xml that you could import but we found customers that could not import the file.
if you want it send an email to contact@tagdiv.com and we gonna email you the file.
please post the link to this thread in the email also, and specify that the email is for Radu A.
Thanks for you message.
Radu A.
hello everyone,
i would like to put ads on the top of the tags and category pages. Is it possible ?
Like here; http://yadi.sk/d/ioKPLSudM9Ygr
Also, i would like to add slider on tags pages. Slider is can be set in theme panel for category pages but i dont see any settings about slider in tags pages. is it possible ?
thanks.
This is a great source for content you can use for your blog, provided you retain the “attribution” and copyright for each story.
http://freenewsarticles.com/
Hello, guys.
Thanks for addressing this issue. However, it seems like both solutions offered in this thread will change the margins on the entire column, making the typed content and the images more narrow. I was hoping to get the typed content more narrow but to leave the images wider like the example I linked to above.
Does that clarify what i’m looking for? I wonder if it can be done. Let me know when you get a chance. And thanks again.
-
This reply was modified 12 years by
mikeaft.
Hello,
I would like to know if you have a chart of something that provides ideal ad sizes for each ad section:
I know the header ad is 728×90, but what are the ideal sizes for all the other ad areas. I can’t find examples of each one in the live demo.
Thanks.
Philip
Hello,
I was wondering if you have the sample content (from your live example online) to download.
I already have my blog formatted the way I like it and I already added the sample content you provided when I purchased the theme, but I noticed some new articles (different from the content provided with the theme) and other content in the Newspaper live demo that would be nice to add to my blog until I have it populated with my own content.
Thanks.
Philip
hi,
in : http://screencast.com/t/PeGVUjNb
change :
/**
* More stories box
*/
if(tds_more_articles_on_post_enable == "show") {
//adding event to scroll
jQuery(window).scroll(function(){
var cookie_more_box = td_read_site_cookie('td-cookie-more-articles');
//alert(cookie_more_box);
//setting distance from the top
if(!isNaN(parseInt(tds_more_articles_on_post_pages_distance_from_top)) && isFinite(tds_more_articles_on_post_pages_distance_from_top) && parseInt(tds_more_articles_on_post_pages_distance_from_top) > 0){
var set_distance = parseInt(tds_more_articles_on_post_pages_distance_from_top);
} else {
var set_distance = 400;
}
if (jQuery(this).scrollTop() > set_distance && cookie_more_box != 'hide-more-articles-box') {
jQuery('.td-more-articles-box').addClass('td-front-end-display-block');
} else {
jQuery('.td-more-articles-box').removeClass('td-front-end-display-block');
}
});
//adding event to hide the box
jQuery('.td-close-more-articles-box').click(function(){
//hiding the box
jQuery('.td-more-articles-box').removeClass('td-front-end-display-block');
jQuery('.td-more-articles-box').hide();
//cookie life
if(!isNaN(parseInt(tds_more_articles_on_post_time_to_wait)) && isFinite(tds_more_articles_on_post_time_to_wait)){
//setting cookie
td_create_cookie('td-cookie-more-articles', 'hide-more-articles-box', parseInt(tds_more_articles_on_post_time_to_wait));
}
});
}
with this:
/**
* More stories box
*/
if(tds_more_articles_on_post_enable == "show") {
//adding event to scroll
jQuery(window).scroll(function(){
var cookie_more_box = td_read_site_cookie('td-cookie-more-articles');
//alert(cookie_more_box);
//setting distance from the top
if(!isNaN(parseInt(tds_more_articles_on_post_pages_distance_from_top)) && isFinite(tds_more_articles_on_post_pages_distance_from_top) && parseInt(tds_more_articles_on_post_pages_distance_from_top) > 0){
var set_distance = parseInt(tds_more_articles_on_post_pages_distance_from_top);
} else {
var set_distance = 400;
}
var scrollPosition = window.pageYOffset;
var windowSize = window.innerHeight;
var bodyHeight = document.body.offsetHeight;
var set_distance_from_the_bottom = Math.max(bodyHeight - (scrollPosition + windowSize), 0);
var set_distance_to_stop = 400;
if (jQuery(this).scrollTop() > set_distance && cookie_more_box != 'hide-more-articles-box') {
if (set_distance_from_the_bottom < set_distance_to_stop && cookie_more_box != 'hide-more-articles-box') {
jQuery('.td-more-articles-box').removeClass('td-front-end-display-block');
} else {
jQuery('.td-more-articles-box').addClass('td-front-end-display-block');
}
} else {
jQuery('.td-more-articles-box').removeClass('td-front-end-display-block');
}
});
//adding event to hide the box
jQuery('.td-close-more-articles-box').click(function(){
//hiding the box
jQuery('.td-more-articles-box').removeClass('td-front-end-display-block');
jQuery('.td-more-articles-box').hide();
//cookie life
if(!isNaN(parseInt(tds_more_articles_on_post_time_to_wait)) && isFinite(tds_more_articles_on_post_time_to_wait)){
//setting cookie
td_create_cookie('td-cookie-more-articles', 'hide-more-articles-box', parseInt(tds_more_articles_on_post_time_to_wait));
}
});
}
http://screencast.com/t/zBEmdCdU4
Thanks for you message.
Radu A.
Hi,
I just updated to v3.6 and am now experiencing formatting issues across my website.
Please see here: http://www.screencast.com/t/YOA3x1WqaPd
http://www.screencast.com/t/PaFvqx97z6zO
1. My social icons in the widget is no longer showing up
2. Change the format of the breadcrumbs to show navigation,
example: Home > News > Post Title
3. Reduce the spacing between the breadcrumbs and the post title, it is too big.
4. Widen the spacing between the post tags and featured post image
5. Widen the spacing between the featured post image and the first line of post content
6. The color of the date and the comment options are too light to read, need to make them darker.
I know you guys have been very busy doing great work and I really appreciate it. Many thanks.
Best,
Nick
Hello!
Thanks for the nice theme!
Still, I’ve got a problem with comments. It sometimes won’t display at all!
For example, on this post, there are 13 comments:
http://xxy.fr/video-le-chevalier-deon-tome-1-par-agnes-maupre/
It won’t display. On other posts, it works and sometimes not.
Do you know where this comes from?
Regards,
Julien
That works perfectly. Added the custom module 5 to the child theme and removed the date, author, comments/views lines as well and it looks great. Thanks.
Again… desperately need upsample function for theme.
OR EXAMPLE CODE:
/* Thumbnail upscale
/* ------------------------------------ */
function alx_thumbnail_upscale( $default, $orig_w, $orig_h, $new_w, $new_h, $crop ){
if ( !$crop ) return null; // let the wordpress default function handle this
$aspect_ratio = $orig_w / $orig_h;
$size_ratio = max($new_w / $orig_w, $new_h / $orig_h);
$crop_w = round($new_w / $size_ratio);
$crop_h = round($new_h / $size_ratio);
$s_x = floor( ($orig_w - $crop_w) / 2 );
$s_y = floor( ($orig_h - $crop_h) / 2 );
return array( 0, 0, (int) $s_x, (int) $s_y, (int) $new_w, (int) $new_h, (int) $crop_w, (int) $crop_h );
}
add_filter( 'image_resize_dimensions', 'alx_thumbnail_upscale', 10, 6 );
ref
http://alxmedia.se/code/2013/10/thumbnail-upscale-correct-crop-in-wordpress/
http://codex.wordpress.org/Plugin_API/Filter_Reference/image_resize_dimensions
***OR***
perhaps use scriplet calling ImageMagick to upscale, since WP now can access ImageMagick vs GD libs if available ?
Hi, Marius
Yikes … is this something I can pay you to add as a feature or extension, or custom plugin for Newspaper? We’ve moved from Woo Canvas, which still supports this function, since “featured” images are often larger than the image in post, particularly legacy content. For instance on some of our news sites we have 400×300 images for many stories, and these can scale up fairly well, as seen here:
http://californianewswire.com/
Basically we need the facility on some sites like CNW (above) to be able to enlarge the images to fit the featured slider, and on the category pages. Not horribly complex, just need the function, perhaps as a checkbox “add scaled images” which would turn on the two thumbs for category and home page slider.
E.g.
here, the main image should scale up to fit slider area
http://ga-ga.com/
and here image should scape up/crop to fit the feature box
http://ga-ga.com/gogaga/lifestyle/
This is worth US$100 to me to make it happen, btw. Or, happy to buy (3) more licenses via ThemeForest ๐
Since everybody seems afraid to use timThumb anymore even with the security fixes, perhaps the vt_resize.php might be considered?
Original:
http://academe.co.uk/2013/08/resizing-of-images-in-wordpress-from-within-a-template/
Fixes for latest WP:
http://www.pirenko.com/blog/2013/01/22/vt_resize-php-image_resize-deprecated/
Since almost every theme developer is now abandoning any kind of image support except what is built into WP, this is problematical for many news sites which have legacy images from many years, not being able to be used to fit the new layout of Newspaper and other themes.
This would mean to have featured home page images, every image would need to be uploaded at the largest possible size used by theme, perhaps 745×483 – which isn’t clear in docs and also is different from what we were doing with v2, where the images were going up as 700×406. So, this mean EVERY image MUST be “GIANT” and then down-sampled for all other sizes. However this isn’t always possible.
This is why plugins like TimThumb and others over the year have been essential for creating complex image layouts where minor enlarge/crop is needed to “fit.”
So, money in hand. This would be another HUGE selling point for your theme, as it’s a VERY critical issue for MOST news sites, and we need it for our legacy news portals.
PLEASE CONSIDER – either as a custom add-on solution, or as a core feature option. I need this ASAP, hence willing to pay for development. This is the *only* thing we’re missing for our sites, right now.
Thanks ๐
Hi,
You can modify that block if you want, Block 8 use Module 5 to be built.
Edit module 5 like here: http://screencast.com/t/iqjZeyjB and increase the excerpt to 250 from Theme panel -> Excerpt on Module 5
Thanks for the message!
Hi,
When you add a text with tile in page builder(visual compose you can switch to classic editor and copy the shortcode. You can use that shortcode in a WP text widget, here are an example: [td_text_with_title custom_title="Test block" header_color="#237f33"]
Use that shortcode.
Thanks for the message!
Hi,
You can make this by customizing the code a little, like:
Adding a condition for each category like here: http://screencast.com/t/C3W68v7p1d1
if (is_category(1)) {
echo td_global_blocks::get_instance('td_ad_box')->render(array('spot_id' => 'custom_ad_1'));
}
This example: if category ID 1 will show the custom Ad 1 AD.
To add more custom ADs replace this files: http://www.tagdiv.com/theme/users/9-custom-ad.zip
Hope this help!
Hello,
I am having a very strange error on my website. Sometimes when I click on a Category or a Post link this text is appearing:
“This XML file does not appear to have any style information associated with it. The document tree is shown bellow….”.
That only happens when using a Chrome browser, but when I click refresh the page is loading then correctly. For me is not a problem, but this is very bad for viewers and makes them leave from the page.
The problem is happening to me for example once, I refresh and then is everythink ok and after 3 hours it is happening again (I can’t understand why).
Here are the screenshots of some error examples from a category and a page.
I thought that it was a “yoast” problem and changed to “All in one SEO” but the same is still happeing. Then I deleted “Jetpack” and problem continued.
Could that be a hosting problem or is it something else?
P.S: This error page is happening more often when I open a link in a different tab or if I click another link before the whole page has been loaded.
Sorry if I tired you
Hi there,
I have a problem with my web page speed. I have wallpapers website it contains thousands of images but on home page it not contain thousands of images but my webpage speed is seriously low check this
Kindly help me to optimize my website i’m loosing serious traffic. Kindly tell me how to optimize my wallpapers website I will be very thankful to you and also tell me i want to show links ads under home menu so tell me how can I do this??
Regards,
Saad
Hi Chris,
Thanks for your comment. Yes, I’m aware of the on/off possibility and of course users can close the box if they want, I would just think it’s not an unreasonable request to have it not obscure the footer.
The social share floating element I’m using (WPMU) for example (the development site is at martinmuir.com/blueventures/) has this option – you can set the height it stops at so it doesn’t cover footer content. Just seems to make sense to me ๐
Anyway, like I say thanks for the comment – I’ve learned a lot from your replies on other threads and appreciate more than just the devs working to make the forums better ๐
Cheers,
Martin
The “featured” frame for a video is set by the video author when uploading or transcoding a video, or YouTube auto-selects a non blank frame. Meaning, somebody can choose to show a frame with a product image vs somebody’s smiling face doing an intro or vice versa. You don’t get to pick the ‘poster frame’ for a video to show on your site.
Selected the thumbnail – there is no way you can choose that from any plugin or theme.
You would need to have uploaded the video and set the desired thumbnail. “Usually” it will be whatever image is seen on the video, when static on the page on your site when you do the embed, sometimes not.
TIP: you can usually see what the poster frame for a video on YouTube is by looking at the images in the sidebar on YouTube, or the static channel images for the video owner/uploader. THAT static image will normally be what a “grab” function will choose on any WordPress site.
If there is an auto-magical way to grab a selected frame from a video, like “scrub 10 seconds and grab screen cap” … I’m not aware of it, but it may be possible (likely crash your hosting account too).
Hope that helps. We run into this often when we do news articles about topics and include a video. The solution *we* came up with is to do a screen grab FROM the video, and the put that image on the page as a featured image.
Example: for this post, about holiday music, we wanted to grab image from video, but the poster frame is awful, so I used a screen cap app (SNAGIT), and grabbed an image from the video to make a featured image – MEANING, watched video on computer, did screen cap of image, then saved in Photoshop, uploaded to post:
http://ga-ga.com/644/july-4th-music-surprising-secrets-of-patriotic-songs/
(NOTE: this website still “technically” is under construction…. )
๐
Hi:
I just realized that featured images are not pulled out from some Youtube videos.
For example, I set this video url http://www.youtube.com/watch?v=neRIuYUdkEA as featured video (post format is set to Video, of course) but the featured image is not extracted.
Then I changed the featured video url to ex. http://www.youtube.com/watch?v=IcrbM1l_BoI for testing another video and the featured image is shown when the post is published.
I checked on Youtube that the video has the embed code enabled. Even videos from Vevo work as featured image.
Note: video does appear on the published post no matter if the featured image is grabbed or not.
Question: Is there a way to find out from which videos featured images can be grabbed? or a way to have the featured image previewed before hitting Save or Update post?