- NewspaperSingle Post Shortcodes
- NewspaperThe Mobile Theme
- NewspaperSmart Lists
Hi,
We are facing a peculiar problem in smartlist.
https://www.gadgetbridge.com/gadget-bridge-ace/10-pubg-mobile-settings-you-need-to-change-to-beat-other-players/
The whole page on desktop look warped. The side bar is showing at the bottom and the related posts have exploded. Some CSS problem, how can we solve this?
Thanks
Hello,
i have two questions regarding the smart list in the mobile theme:
1) Can i change the style of the smartlist in the mobile theme? Actually i’d like to have the same style as i use in the desktop version (style 2).
2) Right now in the mobile smartlist the picture is not centered, actually it’s displayed a little bit too big and you can scroll to the right. Can i change that? (https://www.hello-planet.at/die-schoensten-berge-der-welt/)
All the best and thanks,
Daniel
Short update to 1. Just found out that this issue is only when it is a smartlist – maybe this will help to find the solution
I use smartlis 4 and I add images in a normal way, but when “transformed” in smartlist the images do not load the attributes alt ..
I tried it. I changed Smartlist 3 (cause I still need 1).
Line 1 now appears as header and overlaps the line below: http://prntscr.com/mgx2ce
I changed code like this:
//creating each slide
$buffy .= ‘<div class=”td-item” id=”‘ . $this->smart_list_tip_3_unique_id . ‘_item_’ . $current_item_id . ‘”>’;
$buffy .= ‘<div class=”td-number-and-title”><h2><span class=”td-sml-current-item-nr”>’ . $smart_list_3_title . ‘</span></h2></div>’;
regards
thanks! I will use another smartlist!
greetings
Hi! Thanks for your information. The problem is: sometimes I need numbers as in rankings. Can’t you add another smartlist numbering without numbers? So that we can choose between ascending, descending and without numbers?
regards
Hi,
The Smartlists from tagdiv Cloud Library are made to offer you some more control for the Smartlists that you already have in post ( you need to have the structure for smartlist ), this template will not make your post as an smartlist, only will change the look/layout of the smart list and provide you some more controls over it, sorry.
Thank you for your understanding.
Hi,
i created a custom template based on style 4.
now i would like to add a smartlist. sadly, this does not work like it works with the templates. (simply by selecting a smartlist + style and settings.
Am i correct that i would have to create a new template that has a smartlist block?
is it maybe possible to turn page content into a smartlist using shortcodes?
Hi! I would like to create a post with more than one smartlist (like a slider, gallery, carousel,…) at one page. Any ideas?
Greetings, franziska
I’ve tried repeatedly with Smartlist template 3 to write a post with various pictures. However, I cannot get the vertical images centered in the smartlist scrolling view, nor can I edit the size of the photo when selecting it in post editing mode and clicking ‘medium’ in the block image settings. It remains its original size (after publishing in medium/small).
Anyone else having issues? Any work-arounds?
Hello.
I want to add a new smartlist post. But its not working. Actually its working a few day ago. But now I can not click smartlist section at the post settings menu. When i click on it, its jump up to me top of the page. By the way ı am sorry for my terrible english.
my website : estetikev.net
Hi,
thank you for your answer. I hope you add this for a future Update. I love your Smartlists and I love your Theme. Best Theme for WP!
Hello, the Smartlists work differently in the cloud templates than in the standard template. I use the swipe smartlists 1 and it always works like a slider. In the created cloud template the page is completely reloaded when i click “next”. Is it a bug or a feature?
Hello,
I would like to have a Smartlist format that loads each list item on scroll ( changing url ). Similar to this: https://www.lecturas.com/actualidad/irene-villa-desvela-motivos-su-separacion-necesitabamos-respiro_60328/
If you look on mobile, when you scroll through the items it changes the URL on each item, showing each item/content with its own banner.
This way when user scrolls down it loads new page for each list item without the users noticing it ( it counts as pageview I think ).
How can I do that with the Newspaper theme? is it possible?
Thanks.
Hello,
I am using smartlist1 and 2 for my site, I tried to find a way to place adsense code to display immediately after smartlist end but I dont find that option, can you guide ?
Here’s my post https://trendyseekers.com/best-goddess-braids-styles-black-hair/
@Calin, thanks for the reply and abit late as I was offline, here’s the link without any smartlist use https://trendyseekers.com/best-natural-hairstyles-for-black-women/
Thanks am clear with Custom Ad.
The Post template – does it mean these ad options are specific to the post template that I choose in post settings?
Smartlist – Am sorry, but I am unable to understand the concept of smartlist itself. Do you have any documentation or thread where I can gain more information.
Hi, how can I insert the adsense banner into smartlist 4?
thank you
Hi Simion,
Than’s for the reply.
1- Solution 1 with cloud library messed up all the formatting of my article ( i used smart list template 4) + the 2 ads disappeared. So I’m considering the solution 2
2- Deactivating the AMP plugin (I will redirect the ancient AMP pages with an Htaccess for google seo) , and NOT using the Mobile Theme. Does that configuration force the back/next buton to appear on both Desktop and Mobile and tablette? (using the smartlist number6)
3- How can I remove the sign “>” and “<” from the back/next button? … to show only “Next” or “Back” without the signs?
4- last question: Is there a way to remove the “back button” completely?
Sure we can hide it with css color White on White, but can we remove it all togheter?
Your code for changing the button on pages 3, 4, 5 .. is working great. Thank’s!
Hello, i want to change smartlist style in Mobile Theme, can i change it? How?
Btw, i want to change it to smartlist style 2.
And how to change category “top grid – displays 3 posts” in Mobile Theme?
Thanks
3- One more question: In a smartlist of 10 items for example, Is there a way to customize the button on slide 1, different from slide 2, different from slide 3?
Hi,
First, Congrats for this awsome Newspaper theme.
Fantastic!
This support forum was also very helpful for tweaking it.
here’s my problem:
1- I can’t figure out how to add a block 3colons*3lines for my best articles after an article “smartlist6”.
see image

Please can you help?
2- Does Next/Back button appear the same in mobile devices?
I noticed the amp version of my article doesn’t work: ie it doesn’t show the back/next button
Should I de-activate the Amp Newspaper plugin to make it work on mobiles?
What is the cost of de-activating the Amp plugin? (speed? seo? )
For info : here is my modified smartlist6 file
—-
<?php
class td_smart_list_6 extends td_smart_list {
protected $use_pagination = true; // set this to true to use rela pagination on this template
protected function render_before_list_wrap() {
if(td_global::$cur_single_template_sidebar_pos == ‘no_sidebar’) {
$td_class_nr_of_columns = ‘ td-3-columns ‘;
} else {
$td_class_nr_of_columns = ‘ td-2-columns ‘;
}
$buffy = ”;
//wrapper with id for smart list wrapper type 2
$buffy .= ‘<div class=”td_smart_list_6’ . $td_class_nr_of_columns . ‘”>’;
return $buffy;
}
protected function render_list_item($item_array, $current_item_id, $current_item_number, $total_items_number) {
//print_r($item_array);
$buffy = ”;
//creating each slide
$buffy .= ‘<div class=”td-item”>’;
$buffy .= ‘<div class=”td-number-and-title”><h2><span class=”td-sml-current-item-nr”>’ . $current_item_number. ‘</span><span class=”td-sml-current-item-title”>’ . $item_array[‘title’] . ‘</span></h2></div>’;
// 2nd ad smart list 6 Modif LJMI 1/12/2018
$buffy .= do_shortcode(‘[td_block_ad_box spot_id="custom_ad_1"]‘);
//get image info
$first_img_all_info = td_util::attachment_get_full_info($item_array[‘first_img_id’]);
//get image link target
$first_img_link_target = $item_array[‘first_img_link_target’];
//image caption
$first_img_caption = $item_array[‘first_img_caption’];
//image type and width – used to retrieve retina image
$image_type = ‘td_696x0’;
$image_width = ‘696’;
if(td_global::$cur_single_template_sidebar_pos == ‘no_sidebar’) {
$first_img_info = wp_get_attachment_image_src($item_array[‘first_img_id’], ‘td_1068x0’);
//change image type and width – used to retrieve retina image
$image_type = ‘td_1068x0’;
$image_width = ‘1068’;
} else {
$first_img_info = wp_get_attachment_image_src($item_array[‘first_img_id’], ‘td_696x0’);
}
if (!empty($first_img_info[0])) {
//retina image
$srcset_sizes = td_util::get_srcset_sizes($item_array[‘first_img_id’], $image_type, $image_width, $first_img_info[0]);
// class used by magnific popup
$smart_list_lightbox = ” td-lightbox-enabled”;
// if a custom link is set use it
if (!empty($item_array[‘first_img_link’]) && $first_img_all_info[‘src’] != $item_array[‘first_img_link’]) {
$first_img_all_info[‘src’] = $item_array[‘first_img_link’];
// remove the magnific popup class for custom links
$smart_list_lightbox = “”;
}
$buffy .= ‘
<figure class=”td-slide-smart-list-figure td-slide-smart-list-6’ . $smart_list_lightbox . ‘”>
</figure>
<figcaption class=”td-sml-caption”><div>’ . $first_img_caption . ‘</div></figcaption>
‘;
}
$tds_smart_list_6_title = td_util::get_option(‘tds_smart_list_6_title’);
//adding description
if(!empty($item_array[‘description’])) {
$buffy .= ‘<span class=”td-sml-description”>’ . $item_array[‘description’] . ‘</span>’;
}
// ad smart list 6 Modif LJMI30/11/2018 inversed text and Image
$buffy .= td_global_blocks::get_instance(‘td_block_ad_box’)->render(array(‘spot_id’ => ‘smart_list_6’, ‘spot_title’ => $tds_smart_list_6_title));
$buffy .= ‘</div>’;
// render the pagination
$buffy .= $this->callback_render_pagination();
//$buffy .= $this->callback_render_drop_down_pagination();
return $buffy;
}
protected function render_after_list_wrap() {
$buffy = ”;
$buffy .= ‘</div>’; // /.td_smart_list_6 wrapper with id
return $buffy;
}
}
——-
Hi,
You could use a smart list style that doesn’t refresh the page, like these ones
– https://demo.tagdiv.com/newspaper/smart-list-style-1/
– https://demo.tagdiv.com/newspaper/smart-list-style-3/
If that is not possible, maybe the first paragraphs displayed above the smart list can be removed with CSS starting from the second slide.
Something like this could work, may need modifications however
– https://forum.tagdiv.com/topic/count-on-smartlist-2-how-to-skip-the-1st-number/
Thanks
Hi Calin, can u help me one more thing, instead of using the light grey color only on smartlist, how about to have it on a normal blog post? What CSS to use?
Here’s what is shown on my site http://prntscr.com/lot1ai
It only has pure image and i want to have grey background image under it